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
6482cf39
Commit
6482cf39
authored
Feb 22, 2022
by
yanglilong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'yanglilong' of git.ssish.com:sunhailiang/bims into test
parents
79bea397
897dade0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
20 deletions
+35
-20
index.js
src/mixins/index.js
+10
-2
index.vue
src/views/verification/index.vue
+1
-1
index.vue
src/views/welfare/info/index.vue
+24
-17
No files found.
src/mixins/index.js
View file @
6482cf39
import
bus
from
"
../utils/bus
"
;
import
bus
from
"
../utils/bus
"
;
import
{}
from
'
@/utils/utilsdictOptions.js
'
import
{
sexOptions
}
from
'
@/utils/utilsdictOptions.js
'
// 全局混入将会影响每个单文件组件,请慎重思考是否要混入
// 全局混入将会影响每个单文件组件,请慎重思考是否要混入
export
default
{
export
default
{
...
@@ -9,6 +9,14 @@ export default {
...
@@ -9,6 +9,14 @@ export default {
};
};
},
},
filters
:
{
filters
:
{
formatSex
(
val
){
if
(
!
val
)
{
return
;
}
const
item
=
sexOptions
.
find
((
item
)
=>
{
return
item
.
value
==
val
;
});
return
item
?
item
.
name
:
""
;
},
}
}
};
};
src/views/verification/index.vue
View file @
6482cf39
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
</a-form-model>
</a-form-model>
<!-- table -->
<!-- table -->
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: true }" :pagination="false">
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: true }" :pagination="false">
<template
slot=
"eobSts"
slot-scope=
"
record,
text"
>
<template
slot=
"eobSts"
slot-scope=
"text"
>
<span>
{{
text
==
1
?
'
未回款
'
:
'
已回款
'
}}
</span>
<span>
{{
text
==
1
?
'
未回款
'
:
'
已回款
'
}}
</span>
</
template
>
</
template
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
...
...
src/views/welfare/info/index.vue
View file @
6482cf39
...
@@ -40,14 +40,7 @@
...
@@ -40,14 +40,7 @@
</a-select>
</a-select>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:xl=
"4"
:lg=
"6"
:sm=
"12"
>
<a-col
:xl=
"18"
:lg=
"12"
:sm=
"24"
class=
"none-label"
>
<a-form-model-item
label=
"是否直付"
prop=
"idType"
>
<a-select
v-model=
"form.idType"
placeholder=
"请选择保单直付区域"
show-search
allow-clear
@
filterOption=
"filterCode"
>
<a-select-option
v-for=
"item in companyCode"
:key=
"item.id"
:value=
"item.id"
:label=
"item.longName"
>
{{
item
.
longName
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:xl=
"14"
:lg=
"12"
:sm=
"24"
class=
"none-label"
>
<a-form-model-item
label=
"button"
>
<a-form-model-item
label=
"button"
>
<a-button
type=
"primary"
class=
"text-r"
@
click=
"handlerReset"
>
<a-button
type=
"primary"
class=
"text-r"
@
click=
"handlerReset"
>
<Icon
name=
"ssireset"
:size=
"14"
/>
重置
<Icon
name=
"ssireset"
:size=
"14"
/>
重置
...
@@ -66,10 +59,21 @@
...
@@ -66,10 +59,21 @@
row-key=
"mrnNo"
row-key=
"mrnNo"
:scroll=
"
{ x: true }"
:scroll=
"
{ x: true }"
:pagination="false"
:pagination="false"
:customRow="handlerRowClick"
:customRow="handlerRowClick">
>
</a-table>
<template
slot=
"sex"
slot-scope=
"text"
>
<BurtPagination
:pagination=
"
{ ...cusPager, total: cusTotal }" @pageChange="onCustomChange"
<span>
{{
text
|
formatSex
}}
</span>
/>
</
template
>
<
template
slot=
"birthday"
slot-scope=
"text"
>
<span>
{{
text
?
moment
(
text
).
format
(
'
YYYY-MM-DD
'
):
''
}}
</span>
</
template
>
<
template
slot=
"startDate"
slot-scope=
"text"
>
<span>
{{
text
?
moment
(
text
).
format
(
'
YYYY-MM-DD
'
):
''
}}
</span>
</
template
>
<
template
slot=
"endDate"
slot-scope=
"text"
>
<span>
{{
text
?
moment
(
text
).
format
(
'
YYYY-MM-DD
'
):
''
}}
</span>
</
template
>
</a-table>
<BurtPagination
:pagination=
"{ ...cusPager, total: cusTotal }"
@
pageChange=
"onCustomChange"
/>
</div>
</div>
<div
v-if=
"isShowCoverageData"
>
<div
v-if=
"isShowCoverageData"
>
<PolicyInfo
:policyData=
"coverageForm"
/>
<PolicyInfo
:policyData=
"coverageForm"
/>
...
@@ -82,6 +86,8 @@
...
@@ -82,6 +86,8 @@
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
coverages
from
"
./components/coverages
"
;
import
coverages
from
"
./components/coverages
"
;
import
PolicyInfo
from
"
./components/PolicyInfo
"
;
import
PolicyInfo
from
"
./components/PolicyInfo
"
;
import
moment
from
"
moment
"
;
import
mixins
from
"
@/mixins
"
;
export
default
{
export
default
{
beforeRouteUpdate
(
to
,
from
,
next
)
{
beforeRouteUpdate
(
to
,
from
,
next
)
{
this
.
handlerReset
();
this
.
handlerReset
();
...
@@ -92,16 +98,17 @@ export default {
...
@@ -92,16 +98,17 @@ export default {
coverages
,
coverages
,
PolicyInfo
,
PolicyInfo
,
},
},
mixins
:
[
mixins
],
data
()
{
data
()
{
const
customColumns
=
[
const
customColumns
=
[
{
title
:
"
病历号
"
,
dataIndex
:
"
mrnNo
"
,
width
:
180
},
{
title
:
"
病历号
"
,
dataIndex
:
"
mrnNo
"
,
width
:
180
},
{
title
:
"
客户姓名
"
,
dataIndex
:
"
patientName
"
,
width
:
120
},
{
title
:
"
客户姓名
"
,
dataIndex
:
"
patientName
"
,
width
:
120
},
{
title
:
"
出生日期
"
,
dataIndex
:
"
birthday
"
,
width
:
180
},
{
title
:
"
出生日期
"
,
dataIndex
:
"
birthday
"
,
width
:
180
,
scopedSlots
:
{
customRender
:
"
birthday
"
}
},
{
title
:
"
性别
"
,
dataIndex
:
"
sex
"
,
width
:
80
},
{
title
:
"
性别
"
,
dataIndex
:
"
sex
"
,
width
:
80
,
scopedSlots
:
{
customRender
:
"
sex
"
}
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
width
:
180
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
width
:
180
},
{
title
:
"
保单号码
"
,
dataIndex
:
"
policyNo
"
,
width
:
190
},
{
title
:
"
保单号码
"
,
dataIndex
:
"
policyNo
"
,
width
:
190
},
{
title
:
"
保险有效日期
"
,
dataIndex
:
"
startDate
"
,
width
:
180
},
{
title
:
"
保险有效日期
"
,
dataIndex
:
"
startDate
"
,
scopedSlots
:
{
customRender
:
"
startDate
"
},
width
:
180
},
{
title
:
"
保险终止日期
"
,
dataIndex
:
"
endDate
"
,
width
:
180
},
{
title
:
"
保险终止日期
"
,
dataIndex
:
"
endDate
"
,
scopedSlots
:
{
customRender
:
"
endDate
"
},
width
:
180
},
];
];
return
{
return
{
isShowCoverageData
:
false
,
isShowCoverageData
:
false
,
...
@@ -113,7 +120,6 @@ export default {
...
@@ -113,7 +120,6 @@ export default {
sex
:
undefined
,
sex
:
undefined
,
idNo
:
undefined
,
idNo
:
undefined
,
payorId
:
undefined
,
payorId
:
undefined
,
idType
:
undefined
},
},
detailForm
:
{},
detailForm
:
{},
coverageForm
:
{},
coverageForm
:
{},
...
@@ -137,6 +143,7 @@ export default {
...
@@ -137,6 +143,7 @@ export default {
this
.
_getPayorCode
();
this
.
_getPayorCode
();
},
},
methods
:
{
methods
:
{
moment
,
onCustomChange
(
pager
)
{
onCustomChange
(
pager
)
{
const
{
pageNum
}
=
pager
;
const
{
pageNum
}
=
pager
;
// console.log(pager);
// console.log(pager);
...
...
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