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
3 years ago
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 {
...
@@ -7,4 +7,5 @@ export default {
uploadImg
:
"
/common/upload
"
,
uploadImg
:
"
/common/upload
"
,
specialtyList
:
"
/backstage/auth/specialtyList
"
,
specialtyList
:
"
/backstage/auth/specialtyList
"
,
coverageCode
:
"
/backstage/auth/coverageMasterList
"
,
coverageCode
:
"
/backstage/auth/coverageMasterList
"
,
getRefcdByRefgrp
:
"
/common/getRefcdByRefgrp
"
,
//获取快递列表
};
};
This diff is collapsed.
Click to expand it.
src/api/apis_moudles/verification.js
View file @
3de191c7
// 核销管理api
// 核销管理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
"
,
//删除回款
};
This diff is collapsed.
Click to expand it.
src/api/funcs_modules/base.js
View file @
3de191c7
...
@@ -41,6 +41,11 @@ const GETCOVERAGECODE = (data) => {
...
@@ -41,6 +41,11 @@ const GETCOVERAGECODE = (data) => {
return
req
.
post
(
apis
.
coverageCode
,
data
);
return
req
.
post
(
apis
.
coverageCode
,
data
);
};
};
// 获取快递列表
const
GETREFCDBYREFGRP
=
(
data
)
=>
{
return
req
.
post
(
apis
.
getRefcdByRefgrp
,
data
);
};
// 对象数组
// 对象数组
export
default
{
export
default
{
GETUSERINFO
,
GETUSERINFO
,
...
@@ -50,4 +55,5 @@ export default {
...
@@ -50,4 +55,5 @@ export default {
GETSPECIALTYLIST
,
GETSPECIALTYLIST
,
UPLOADIMG
,
UPLOADIMG
,
GETCOVERAGECODE
,
GETCOVERAGECODE
,
GETREFCDBYREFGRP
,
};
};
This diff is collapsed.
Click to expand it.
src/api/funcs_modules/verification.js
View file @
3de191c7
// 核销管理函数库
// 核销管理函数库
// import apis from "../apis_moudles/index";
import
apis
from
"
../apis_moudles/verification.js
"
;
// import req from "../request";
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
This diff is collapsed.
Click to expand it.
src/views/charge-query/lpjManage.vue
View file @
3de191c7
...
@@ -48,10 +48,8 @@
...
@@ -48,10 +48,8 @@
</a-col>
</a-col>
<a-col
:lg=
"4"
:sm=
"12"
>
<a-col
:lg=
"4"
:sm=
"12"
>
<a-form-model-item
label=
"快递公司"
>
<a-form-model-item
label=
"快递公司"
>
<a-select
v-model=
"form.sendCompany"
placeholder=
"请选择快递公司"
allowClear
>
<a-select
v-model=
"form.sendCompany"
placeholder=
"请选择快递公司"
showSearch
allowClear
>
<a-select-option
:value=
"1"
>
顺丰
</a-select-option>
<a-select-option
v-for=
"(item) in expressList"
:key=
"item.id"
:value=
"item.descCh"
>
{{
item
.
descCh
}}
</a-select-option>
<a-select-option
:value=
"2"
>
韵达
</a-select-option>
<a-select-option
:value=
"3"
>
中通
</a-select-option>
</a-select>
</a-select>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
...
@@ -90,7 +88,6 @@
...
@@ -90,7 +88,6 @@
</a-button>
</a-button>
</a-form-model-item>
</a-form-model-item>
</div>
</div>
</a-col>
</a-col>
</a-row>
</a-row>
</a-form-model>
</a-form-model>
...
@@ -192,6 +189,7 @@ export default {
...
@@ -192,6 +189,7 @@ export default {
sendRemark
:
''
sendRemark
:
''
},
},
companyOptions
:
[],
//保险公司
companyOptions
:
[],
//保险公司
expressList
:
[],
//快递列表
selectedRowKeys
:
[],
// Check here to configure the default column
selectedRowKeys
:
[],
// Check here to configure the default column
dataList
:
[],
dataList
:
[],
pagination
:
{
pagination
:
{
...
@@ -218,11 +216,22 @@ export default {
...
@@ -218,11 +216,22 @@ export default {
created
()
{
created
()
{
this
.
getData
();
this
.
getData
();
this
.
_getCompanyOptions
();
this
.
_getCompanyOptions
();
this
.
getRefcdByRefgrp
();
},
},
methods
:
{
methods
:
{
moment
,
moment
,
onSelectChange
(
selectedRowKeys
)
{
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
()
{
getData
()
{
...
@@ -251,6 +260,15 @@ export default {
...
@@ -251,6 +260,15 @@ export default {
this
.
companyOptions
=
res
.
content
||
[];
this
.
companyOptions
=
res
.
content
||
[];
});
});
},
},
// 获取快递列表
getRefcdByRefgrp
()
{
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
refgrp
:
"
SEND_COMPANY
"
}).
then
((
res
)
=>
{
this
.
expressList
=
res
.
content
||
[];
});
},
// 重置
// 重置
handlerReset
()
{
handlerReset
()
{
this
.
form
=
{
this
.
form
=
{
...
@@ -372,6 +390,7 @@ export default {
...
@@ -372,6 +390,7 @@ export default {
if
(
res
.
returnCode
==
"
0000
"
)
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
新建成功
"
);
this
.
$message
.
success
(
"
新建成功
"
);
this
.
handlerReset
();
this
.
handlerReset
();
this
.
selectedRowKeys
=
[];
this
.
getData
();
this
.
getData
();
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
this
.
$message
.
error
(
res
.
returnMsg
);
...
...
This diff is collapsed.
Click to expand it.
src/views/verification/collection.vue
View file @
3de191c7
...
@@ -13,11 +13,7 @@
...
@@ -13,11 +13,7 @@
</a-col>
</a-col>
<a-col
:lg=
"5"
:sm=
"12"
>
<a-col
:lg=
"5"
:sm=
"12"
>
<a-form-model-item
label=
"回款日期"
>
<a-form-model-item
label=
"回款日期"
>
<a-date-picker
<a-date-picker
format=
"YYYY年MM月DD日"
v-model=
"form.date"
placeholder=
"选择日期"
/>
format=
"YYYY年MM月DD日"
v-model=
"form.date"
placeholder=
"选择日期"
/>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:lg=
"5"
:sm=
"12"
>
<a-col
:lg=
"5"
:sm=
"12"
>
...
@@ -30,20 +26,12 @@
...
@@ -30,20 +26,12 @@
</a-col>
</a-col>
<a-col
:lg=
"4"
:sm=
"12"
>
<a-col
:lg=
"4"
:sm=
"12"
>
<a-form-model-item
label=
"回款金额(人民币)"
>
<a-form-model-item
label=
"回款金额(人民币)"
>
<a-input
<a-input
type=
"number"
v-model=
"form.mrnNo"
placeholder=
"请输入金额"
/>
type=
"number"
v-model=
"form.mrnNo"
placeholder=
"请输入金额"
/>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:lg=
"4"
:sm=
"12"
>
<a-col
:lg=
"4"
:sm=
"12"
>
<a-form-model-item
label=
"回款金额(美元)"
>
<a-form-model-item
label=
"回款金额(美元)"
>
<a-input
<a-input
type=
"number"
v-model=
"form.mrnNo"
placeholder=
"请输入金额"
/>
type=
"number"
v-model=
"form.mrnNo"
placeholder=
"请输入金额"
/>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-col
:lg=
"6"
:sm=
"12"
>
...
@@ -68,18 +56,16 @@
...
@@ -68,18 +56,16 @@
</a-row>
</a-row>
</a-form-model>
</a-form-model>
<!-- table -->
<!-- table -->
<a-table
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: true }" :pagination="false" >
:columns=
"columns"
<template
slot=
"idx"
slot-scope=
"text ,record, index"
>
:data-source=
"dataList"
{{
index
+
1
}}
:scroll=
"
{ x: true }"
</
template
>
:pagination="false"
<
template
slot=
"eobSts"
slot-scope=
"text"
>
>
{{
text
==
1
?
'
待回款
'
:
'
已回款
'
}}
<template
slot=
"operation"
slot-scope=
"record, index"
>
</
template
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
>
修改
</a-button>
<a-button
type=
"link"
>
修改
</a-button>
<a-button
type=
"link"
class=
"success"
>
新增
</a-button>
<a-button
v-if=
"record.backMoneyNo"
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button>
<a-button
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button
>
</
template
>
</
template
>
</a-table>
</a-table>
<BurtPagination
:pagination=
"pagination"
@
pageChange=
"getData"
/>
<BurtPagination
:pagination=
"pagination"
@
pageChange=
"getData"
/>
...
@@ -88,32 +74,17 @@
...
@@ -88,32 +74,17 @@
<
script
>
<
script
>
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
moment
from
"
moment
"
;
const
columns
=
[
const
columns
=
[
{
title
:
"
序号
"
,
dataIndex
:
"
mrnNo
"
,
ellipsis
:
true
,
width
:
72
},
{
title
:
"
序号
"
,
dataIndex
:
"
idx
"
,
ellipsis
:
true
,
width
:
72
,
scopedSlots
:
{
customRender
:
"
idx
"
},
},
{
title
:
"
EOB名称
"
,
dataIndex
:
"
patient
Name
"
,
ellipsis
:
true
,
width
:
195
},
{
title
:
"
EOB名称
"
,
dataIndex
:
"
eob
Name
"
,
ellipsis
:
true
,
width
:
195
},
{
title
:
"
核销时间
"
,
dataIndex
:
"
patientName2
"
,
ellipsis
:
true
,
width
:
110
},
{
title
:
"
核销时间
"
,
dataIndex
:
"
patientName2
"
,
ellipsis
:
true
,
width
:
110
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
patientName3
"
,
ellipsis
:
true
,
width
:
110
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
ellipsis
:
true
,
width
:
110
},
{
title
:
"
EOB状态
"
,
dataIndex
:
"
patientName9
"
,
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赔付金额(人民币)
"
,
{
title
:
"
EOB赔付金额(美元)
"
,
dataIndex
:
"
eobAmountUsd
"
,
ellipsis
:
true
,
width
:
190
,},
dataIndex
:
"
patientName4
"
,
{
title
:
"
汇率差
"
,
dataIndex
:
"
backExchangeRate
"
,
ellipsis
:
true
,
width
:
110
},
ellipsis
:
true
,
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
170px
"
},
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
"
,
},
];
];
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -133,7 +104,11 @@ export default {
...
@@ -133,7 +104,11 @@ export default {
components
:
{
components
:
{
BurtPagination
,
BurtPagination
,
},
},
created
(){
this
.
getData
();
},
methods
:
{
methods
:
{
moment
,
pageChange
(
pager
)
{
pageChange
(
pager
)
{
const
{
current
}
=
pager
;
const
{
current
}
=
pager
;
this
.
pagination
.
pageNum
=
current
;
this
.
pagination
.
pageNum
=
current
;
...
@@ -143,7 +118,21 @@ export default {
...
@@ -143,7 +118,21 @@ export default {
this
.
pagination
.
pageNum
=
1
;
this
.
pagination
.
pageNum
=
1
;
this
.
getData
();
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
)
{
delRecord
(
index
)
{
this
.
$modal
.
confirm
({
this
.
$modal
.
confirm
({
...
@@ -152,14 +141,16 @@ export default {
...
@@ -152,14 +141,16 @@ export default {
okText
:
"
确认
"
,
okText
:
"
确认
"
,
cancelText
:
"
取消
"
,
cancelText
:
"
取消
"
,
onOk
:
()
=>
{
onOk
:
()
=>
{
this
.
$store
this
.
$apis
.
DELETEBACKMONEY
({
.
dispatch
(
"
medicinal/delMedicine
"
,
{
backMoneyNo
:
this
.
dataList
[
index
].
backMoneyNo
,
id
:
this
.
dataList
[
index
].
id
,
status
:
-
1
,
})
})
.
then
(()
=>
{
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
删除成功
"
);
this
.
$message
.
success
(
"
删除成功
"
);
this
.
dataList
.
splice
(
index
,
1
);
this
.
dataList
.
splice
(
index
,
1
);
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
});
},
},
onCancel
:
()
=>
{},
onCancel
:
()
=>
{},
...
...
This diff is collapsed.
Click to expand it.
src/views/verification/index.vue
View file @
3de191c7
...
@@ -4,60 +4,49 @@
...
@@ -4,60 +4,49 @@
<a-form-model
ref=
"form"
layout=
"vertical"
:model=
"form"
>
<a-form-model
ref=
"form"
layout=
"vertical"
:model=
"form"
>
<a-row
:gutter=
"30"
>
<a-row
:gutter=
"30"
>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"保障公司"
>
<a-form-model-item
label=
"保险公司"
>
<a-select
v-model=
"form.payorId"
placeholder=
"请选择"
>
<a-select
v-model=
"form.payorCode"
placeholder=
"请选择保险公司"
allowClear
>
<a-select-option
value=
"1"
>
待核销
</a-select-option>
<a-select-option
v-for=
"item in companyOptions"
:key=
"item.id"
:value=
"item.payorCode"
>
<a-select-option
value=
"2"
>
已核销
</a-select-option>
{{
item
.
longName
}}
</a-select-option>
</a-select>
</a-select>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"EOB收到日期"
>
<a-form-model-item
label=
"EOB收到日期"
>
<a-range-picker
<a-range-picker
format=
"YYYY年MM月DD日"
v-model=
"form.dateRange"
:placeholder=
"['开始日期', '结束日期']"
/>
format=
"YYYY年MM月DD日"
v-model=
"form.dateRange"
:placeholder=
"['开始日期', '结束日期']"
/>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"EOB名称"
>
<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-form-model-item>
</a-col>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"EOB金额(人民币)"
>
<a-form-model-item
label=
"EOB金额(人民币)"
>
<a-input
<a-input
type=
"number"
v-model=
"form.eobAmountCny"
placeholder=
"请输入金额"
/>
type=
"number"
v-model=
"form.mrnNo"
placeholder=
"请输入金额"
/>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"EOB金额(美元)"
>
<a-form-model-item
label=
"EOB金额(美元)"
>
<a-input
<a-input
type=
"number"
v-model=
"form.eobAmountUsd"
placeholder=
"请输入金额"
/>
type=
"number"
v-model=
"form.mrnNo"
placeholder=
"请输入金额"
/>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"EOB状态"
>
<a-form-model-item
label=
"EOB状态"
>
<a-select
v-model=
"form.
payorId
"
placeholder=
"请选择"
>
<a-select
v-model=
"form.
status
"
placeholder=
"请选择"
>
<a-select-option
value=
"1"
>
待核销
</a-select-option>
<a-select-option
value=
"1"
>
已寄送
</a-select-option>
<a-select-option
value=
"2"
>
已核销
</a-select-option>
<a-select-option
value=
"2"
>
未寄送
</a-select-option>
</a-select>
</a-select>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:md=
"24"
:lg=
"12"
class=
"none-label"
>
<a-col
:md=
"24"
:lg=
"12"
class=
"none-label"
>
<a-form-model-item
label=
"button"
>
<a-form-model-item
label=
"button"
>
<a-button
type=
"primary"
>
导出
</a-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
<Icon
name=
"ssiadd"
:size=
"14"
/>
新建EOB
</a-button>
</a-button>
<a-button
class=
"mar-left10"
type=
"primary"
>
<a-button
class=
"mar-left10"
type=
"primary"
@
click.stop=
"handlerReset"
>
<Icon
name=
"ssireset"
:size=
"14"
/>
重置
<Icon
name=
"ssireset"
:size=
"14"
/>
重置
</a-button>
</a-button>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"handlerSearch"
>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"handlerSearch"
>
...
@@ -68,18 +57,18 @@
...
@@ -68,18 +57,18 @@
</a-row>
</a-row>
</a-form-model>
</a-form-model>
<!-- table -->
<!-- table -->
<a-table
<a-table
:columns=
"columns"
:data-source=
"dataList"
:scroll=
"
{ x: true }" :pagination="false"
:columns=
"columns"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }">
:data-source=
"dataList"
<template
slot=
"visitTimeStart"
slot-scope=
"text, record"
>
:scroll=
"
{ x: true }"
<span>
{{
record
.
visitTimeStart
?
moment
(
record
.
visitTimeStart
).
format
(
'
YYYY-MM-DD
'
):
''
}}
</span>
~
:pagination="false"
<span>
{{
record
.
visitTimeEnd
?
moment
(
record
.
visitTimeEnd
).
format
(
'
YYYY-MM-DD
'
):
''
}}
</span>
>
</
template
>
<template
slot=
"operation"
slot-scope=
"record, index"
>
<
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"
>
修改
</a-button>
<a-button
type=
"link"
class=
"success"
>
新增
</a-button>
<a-button
v-if=
"record.eobNo"
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button>
<a-button
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button
>
</
template
>
</
template
>
</a-table>
</a-table>
<BurtPagination
:pagination=
"pagination"
@
pageChange=
"getData"
/>
<BurtPagination
:pagination=
"pagination"
@
pageChange=
"getData"
/>
...
@@ -88,32 +77,22 @@
...
@@ -88,32 +77,22 @@
<
script
>
<
script
>
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
moment
from
"
moment
"
;
const
columns
=
[
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
:
"
patientName
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
pa
tientName2
"
,
ellipsis
:
true
,
width
:
80
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
pa
yorName
"
,
ellipsis
:
true
,
width
:
80
},
{
title
:
"
就诊日期
"
,
dataIndex
:
"
patientName3
"
,
ellipsis
:
true
,
width
:
110
},
{
title
:
"
就诊日期
"
,
dataIndex
:
"
visitTimeStart
"
,
ellipsis
:
true
,
width
:
110
,
scopedSlots
:
{
customRender
:
"
visitTimeStart
"
}
},
{
title
:
"
理赔状态
"
,
dataIndex
:
"
patientName0
"
,
ellipsis
:
true
,
width
:
90
},
{
title
:
"
理赔状态
"
,
dataIndex
:
"
sendSts
"
,
ellipsis
:
true
,
width
:
90
,
scopedSlots
:
{
customRender
:
"
sendSts
"
}
},
{
title
:
"
账单金额
"
,
dataIndex
:
"
patientName4
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
账单金额
"
,
dataIndex
:
"
receiptAmount
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
自付金额
"
,
dataIndex
:
"
patientName5
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
自付金额
"
,
dataIndex
:
"
selfpaidAmount
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
理赔金额
"
,
dataIndex
:
"
patientName6
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
理赔金额
"
,
dataIndex
:
"
eobPaidAmount
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
回款金额
"
,
dataIndex
:
"
patientName7
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
回款金额
"
,
dataIndex
:
"
patientName7
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
未清金额
"
,
dataIndex
:
"
patientName8
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
未清金额
"
,
dataIndex
:
"
eobRefuseAmount
"
,
ellipsis
:
true
,
width
:
85
},
{
{
title
:
"
保险公司欠费
"
,
dataIndex
:
"
patientName11
"
,
ellipsis
:
true
,
width
:
110
,
},
title
:
"
保险公司欠费
"
,
dataIndex
:
"
patientName9
"
,
ellipsis
:
true
,
width
:
110
,
},
{
title
:
"
个人欠费
"
,
dataIndex
:
"
patientName9
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
个人欠费
"
,
dataIndex
:
"
patientName9
"
,
ellipsis
:
true
,
width
:
85
},
{
title
:
"
备注
"
,
dataIndex
:
"
patientName10
"
,
ellipsis
:
true
,
width
:
120
},
{
title
:
"
备注
"
,
dataIndex
:
"
sendRemark
"
,
ellipsis
:
true
,
width
:
120
},
{
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
170px
"
},
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
170px
"
,
},
];
];
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -121,24 +100,80 @@ export default {
...
@@ -121,24 +100,80 @@ export default {
columns
,
columns
,
form
:
{
form
:
{
dateRange
:
[],
dateRange
:
[],
payorCode
:
''
,
eobName
:
''
,
eobAmountCny
:
''
,
eobAmountUsd
:
''
,
status
:
''
},
},
dataList
:
[],
dataList
:
[],
companyOptions
:
[],
//保险公司
pagination
:
{
pagination
:
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
total
:
0
,
total
:
0
,
},
},
selectedRowKeys
:
[],
// Check here to configure the default column
};
};
},
},
components
:
{
components
:
{
BurtPagination
,
BurtPagination
,
},
},
created
(){
this
.
getData
();
this
.
_getCompanyOptions
();
},
methods
:
{
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
()
{
handlerSearch
()
{
this
.
pagination
.
pageNum
=
1
;
this
.
pagination
.
pageNum
=
1
;
this
.
getData
();
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
)
{
delRecord
(
index
)
{
this
.
$modal
.
confirm
({
this
.
$modal
.
confirm
({
...
@@ -147,11 +182,54 @@ export default {
...
@@ -147,11 +182,54 @@ export default {
okText
:
"
确认
"
,
okText
:
"
确认
"
,
cancelText
:
"
取消
"
,
cancelText
:
"
取消
"
,
onOk
:
()
=>
{
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
:
()
=>
{},
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
>
</
script
>
...
...
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