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
897dade0
Commit
897dade0
authored
Feb 22, 2022
by
yanglilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'调整'
parent
e05b7274
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 @
897dade0
import
bus
from
"
../utils/bus
"
;
import
{}
from
'
@/utils/utilsdictOptions.js
'
import
{
sexOptions
}
from
'
@/utils/utilsdictOptions.js
'
// 全局混入将会影响每个单文件组件,请慎重思考是否要混入
export
default
{
...
...
@@ -9,6 +9,14 @@ export default {
};
},
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 @
897dade0
...
...
@@ -35,7 +35,7 @@
</a-form-model>
<!-- table -->
<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>
</
template
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
...
...
src/views/welfare/info/index.vue
View file @
897dade0
...
...
@@ -40,14 +40,7 @@
</a-select>
</a-form-model-item>
</a-col>
<a-col
:xl=
"4"
:lg=
"6"
:sm=
"12"
>
<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-col
:xl=
"18"
:lg=
"12"
:sm=
"24"
class=
"none-label"
>
<a-form-model-item
label=
"button"
>
<a-button
type=
"primary"
class=
"text-r"
@
click=
"handlerReset"
>
<Icon
name=
"ssireset"
:size=
"14"
/>
重置
...
...
@@ -66,10 +59,21 @@
row-key=
"mrnNo"
:scroll=
"
{ x: true }"
:pagination="false"
:customRow="handlerRowClick"
>
</a-table>
<BurtPagination
:pagination=
"
{ ...cusPager, total: cusTotal }" @pageChange="onCustomChange"
/>
:customRow="handlerRowClick">
<template
slot=
"sex"
slot-scope=
"text"
>
<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
v-if=
"isShowCoverageData"
>
<PolicyInfo
:policyData=
"coverageForm"
/>
...
...
@@ -82,6 +86,8 @@
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
coverages
from
"
./components/coverages
"
;
import
PolicyInfo
from
"
./components/PolicyInfo
"
;
import
moment
from
"
moment
"
;
import
mixins
from
"
@/mixins
"
;
export
default
{
beforeRouteUpdate
(
to
,
from
,
next
)
{
this
.
handlerReset
();
...
...
@@ -92,16 +98,17 @@ export default {
coverages
,
PolicyInfo
,
},
mixins
:
[
mixins
],
data
()
{
const
customColumns
=
[
{
title
:
"
病历号
"
,
dataIndex
:
"
mrnNo
"
,
width
:
180
},
{
title
:
"
客户姓名
"
,
dataIndex
:
"
patientName
"
,
width
:
120
},
{
title
:
"
出生日期
"
,
dataIndex
:
"
birthday
"
,
width
:
180
},
{
title
:
"
性别
"
,
dataIndex
:
"
sex
"
,
width
:
80
},
{
title
:
"
出生日期
"
,
dataIndex
:
"
birthday
"
,
width
:
180
,
scopedSlots
:
{
customRender
:
"
birthday
"
}
},
{
title
:
"
性别
"
,
dataIndex
:
"
sex
"
,
width
:
80
,
scopedSlots
:
{
customRender
:
"
sex
"
}
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
width
:
180
},
{
title
:
"
保单号码
"
,
dataIndex
:
"
policyNo
"
,
width
:
190
},
{
title
:
"
保险有效日期
"
,
dataIndex
:
"
startDate
"
,
width
:
180
},
{
title
:
"
保险终止日期
"
,
dataIndex
:
"
endDate
"
,
width
:
180
},
{
title
:
"
保险有效日期
"
,
dataIndex
:
"
startDate
"
,
scopedSlots
:
{
customRender
:
"
startDate
"
},
width
:
180
},
{
title
:
"
保险终止日期
"
,
dataIndex
:
"
endDate
"
,
scopedSlots
:
{
customRender
:
"
endDate
"
},
width
:
180
},
];
return
{
isShowCoverageData
:
false
,
...
...
@@ -113,7 +120,6 @@ export default {
sex
:
undefined
,
idNo
:
undefined
,
payorId
:
undefined
,
idType
:
undefined
},
detailForm
:
{},
coverageForm
:
{},
...
...
@@ -137,6 +143,7 @@ export default {
this
.
_getPayorCode
();
},
methods
:
{
moment
,
onCustomChange
(
pager
)
{
const
{
pageNum
}
=
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