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
3de191c7
Commit
3de191c7
authored
Feb 14, 2022
by
yanglilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改'
parent
7bec9043
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
267 additions
and
128 deletions
+267
-128
base.js
src/api/apis_moudles/base.js
+1
-0
verification.js
src/api/apis_moudles/verification.js
+8
-1
base.js
src/api/funcs_modules/base.js
+6
-0
verification.js
src/api/funcs_modules/verification.js
+40
-3
lpjManage.vue
src/views/charge-query/lpjManage.vue
+25
-6
collection.vue
src/views/verification/collection.vue
+49
-58
index.vue
src/views/verification/index.vue
+138
-60
No files found.
src/api/apis_moudles/base.js
View file @
3de191c7
...
...
@@ -7,4 +7,5 @@ export default {
uploadImg
:
"
/common/upload
"
,
specialtyList
:
"
/backstage/auth/specialtyList
"
,
coverageCode
:
"
/backstage/auth/coverageMasterList
"
,
getRefcdByRefgrp
:
"
/common/getRefcdByRefgrp
"
,
//获取快递列表
};
src/api/apis_moudles/verification.js
View file @
3de191c7
// 核销管理api
export
default
{};
export
default
{
queryCiReceipSendList
:
"
/backstage/auth/queryEobReceiptList
"
,
//EOB待核销账单查询
deleteEobReceiptInfo
:
"
/backstage/auth/deleteEobReceiptInfo
"
,
//删除EOB
saveEobReceiptInfo
:
"
/backstage/auth/saveEobReceiptInfo
"
,
//EOB新建
queryEobInfoList
:
"
/backstage/auth/queryEobInfoList
"
,
//回款EOB列表查询
saveBackMoney
:
"
/backstage/auth/saveBackMoney
"
,
//新建回款
deleteBackMoney
:
"
/backstage/auth/deleteBackMoney
"
,
//删除回款
};
src/api/funcs_modules/base.js
View file @
3de191c7
...
...
@@ -41,6 +41,11 @@ const GETCOVERAGECODE = (data) => {
return
req
.
post
(
apis
.
coverageCode
,
data
);
};
// 获取快递列表
const
GETREFCDBYREFGRP
=
(
data
)
=>
{
return
req
.
post
(
apis
.
getRefcdByRefgrp
,
data
);
};
// 对象数组
export
default
{
GETUSERINFO
,
...
...
@@ -50,4 +55,5 @@ export default {
GETSPECIALTYLIST
,
UPLOADIMG
,
GETCOVERAGECODE
,
GETREFCDBYREFGRP
,
};
src/api/funcs_modules/verification.js
View file @
3de191c7
// 核销管理函数库
// import apis from "../apis_moudles/index";
// import req from "../request";
import
apis
from
"
../apis_moudles/verification.js
"
;
import
req
from
"
../request
"
;
//EOB待核销账单查询
const
QUERYCIRECEIPSENDLIST
=
(
data
)
=>
{
return
req
.
post
(
apis
.
queryCiReceipSendList
,
data
);
};
//EOB新建
const
SAVEEOBRECEIPTINFO
=
(
data
)
=>
{
return
req
.
post
(
apis
.
saveEobReceiptInfo
,
data
);
};
//删除EOB
const
DELEOBRECEIPTINFO
=
(
data
)
=>
{
return
req
.
post
(
apis
.
deleteEobReceiptInfo
,
data
);
};
//回款EOB列表查询
const
QUERYEOBRECEIPTINFO
=
(
data
)
=>
{
return
req
.
post
(
apis
.
queryEobInfoList
,
data
);
};
//新建回款
const
SAVEBACKMONEY
=
(
data
)
=>
{
return
req
.
post
(
apis
.
saveBackMoney
,
data
);
};
//删除回款
const
DELETEBACKMONEY
=
(
data
)
=>
{
return
req
.
post
(
apis
.
deleteBackMoney
,
data
);
};
// 对象数组
export
default
{};
export
default
{
QUERYCIRECEIPSENDLIST
,
SAVEEOBRECEIPTINFO
,
DELEOBRECEIPTINFO
,
QUERYEOBRECEIPTINFO
,
SAVEBACKMONEY
,
DELETEBACKMONEY
,
};
\ No newline at end of file
src/views/charge-query/lpjManage.vue
View file @
3de191c7
...
...
@@ -48,10 +48,8 @@
</a-col>
<a-col
:lg=
"4"
:sm=
"12"
>
<a-form-model-item
label=
"快递公司"
>
<a-select
v-model=
"form.sendCompany"
placeholder=
"请选择快递公司"
allowClear
>
<a-select-option
:value=
"1"
>
顺丰
</a-select-option>
<a-select-option
:value=
"2"
>
韵达
</a-select-option>
<a-select-option
:value=
"3"
>
中通
</a-select-option>
<a-select
v-model=
"form.sendCompany"
placeholder=
"请选择快递公司"
showSearch
allowClear
>
<a-select-option
v-for=
"(item) in expressList"
:key=
"item.id"
:value=
"item.descCh"
>
{{
item
.
descCh
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
...
...
@@ -90,7 +88,6 @@
</a-button>
</a-form-model-item>
</div>
</a-col>
</a-row>
</a-form-model>
...
...
@@ -192,6 +189,7 @@ export default {
sendRemark
:
''
},
companyOptions
:
[],
//保险公司
expressList
:
[],
//快递列表
selectedRowKeys
:
[],
// Check here to configure the default column
dataList
:
[],
pagination
:
{
...
...
@@ -218,11 +216,22 @@ export default {
created
()
{
this
.
getData
();
this
.
_getCompanyOptions
();
this
.
getRefcdByRefgrp
();
},
methods
:
{
moment
,
onSelectChange
(
selectedRowKeys
)
{
this
.
selectedRowKeys
=
selectedRowKeys
;
let
arr
=
[];
for
(
let
i
=
0
;
i
<
selectedRowKeys
.
length
;
i
++
){
let
idx
=
selectedRowKeys
[
i
];
if
(
this
.
dataList
[
idx
].
sendBatchNo
){
this
.
$msg
.
destroy
();
this
.
$message
.
warning
(
'
寄送批号已存在
'
)
}
else
{
arr
.
push
(
idx
);
}
}
this
.
selectedRowKeys
=
arr
;
},
// 获取列表数据
getData
()
{
...
...
@@ -251,6 +260,15 @@ export default {
this
.
companyOptions
=
res
.
content
||
[];
});
},
// 获取快递列表
getRefcdByRefgrp
()
{
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
refgrp
:
"
SEND_COMPANY
"
}).
then
((
res
)
=>
{
this
.
expressList
=
res
.
content
||
[];
});
},
// 重置
handlerReset
()
{
this
.
form
=
{
...
...
@@ -372,6 +390,7 @@ export default {
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
新建成功
"
);
this
.
handlerReset
();
this
.
selectedRowKeys
=
[];
this
.
getData
();
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
...
...
src/views/verification/collection.vue
View file @
3de191c7
...
...
@@ -13,11 +13,7 @@
</a-col>
<a-col
:lg=
"5"
:sm=
"12"
>
<a-form-model-item
label=
"回款日期"
>
<a-date-picker
format=
"YYYY年MM月DD日"
v-model=
"form.date"
placeholder=
"选择日期"
/>
<a-date-picker
format=
"YYYY年MM月DD日"
v-model=
"form.date"
placeholder=
"选择日期"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"5"
:sm=
"12"
>
...
...
@@ -30,20 +26,12 @@
</a-col>
<a-col
:lg=
"4"
:sm=
"12"
>
<a-form-model-item
label=
"回款金额(人民币)"
>
<a-input
type=
"number"
v-model=
"form.mrnNo"
placeholder=
"请输入金额"
/>
<a-input
type=
"number"
v-model=
"form.mrnNo"
placeholder=
"请输入金额"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"4"
:sm=
"12"
>
<a-form-model-item
label=
"回款金额(美元)"
>
<a-input
type=
"number"
v-model=
"form.mrnNo"
placeholder=
"请输入金额"
/>
<a-input
type=
"number"
v-model=
"form.mrnNo"
placeholder=
"请输入金额"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
...
...
@@ -68,18 +56,16 @@
</a-row>
</a-form-model>
<!-- table -->
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: true }"
:pagination="false"
>
<template
slot=
"operation"
slot-scope=
"record, index"
>
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: true }" :pagination="false" >
<template
slot=
"idx"
slot-scope=
"text ,record, index"
>
{{
index
+
1
}}
</
template
>
<
template
slot=
"eobSts"
slot-scope=
"text"
>
{{
text
==
1
?
'
待回款
'
:
'
已回款
'
}}
</
template
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
>
修改
</a-button>
<a-button
type=
"link"
class=
"success"
>
新增
</a-button>
<a-button
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button
>
<a-button
v-if=
"record.backMoneyNo"
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button>
</
template
>
</a-table>
<BurtPagination
:pagination=
"pagination"
@
pageChange=
"getData"
/>
...
...
@@ -88,32 +74,17 @@
<
script
>
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
moment
from
"
moment
"
;
const
columns
=
[
{
title
:
"
序号
"
,
dataIndex
:
"
mrnNo
"
,
ellipsis
:
true
,
width
:
72
},
{
title
:
"
EOB名称
"
,
dataIndex
:
"
patient
Name
"
,
ellipsis
:
true
,
width
:
195
},
{
title
:
"
序号
"
,
dataIndex
:
"
idx
"
,
ellipsis
:
true
,
width
:
72
,
scopedSlots
:
{
customRender
:
"
idx
"
},
},
{
title
:
"
EOB名称
"
,
dataIndex
:
"
eob
Name
"
,
ellipsis
:
true
,
width
:
195
},
{
title
:
"
核销时间
"
,
dataIndex
:
"
patientName2
"
,
ellipsis
:
true
,
width
:
110
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
patientName3
"
,
ellipsis
:
true
,
width
:
110
},
{
title
:
"
EOB状态
"
,
dataIndex
:
"
patientName9
"
,
ellipsis
:
true
,
width
:
110
},
{
title
:
"
EOB赔付金额(人民币)
"
,
dataIndex
:
"
patientName4
"
,
ellipsis
:
true
,
width
:
190
,
},
{
title
:
"
EOB赔付金额(美元)
"
,
dataIndex
:
"
patientName5
"
,
ellipsis
:
true
,
width
:
190
,
},
{
title
:
"
汇率差
"
,
dataIndex
:
"
patientName10
"
,
ellipsis
:
true
,
width
:
110
},
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
170px
"
,
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
ellipsis
:
true
,
width
:
110
},
{
title
:
"
EOB状态
"
,
dataIndex
:
"
eobSts
"
,
ellipsis
:
true
,
width
:
110
,
scopedSlots
:
{
customRender
:
"
eobSts
"
}
},
{
title
:
"
EOB赔付金额(人民币)
"
,
dataIndex
:
"
eobAmountCny
"
,
ellipsis
:
true
,
width
:
190
,},
{
title
:
"
EOB赔付金额(美元)
"
,
dataIndex
:
"
eobAmountUsd
"
,
ellipsis
:
true
,
width
:
190
,},
{
title
:
"
汇率差
"
,
dataIndex
:
"
backExchangeRate
"
,
ellipsis
:
true
,
width
:
110
},
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
170px
"
},
];
export
default
{
data
()
{
...
...
@@ -133,7 +104,11 @@ export default {
components
:
{
BurtPagination
,
},
created
(){
this
.
getData
();
},
methods
:
{
moment
,
pageChange
(
pager
)
{
const
{
current
}
=
pager
;
this
.
pagination
.
pageNum
=
current
;
...
...
@@ -143,7 +118,21 @@ export default {
this
.
pagination
.
pageNum
=
1
;
this
.
getData
();
},
getData
()
{},
getData
()
{
this
.
$apis
.
QUERYEOBRECEIPTINFO
({
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
let
content
=
res
.
content
||
{};
this
.
pagination
.
total
=
content
.
total
||
0
;
this
.
dataList
=
content
.
list
||
[];
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
//删除记录
delRecord
(
index
)
{
this
.
$modal
.
confirm
({
...
...
@@ -152,14 +141,16 @@ export default {
okText
:
"
确认
"
,
cancelText
:
"
取消
"
,
onOk
:
()
=>
{
this
.
$store
.
dispatch
(
"
medicinal/delMedicine
"
,
{
id
:
this
.
dataList
[
index
].
id
,
status
:
-
1
,
this
.
$apis
.
DELETEBACKMONEY
({
backMoneyNo
:
this
.
dataList
[
index
].
backMoneyNo
,
})
.
then
(()
=>
{
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
删除成功
"
);
this
.
dataList
.
splice
(
index
,
1
);
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
onCancel
:
()
=>
{},
...
...
src/views/verification/index.vue
View file @
3de191c7
...
...
@@ -4,60 +4,49 @@
<a-form-model
ref=
"form"
layout=
"vertical"
:model=
"form"
>
<a-row
:gutter=
"30"
>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"保障公司"
>
<a-select
v-model=
"form.payorId"
placeholder=
"请选择"
>
<a-select-option
value=
"1"
>
待核销
</a-select-option>
<a-select-option
value=
"2"
>
已核销
</a-select-option>
<a-form-model-item
label=
"保险公司"
>
<a-select
v-model=
"form.payorCode"
placeholder=
"请选择保险公司"
allowClear
>
<a-select-option
v-for=
"item in companyOptions"
:key=
"item.id"
:value=
"item.payorCode"
>
{{
item
.
longName
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"EOB收到日期"
>
<a-range-picker
format=
"YYYY年MM月DD日"
v-model=
"form.dateRange"
:placeholder=
"['开始日期', '结束日期']"
/>
<a-range-picker
format=
"YYYY年MM月DD日"
v-model=
"form.dateRange"
:placeholder=
"['开始日期', '结束日期']"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"EOB名称"
>
<a-input
v-model=
"form.
mrnNo
"
placeholder=
"请输入EOB名称"
/>
<a-input
v-model=
"form.
eobName
"
placeholder=
"请输入EOB名称"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"EOB金额(人民币)"
>
<a-input
type=
"number"
v-model=
"form.mrnNo"
placeholder=
"请输入金额"
/>
<a-input
type=
"number"
v-model=
"form.eobAmountCny"
placeholder=
"请输入金额"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"EOB金额(美元)"
>
<a-input
type=
"number"
v-model=
"form.mrnNo"
placeholder=
"请输入金额"
/>
<a-input
type=
"number"
v-model=
"form.eobAmountUsd"
placeholder=
"请输入金额"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"EOB状态"
>
<a-select
v-model=
"form.
payorId
"
placeholder=
"请选择"
>
<a-select-option
value=
"1"
>
待核销
</a-select-option>
<a-select-option
value=
"2"
>
已核销
</a-select-option>
<a-select
v-model=
"form.
status
"
placeholder=
"请选择"
>
<a-select-option
value=
"1"
>
已寄送
</a-select-option>
<a-select-option
value=
"2"
>
未寄送
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:md=
"24"
:lg=
"12"
class=
"none-label"
>
<a-form-model-item
label=
"button"
>
<a-button
type=
"primary"
>
导出
</a-button>
<a-button
class=
"mar-left10"
type=
"primary"
>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"addNewEvt"
>
<Icon
name=
"ssiadd"
:size=
"14"
/>
新建EOB
</a-button>
<a-button
class=
"mar-left10"
type=
"primary"
>
<a-button
class=
"mar-left10"
type=
"primary"
@
click.stop=
"handlerReset"
>
<Icon
name=
"ssireset"
:size=
"14"
/>
重置
</a-button>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"handlerSearch"
>
...
...
@@ -68,18 +57,18 @@
</a-row>
</a-form-model>
<!-- table -->
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: true }"
:pagination="false"
>
<template
slot=
"operation"
slot-scope=
"record, index"
>
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: true }" :pagination="false"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }">
<template
slot=
"visitTimeStart"
slot-scope=
"text, record"
>
<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
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
>
修改
</a-button>
<a-button
type=
"link"
class=
"success"
>
新增
</a-button>
<a-button
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button
>
<a-button
v-if=
"record.eobNo"
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button>
</
template
>
</a-table>
<BurtPagination
:pagination=
"pagination"
@
pageChange=
"getData"
/>
...
...
@@ -88,32 +77,22 @@
<
script
>
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
moment
from
"
moment
"
;
const
columns
=
[
{
title
:
"
病历号
"
,
dataIndex
:
"
mrn
No
"
,
ellipsis
:
true
,
width
:
100
},
{
title
:
"
病历号
"
,
dataIndex
:
"
patient
No
"
,
ellipsis
:
true
,
width
:
100
},
{
title
:
"
客户姓名
"
,
dataIndex
:
"
patientName
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
pa
tientName2
"
,
ellipsis
:
true
,
width
:
80
},
{
title
:
"
就诊日期
"
,
dataIndex
:
"
patientName3
"
,
ellipsis
:
true
,
width
:
110
},
{
title
:
"
理赔状态
"
,
dataIndex
:
"
patientName0
"
,
ellipsis
:
true
,
width
:
90
},
{
title
:
"
账单金额
"
,
dataIndex
:
"
patientName4
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
自付金额
"
,
dataIndex
:
"
patientName5
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
理赔金额
"
,
dataIndex
:
"
patientName6
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
pa
yorName
"
,
ellipsis
:
true
,
width
:
80
},
{
title
:
"
就诊日期
"
,
dataIndex
:
"
visitTimeStart
"
,
ellipsis
:
true
,
width
:
110
,
scopedSlots
:
{
customRender
:
"
visitTimeStart
"
}
},
{
title
:
"
理赔状态
"
,
dataIndex
:
"
sendSts
"
,
ellipsis
:
true
,
width
:
90
,
scopedSlots
:
{
customRender
:
"
sendSts
"
}
},
{
title
:
"
账单金额
"
,
dataIndex
:
"
receiptAmount
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
自付金额
"
,
dataIndex
:
"
selfpaidAmount
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
理赔金额
"
,
dataIndex
:
"
eobPaidAmount
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
回款金额
"
,
dataIndex
:
"
patientName7
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
未清金额
"
,
dataIndex
:
"
patientName8
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
保险公司欠费
"
,
dataIndex
:
"
patientName9
"
,
ellipsis
:
true
,
width
:
110
,
},
{
title
:
"
未清金额
"
,
dataIndex
:
"
eobRefuseAmount
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
保险公司欠费
"
,
dataIndex
:
"
patientName11
"
,
ellipsis
:
true
,
width
:
110
,
},
{
title
:
"
个人欠费
"
,
dataIndex
:
"
patientName9
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
备注
"
,
dataIndex
:
"
patientName10
"
,
ellipsis
:
true
,
width
:
120
},
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
170px
"
,
},
{
title
:
"
备注
"
,
dataIndex
:
"
sendRemark
"
,
ellipsis
:
true
,
width
:
120
},
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
170px
"
},
];
export
default
{
data
()
{
...
...
@@ -121,24 +100,80 @@ export default {
columns
,
form
:
{
dateRange
:
[],
payorCode
:
''
,
eobName
:
''
,
eobAmountCny
:
''
,
eobAmountUsd
:
''
,
status
:
''
},
dataList
:
[],
companyOptions
:
[],
//保险公司
pagination
:
{
pageNum
:
1
,
pageSize
:
10
,
total
:
0
,
},
selectedRowKeys
:
[],
// Check here to configure the default column
};
},
components
:
{
BurtPagination
,
},
created
(){
this
.
getData
();
this
.
_getCompanyOptions
();
},
methods
:
{
moment
,
onSelectChange
(
selectedRowKeys
)
{
let
arr
=
[];
for
(
let
i
=
0
;
i
<
selectedRowKeys
.
length
;
i
++
){
let
idx
=
selectedRowKeys
[
i
];
if
(
this
.
dataList
[
idx
].
eobNo
){
this
.
$msg
.
destroy
();
this
.
$message
.
warning
(
'
EOB编号已存在
'
)
}
else
{
arr
.
push
(
idx
);
}
}
this
.
selectedRowKeys
=
arr
;
},
handlerSearch
()
{
this
.
pagination
.
pageNum
=
1
;
this
.
getData
();
},
getData
()
{},
// 重置
handlerReset
()
{
this
.
form
=
{
dateRange
:
[],
payorCode
:
''
,
eobName
:
''
,
eobAmountCny
:
''
,
eobAmountUsd
:
''
,
status
:
''
}
},
// 获取保险公司下拉选项
_getCompanyOptions
()
{
this
.
$apis
.
GETCOMPANYOPTIONS
().
then
((
res
)
=>
{
this
.
companyOptions
=
res
.
content
||
[];
});
},
getData
()
{
this
.
$apis
.
QUERYCIRECEIPSENDLIST
({
pageNum
:
this
.
pagination
.
pageNum
,
pageSize
:
this
.
pagination
.
pageSize
,
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
let
content
=
res
.
content
||
{};
this
.
pagination
.
total
=
content
.
total
||
0
;
this
.
dataList
=
content
.
list
||
[];
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
//删除记录
delRecord
(
index
)
{
this
.
$modal
.
confirm
({
...
...
@@ -147,11 +182,54 @@ export default {
okText
:
"
确认
"
,
cancelText
:
"
取消
"
,
onOk
:
()
=>
{
console
.
log
(
index
,
111
)
this
.
$apis
.
DELEOBRECEIPTINFO
({
eobNo
:
this
.
dataList
[
index
].
eobNo
,
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
删除成功
"
);
this
.
dataList
.
splice
(
index
,
1
);
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
onCancel
:
()
=>
{},
});
},
//新建EOB
addNewEvt
(){
if
(
this
.
selectedRowKeys
.
length
==
0
){
this
.
$message
.
warning
(
"
未选择EOB
"
);
return
;
}
let
eobReceiptList
=
[];
this
.
dataList
.
forEach
((
item
,
index
)
=>
{
if
(
this
.
selectedRowKeys
.
indexOf
(
index
)
!=-
1
){
eobReceiptList
.
push
({
id
:
item
.
id
,
receiptNo
:
item
.
receiptNo
,
})
}
})
let
formData
=
{
...
this
.
form
,
eobReceiptList
:
eobReceiptList
,
eobDate
:
moment
(
this
.
form
.
dateRange
[
0
]).
format
(
'
YYYY-MM-DD 00:00:00
'
)
}
delete
formData
.
dateRange
;
this
.
$apis
.
SAVEEOBRECEIPTINFO
(
formData
)
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
新建成功
"
);
this
.
handlerReset
();
this
.
selectedRowKeys
=
[];
this
.
getData
();
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
}
},
};
</
script
>
...
...
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