Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bims
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙海亮
bims
Commits
9fa9ef7c
Commit
9fa9ef7c
authored
Mar 03, 2022
by
yanglilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
84bcda83
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
55 additions
and
4 deletions
+55
-4
index.html
public/index.html
+1
-1
icon.vue
src/components/Icon/icon.vue
+1
-0
menu.js
src/router/modules/menu.js
+2
-1
menuItem.js
src/views/layout/components/menu/components/menuItem.js
+6
-1
index.vue
src/views/layout/index.vue
+11
-0
index.vue
src/views/pre-auth/index.vue
+34
-1
No files found.
public/index.html
View file @
9fa9ef7c
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<title><
%=
webpackConfig
.
name
%
></title>
<title><
%=
webpackConfig
.
name
%
></title>
<script
<script
type=
"text/javascript"
type=
"text/javascript"
src=
"//at.alicdn.com/t/font_3020450_
zp10lll5k4g
.js"
src=
"//at.alicdn.com/t/font_3020450_
llubsxk8eyf
.js"
></script>
></script>
</head>
</head>
<body>
<body>
...
...
src/components/Icon/icon.vue
View file @
9fa9ef7c
...
@@ -49,5 +49,6 @@ export default {
...
@@ -49,5 +49,6 @@ export default {
vertical-align: -0.15em;
vertical-align: -0.15em;
fill: currentColor;
fill: currentColor;
overflow: hidden;
overflow: hidden;
color: red;
}
}
</
style
>
</
style
>
src/router/modules/menu.js
View file @
9fa9ef7c
...
@@ -2,7 +2,8 @@ export default [
...
@@ -2,7 +2,8 @@ export default [
{
{
icon
:
"
ssihome
"
,
icon
:
"
ssihome
"
,
path
:
"
/home
"
,
path
:
"
/home
"
,
title
:
"
主页面
"
title
:
"
主页面
"
,
children
:
[],
},
},
{
{
icon
:
"
ssiuser
"
,
icon
:
"
ssiuser
"
,
...
...
src/views/layout/components/menu/components/menuItem.js
View file @
9fa9ef7c
function
SubMenu
(
h
,
menu
,
selectMenu
)
{
function
SubMenu
(
h
,
menu
,
selectMenu
)
{
let
icon
;
let
icon
,
icon_arrow
;
if
(
menu
.
icon
)
{
if
(
menu
.
icon
)
{
// 菜单激活的时候图标要变颜色 图标名称要处理好 应该是在默认的基础上加个'_active'
// 菜单激活的时候图标要变颜色 图标名称要处理好 应该是在默认的基础上加个'_active'
const
iconName
=
const
iconName
=
selectMenu
.
indexOf
(
menu
.
path
)
<
0
?
menu
.
icon
:
menu
.
icon
+
"
_active
"
;
selectMenu
.
indexOf
(
menu
.
path
)
<
0
?
menu
.
icon
:
menu
.
icon
+
"
_active
"
;
icon
=
<
Icon
name
=
{
iconName
}
size
=
{
18
}
/>
;
icon
=
<
Icon
name
=
{
iconName
}
size
=
{
18
}
/>
;
}
}
if
(
menu
.
children
&&
menu
.
children
.
length
>
0
){
icon_arrow
=
<
Icon
class
=
"
arrow
"
name
=
{
selectMenu
.
indexOf
(
menu
.
path
)
<
0
?
'
ssixiangyou
'
:
'
ssixiangyou_active
'
}
size
=
{
14
}
/>
;
}
console
.
log
(
menu
,
icon_arrow
,
111
)
return
(
return
(
<
a
-
sub
-
menu
key
=
{
menu
.
path
}
>
<
a
-
sub
-
menu
key
=
{
menu
.
path
}
>
<
span
slot
=
"
title
"
class
=
"
submenu-title-wrapper
"
>
<
span
slot
=
"
title
"
class
=
"
submenu-title-wrapper
"
>
{
icon
}
{
icon
}
{
menu
.
title
}
{
menu
.
title
}
{
icon_arrow
}
<
/span
>
<
/span
>
{
menu
.
children
.
map
((
item
)
=>
{
{
menu
.
children
.
map
((
item
)
=>
{
return
createMenu
.
call
(
this
,
h
,
item
);
return
createMenu
.
call
(
this
,
h
,
item
);
...
...
src/views/layout/index.vue
View file @
9fa9ef7c
...
@@ -35,6 +35,14 @@ export default {
...
@@ -35,6 +35,14 @@ export default {
};
};
</
script
>
</
script
>
<
style
>
.icon-class.arrow
{
position
:
absolute
;
right
:
0
;
top
:
50%
;
transform
:
translateY
(
-50%
);
}
</
style
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.menu-layout {
.menu-layout {
background-color: #f8fafb;
background-color: #f8fafb;
...
@@ -59,6 +67,9 @@ export default {
...
@@ -59,6 +67,9 @@ export default {
height: calc(100vh - 68px);
height: calc(100vh - 68px);
overflow: auto;
overflow: auto;
background-color: #fff;
background-color: #fff;
li{
position: relative;
}
}
}
}
}
</
style
>
</
style
>
src/views/pre-auth/index.vue
View file @
9fa9ef7c
...
@@ -46,6 +46,9 @@
...
@@ -46,6 +46,9 @@
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"handlerSearch"
>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"handlerSearch"
>
<Icon
name=
"ssisearch_active"
:size=
"14"
/>
查询
<Icon
name=
"ssisearch_active"
:size=
"14"
/>
查询
</a-button>
</a-button>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"reset"
>
<Icon
name=
"ssireset"
:size=
"14"
/>
重置
</a-button>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"addPreAuth"
>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"addPreAuth"
>
<Icon
name=
"ssiadd"
:size=
"14"
/>
新建预授权
</a-button>
<Icon
name=
"ssiadd"
:size=
"14"
/>
新建预授权
</a-button>
</a-form-model-item>
</a-form-model-item>
...
@@ -59,6 +62,9 @@
...
@@ -59,6 +62,9 @@
<
template
slot=
"authProject"
slot-scope=
"text"
>
<
template
slot=
"authProject"
slot-scope=
"text"
>
{{
formatProject
(
text
)
}}
{{
formatProject
(
text
)
}}
</
template
>
</
template
>
<
template
slot=
"rejectReason"
slot-scope=
"text"
>
{{
formatReason
(
text
)
}}
</
template
>
<
template
slot=
"authorizeItemVoList"
slot-scope=
"text, record"
>
<
template
slot=
"authorizeItemVoList"
slot-scope=
"text, record"
>
<a-button
type=
"link"
@
click.stop=
"seeEvt(record)"
>
查看
</a-button>
<a-button
type=
"link"
@
click.stop=
"seeEvt(record)"
>
查看
</a-button>
</
template
>
</
template
>
...
@@ -92,7 +98,7 @@ export default{
...
@@ -92,7 +98,7 @@ export default{
{
title
:
"
申请状态
"
,
dataIndex
:
"
authorStatus
"
,
width
:
100
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
"
authorStatus
"
}
},
{
title
:
"
申请状态
"
,
dataIndex
:
"
authorStatus
"
,
width
:
100
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
"
authorStatus
"
}
},
{
title
:
"
申请日期
"
,
dataIndex
:
"
createDate
"
,
width
:
130
,
align
:
'
center
'
},
{
title
:
"
申请日期
"
,
dataIndex
:
"
createDate
"
,
width
:
130
,
align
:
'
center
'
},
{
title
:
"
批准金额
"
,
dataIndex
:
"
approvalAmount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
批准金额
"
,
dataIndex
:
"
approvalAmount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
不予批准原因
"
,
dataIndex
:
"
rejectReason
"
,
width
:
120
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
"
authorStatus
"
}
},
{
title
:
"
不予批准原因
"
,
dataIndex
:
"
rejectReason
"
,
width
:
120
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
"
rejectReason
"
}
},
{
title
:
"
预授权使用情况
"
,
dataIndex
:
"
authorizeItemVoList
"
,
width
:
130
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
"
authorizeItemVoList
"
}
},
{
title
:
"
预授权使用情况
"
,
dataIndex
:
"
authorizeItemVoList
"
,
width
:
130
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
"
authorizeItemVoList
"
}
},
// { title: "备注", dataIndex: "remark", width: 100, align: 'center' },
// { title: "备注", dataIndex: "remark", width: 100, align: 'center' },
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
200px
"
,
align
:
'
center
'
},
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
200px
"
,
align
:
'
center
'
},
...
@@ -110,6 +116,7 @@ export default{
...
@@ -110,6 +116,7 @@ export default{
},
},
companyOptions
:
[],
//保险公司
companyOptions
:
[],
//保险公司
ProjectList
:
[],
//预授权项目
ProjectList
:
[],
//预授权项目
rejectReason
:
[],
//拒绝原因
dataList
:
[],
dataList
:
[],
pagination
:
{
pagination
:
{
pageNum
:
1
,
pageNum
:
1
,
...
@@ -138,6 +145,25 @@ export default{
...
@@ -138,6 +145,25 @@ export default{
});
});
return
item
?
item
.
descCh
:
""
;
return
item
?
item
.
descCh
:
""
;
},
},
formatReason
(
val
){
if
(
!
val
)
{
return
;
}
const
item
=
this
.
rejectReason
.
find
((
item
)
=>
{
return
item
.
refcd
==
val
;
});
return
item
?
item
.
descCh
:
""
;
},
reset
(){
this
.
form
=
{
dateRange
:
[],
payorCode
:
''
,
authProject
:
''
,
authorStatus
:
''
,
mrnNo
:
''
,
patientName
:
''
,
};
},
//新建预授权
//新建预授权
addPreAuth
(){
addPreAuth
(){
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -156,6 +182,13 @@ export default{
...
@@ -156,6 +182,13 @@ export default{
},
},
// 获取码表
// 获取码表
getRefcdByRefgrp
()
{
getRefcdByRefgrp
()
{
//拒绝原因
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
refgrp
:
"
REJECT_REASON
"
}).
then
((
res
)
=>
{
this
.
rejectReason
=
res
.
content
||
[];
});
//预授权项目
//预授权项目
this
.
$apis
.
GETREFCDBYREFGRP
({
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
modid
:
"
CI
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment