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
42040772
Commit
42040772
authored
3 years ago
by
yanglilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改'
parent
177ba1e5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
56 additions
and
10 deletions
+56
-10
index.js
src/mixins/index.js
+22
-1
utilsdictOptions.js
src/utils/utilsdictOptions.js
+18
-0
index.vue
src/views/customer/info/index.vue
+7
-3
indexDetail.vue
src/views/verification/indexDetail.vue
+9
-6
No files found.
src/mixins/index.js
View file @
42040772
import
bus
from
"
../utils/bus
"
;
import
{
sexOptions
}
from
'
@/utils/utilsdictOptions.js
'
import
{
sexOptions
,
SendStatusOptions
,
ClaimsStatusOptions
}
from
'
@/utils/utilsdictOptions.js
'
// 全局混入将会影响每个单文件组件,请慎重思考是否要混入
export
default
{
...
...
@@ -9,6 +9,7 @@ export default {
};
},
filters
:
{
//过滤性别
formatSex
(
val
){
if
(
!
val
)
{
return
;
...
...
@@ -18,5 +19,25 @@ export default {
});
return
item
?
item
.
name
:
""
;
},
//过滤寄送状态
formatSendStatus
(
val
){
if
(
!
val
)
{
return
;
}
const
item
=
SendStatusOptions
.
find
((
item
)
=>
{
return
item
.
value
==
val
;
});
return
item
?
item
.
name
:
""
;
},
//过滤理赔状态
formatClaimsStatus
(
val
){
if
(
!
val
)
{
return
;
}
const
item
=
ClaimsStatusOptions
.
find
((
item
)
=>
{
return
item
.
value
==
val
;
});
return
item
?
item
.
name
:
""
;
},
}
};
This diff is collapsed.
Click to expand it.
src/utils/utilsdictOptions.js
View file @
42040772
...
...
@@ -8,9 +8,27 @@ const sexOptions = [{
value
:
'
F
'
}];
//寄送状态
const
SendStatusOptions
=
[
{
name
:
'
未寄送
'
,
value
:
'
1
'
},
{
name
:
'
寄送
'
,
value
:
'
2
'
},
{
name
:
'
待寄送
'
,
value
:
'
3
'
},
];
//理赔状态
const
ClaimsStatusOptions
=
[
{
name
:
'
赔付
'
,
value
:
'
01
'
},
{
name
:
'
部分赔付
'
,
value
:
'
02
'
},
{
name
:
'
拒赔
'
,
value
:
'
03
'
},
{
name
:
'
补充材料
'
,
value
:
'
04
'
},
];
module
.
exports
=
{
sexOptions
,
SendStatusOptions
,
ClaimsStatusOptions
,
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/views/customer/info/index.vue
View file @
42040772
...
...
@@ -50,6 +50,9 @@
:pagination="false"
:customRow="handlerRowClick"
>
<template
slot=
"sex"
slot-scope=
"text"
>
<span>
{{
text
|
formatSex
}}
</span>
</
template
>
<
template
slot=
"operation"
slot-scope=
"record"
>
<a-button
type=
"link"
@
click.stop=
"changeDataStatus(record)"
>
修改
</a-button>
<a-button
type=
"link"
@
click.stop=
"printClaimPdf(record)"
>
打印理赔申请书
</a-button>
...
...
@@ -68,7 +71,7 @@
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
{
downloadFile
}
from
'
@/utils/index
'
import
moment
from
'
moment
'
import
mixins
from
"
@/mixins
"
;
export
default
{
data
()
{
const
dateFormat
=
(
val
)
=>
{
...
...
@@ -78,10 +81,10 @@ export default {
{
title
:
"
病历号
"
,
dataIndex
:
"
mrnNo
"
,
width
:
180
,
},
{
title
:
"
客户姓名
"
,
dataIndex
:
"
patientName
"
,
width
:
120
,},
{
title
:
"
出生日期
"
,
dataIndex
:
"
birthday
"
,
width
:
170
,
customRender
:
dateFormat
},
{
title
:
"
性别
"
,
dataIndex
:
"
sex
"
,
width
:
80
},
{
title
:
"
性别
"
,
dataIndex
:
"
sex
"
,
width
:
80
,
scopedSlots
:
{
customRender
:
"
sex
"
}
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
width
:
180
},
{
title
:
"
保单号码
"
,
dataIndex
:
"
policyNo
"
,
width
:
190
},
{
title
:
"
保
险有
效日期
"
,
dataIndex
:
"
startDate
"
,
width
:
170
,
customRender
:
dateFormat
},
{
title
:
"
保
单生
效日期
"
,
dataIndex
:
"
startDate
"
,
width
:
170
,
customRender
:
dateFormat
},
{
title
:
"
保险终止日期
"
,
dataIndex
:
"
endDate
"
,
width
:
170
,
customRender
:
dateFormat
},
{
title
:
"
操作
"
,
key
:
"
operation
"
,
width
:
"
260px
"
,
fixed
:
"
right
"
,
scopedSlots
:
{
customRender
:
"
operation
"
}},
];
...
...
@@ -98,6 +101,7 @@ export default {
},
};
},
mixins
:
[
mixins
],
components
:
{
BurtPagination
,
},
...
...
This diff is collapsed.
Click to expand it.
src/views/verification/indexDetail.vue
View file @
42040772
...
...
@@ -84,8 +84,8 @@
<span>
{{
record
.
visitTimeStart
?
moment
(
record
.
visitTimeStart
).
format
(
'
YYYY-MM-DD
'
):
''
}}
</span>
~
<span>
{{
record
.
visitTimeEnd
?
moment
(
record
.
visitTimeEnd
).
format
(
'
YYYY-MM-DD
'
):
''
}}
</span>
</
template
>
<
template
slot=
"
sendSts"
slot-scope=
"record,
text"
>
<span>
{{
text
==
1
?
'
已寄送
'
:
'
未寄送
'
}}
</span>
<
template
slot=
"
paidSts"
slot-scope=
"
text"
>
<span>
{{
text
|
formatClaimsStatus
}}
</span>
</
template
>
<
template
slot=
"operation"
slot-scope=
"text, record"
>
<a-button
type=
"link"
@
click.stop=
"editEvt(record)"
>
修改
</a-button>
...
...
@@ -101,9 +101,8 @@
<a-row
:gutter=
"30"
>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"理赔状态"
prop=
"paidSts"
>
<a-select
v-model=
"editFormObj.sendSts"
placeholder=
"请选择理赔状态"
allowClear
>
<a-select-option
:value=
"1"
>
待核销
</a-select-option>
<a-select-option
:value=
"2"
>
已核销
</a-select-option>
<a-select
v-model=
"editFormObj.paidSts"
placeholder=
"请选择理赔状态"
allowClear
>
<a-select-option
v-for=
"(item,i) in ClaimsStatusOptions"
:key=
"i"
:value=
"item.value"
>
{{item.name}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
...
...
@@ -132,12 +131,14 @@
import
Goback
from
"
@/components/CUSTOMER/goback
"
;
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
moment
from
"
moment
"
;
import
{
ClaimsStatusOptions
}
from
'
@/utils/utilsdictOptions.js
'
import
mixins
from
"
@/mixins
"
;
const
columns
=
[
{
title
:
"
账单编号
"
,
dataIndex
:
"
receiptNo
"
,
ellipsis
:
true
,
width
:
100
},
{
title
:
"
客户姓名
"
,
dataIndex
:
"
patientName
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
ellipsis
:
true
,
width
:
80
},
{
title
:
"
就诊日期
"
,
dataIndex
:
"
visitTimeStart
"
,
ellipsis
:
true
,
width
:
110
,
scopedSlots
:
{
customRender
:
"
visitTimeStart
"
}
},
{
title
:
"
理赔状态
"
,
dataIndex
:
"
sendSts
"
,
ellipsis
:
true
,
width
:
90
,
scopedSlots
:
{
customRender
:
"
sen
dSts
"
}
},
{
title
:
"
理赔状态
"
,
dataIndex
:
"
paidSts
"
,
ellipsis
:
true
,
width
:
90
,
scopedSlots
:
{
customRender
:
"
pai
dSts
"
}
},
{
title
:
"
账单金额
"
,
dataIndex
:
"
receiptAmount
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
自付金额
"
,
dataIndex
:
"
selfpaidAmount
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
理赔金额
"
,
dataIndex
:
"
eobPaidAmount
"
,
ellipsis
:
true
,
width
:
85
},
...
...
@@ -153,6 +154,7 @@ export default {
return
{
dialogShow
:
false
,
columns
,
ClaimsStatusOptions
,
eobNo
:
''
,
//eob编号
form
:
{
eobDate
:
''
,
...
...
@@ -184,6 +186,7 @@ export default {
},
};
},
mixins
:
[
mixins
],
components
:
{
Goback
,
BurtPagination
,
...
...
This diff is collapsed.
Click to expand it.
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