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
2fcb7e00
Commit
2fcb7e00
authored
Feb 21, 2022
by
yanglilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改保险公司信息'
parent
964daf4a
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
187 additions
and
96 deletions
+187
-96
index.html
public/index.html
+1
-1
charge-query.js
src/api/apis_moudles/charge-query.js
+1
-2
charge-query.js
src/api/funcs_modules/charge-query.js
+5
-1
menu.js
src/router/modules/menu.js
+1
-1
index.vue
src/views/charge-query/index.vue
+23
-61
company.vue
src/views/info/company.vue
+2
-15
companyDetail.vue
src/views/info/companyDetail.vue
+31
-2
companyDiscount.vue
src/views/info/components/companyDiscount.vue
+3
-3
companyInfo.vue
src/views/info/components/companyInfo.vue
+92
-6
index.vue
src/views/info/index.vue
+18
-1
Header.vue
src/views/layout/components/Header.vue
+10
-3
No files found.
public/index.html
View file @
2fcb7e00
...
...
@@ -8,7 +8,7 @@
<title><
%=
webpackConfig
.
name
%
></title>
<script
type=
"text/javascript"
src=
"//at.alicdn.com/t/font_3020450_
5d4bvzz8pmi
.js"
src=
"//at.alicdn.com/t/font_3020450_
tux1s49rh3f
.js"
></script>
</head>
<body>
...
...
src/api/apis_moudles/charge-query.js
View file @
2fcb7e00
...
...
@@ -11,6 +11,5 @@ export default {
getChargeListDetail
:
"
/backstage/auth/receiptDetailList
"
,
//账单明细
getReceiptPaymentDetail
:
"
/backstage/auth/receiptPaymentDetail
"
,
//账单明细
queryCiReceipSendList
:
"
/backstage/auth/queryCiReceipSendList
"
,
//理赔件账单寄送查询
receiptSettlement
:
"
/backstage/auth/receiptSettlement
"
,
//账单结算
};
src/api/funcs_modules/charge-query.js
View file @
2fcb7e00
...
...
@@ -45,6 +45,10 @@ const GETRECEIPTPAYMENTDETAIL= function (data) {
const
QUERYCIRECEIPSENDLIST
=
function
(
data
)
{
return
req
.
post
(
apis
.
queryCiReceipSendList
,
data
);
};
// 账单结算
const
RECEIPTSETTLEMENT
=
function
(
data
)
{
return
req
.
post
(
apis
.
receiptSettlement
,
data
);
};
// 对象数组
...
...
@@ -60,6 +64,6 @@ export default {
GETCHARGELISTDETAIL
,
GETRECEIPTPAYMENTDETAIL
,
QUERYCIRECEIPSENDLIST
,
RECEIPTSETTLEMENT
,
};
src/router/modules/menu.js
View file @
2fcb7e00
...
...
@@ -86,7 +86,7 @@ export default [
{
path
:
"
/info/company
"
,
title
:
"
保险公司信息
"
,
}
,
}
],
},
{
...
...
src/views/charge-query/index.vue
View file @
2fcb7e00
...
...
@@ -77,34 +77,15 @@
{{
index
+
1
}}
</
template
>
<
template
slot=
"operation"
slot-scope=
"record"
>
<a-button
type=
"link"
@
click.stop=
"
editEvt(record)"
>
修改
</a-button>
<a-button
type=
"link"
@
click.stop=
"
receiptEvt(record)"
>
结算
</a-button>
<a-button
type=
"link"
class=
"success"
@
click.stop=
"detailEvt(record)"
>
查看
</a-button>
<a-popconfirm
title=
"你确定要关闭吗?"
ok-text=
"确定"
cancel-text=
"取消"
@
confirm=
"deleteData"
>
<
!--
<
a-popconfirm
title=
"你确定要关闭吗?"
ok-text=
"确定"
cancel-text=
"取消"
@
confirm=
"deleteData"
>
<a-button
type=
"link"
class=
"danger"
>
删除
</a-button>
</a-popconfirm>
</a-popconfirm>
-->
</
template
>
</a-table>
<!--分页-->
<BurtPagination
:pagination=
"pagination"
@
pageChange=
"_getChargeList"
/>
<a-modal
title=
"编辑"
:visible=
"dialogShow"
width=
"700px"
:maskClosable=
"false"
okText=
"确定"
cancelText=
"取消"
@
ok=
"handleEditOK"
@
cancel=
"dialogShow = false"
>
<a-form-model
ref=
"editForm"
:model=
"editFormObj"
:rules=
"editRules"
>
<a-row
:gutter=
"30"
>
<a-col
:lg=
"12"
:xs=
"24"
>
<a-form-model-item
label=
"病历号"
prop=
"patientNo"
>
<a-input
v-model.trim=
"editFormObj.patientNo"
placeholder=
"病历号"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:xs=
"24"
>
<a-form-model-item
label=
"客户姓名"
prop=
"patientName"
>
<a-input
v-model.trim=
"editFormObj.patientName"
placeholder=
"客户姓名"
/>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-modal>
</div>
</template>
...
...
@@ -133,10 +114,9 @@ export default {
{
title
:
"
保险欠费
"
,
dataIndex
:
"
insuranceArrearsAmount
"
,
width
:
180
},
{
title
:
"
个人欠费
"
,
dataIndex
:
"
personalArrearsAmount
"
,
width
:
180
},
{
title
:
"
发票号码
"
,
dataIndex
:
"
receiptNo
"
,
width
:
180
},
{
title
:
"
操作
"
,
key
:
"
operation
"
,
width
:
"
175px
"
,
fixed
:
"
right
"
,
scopedSlots
:
{
customRender
:
"
operation
"
}},
{
title
:
"
操作
"
,
key
:
"
operation
"
,
width
:
"
175px
"
,
fixed
:
"
right
"
,
scopedSlots
:
{
customRender
:
"
operation
"
}
,
align
:
"
center
"
},
];
return
{
dialogShow
:
false
,
columns
,
form
:
{},
pageForm
:
{
...
...
@@ -168,15 +148,6 @@ export default {
pageSize
:
10
,
total
:
0
,
},
editFormObj
:
{
id
:
""
,
patientNo
:
''
,
patientName
:
''
,
},
editRules
:
{
patientNo
:
[{
required
:
true
,
message
:
"
病历号
"
,
trigger
:
"
blur
"
}],
patientName
:
[{
required
:
true
,
message
:
"
客户姓名
"
,
trigger
:
"
blur
"
}],
},
};
},
components
:
{
...
...
@@ -219,7 +190,6 @@ export default {
}
else
{
this
.
$message
.
success
(
res
.
returnMsg
);
}
});
},
// 选中就诊时间
...
...
@@ -238,30 +208,25 @@ export default {
query
:
{
receiptNo
},
});
},
editEvt
(
record
)
{
this
.
editFormObj
=
{
id
:
record
.
id
||
""
,
patientNo
:
record
.
patientNo
||
""
,
patientName
:
record
.
patientName
||
""
,
};
this
.
dialogShow
=
true
;
},
//编辑保存
handleEditOK
()
{
this
.
$refs
.
editForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
//下面接口没有给到
this
.
$apis
.
DOCTORUPDATE
(
this
.
editFormObj
)
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
编辑成功
"
);
this
.
dialogShow
=
false
;
this
.
_getChargeList
();
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
}
//账单结算
receiptEvt
(
record
){
this
.
$modal
.
confirm
({
title
:
"
结算
"
,
content
:
"
确定结算该账单?
"
,
okText
:
"
确定
"
,
cancelText
:
"
取消
"
,
onOk
:
()
=>
{
this
.
$apis
.
RECEIPTSETTLEMENT
({
id
:
record
.
id
}).
then
((
res
)
=>
{
if
(
res
.
returnCode
===
"
0000
"
)
{
this
.
$message
.
success
(
'
结算成功
'
);
this
.
_getChargeList
();
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
});
},
handlerSearch
()
{
...
...
@@ -274,9 +239,6 @@ export default {
this
.
_getChargeList
();
});
},
deleteData
()
{
this
.
$message
.
success
(
"
删除成功
"
);
},
// 新建账单信息
addNewCharge
()
{
// this.$router.push("/customer/edit");
...
...
src/views/info/company.vue
View file @
2fcb7e00
...
...
@@ -134,22 +134,9 @@ export default {
},
//新增保险公司
addCompany
(){
this
.
$
apis
.
CREATEPAY
({
...
this
.
detailObj
this
.
$
router
.
push
({
path
:
'
/info/companyDetail
'
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
新增成功
"
);
this
.
$router
.
push
({
path
:
'
/info/companyDetail
'
,
query
:
{
id
:
res
.
content
}
})
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
//编辑
editEvt
(
record
)
{
...
...
src/views/info/companyDetail.vue
View file @
2fcb7e00
...
...
@@ -16,6 +16,8 @@ export default {
id
:
''
,
//公司id
detailObj
:
{
//公司详情
discountList
:
[],
//折扣列表
claimApplicationTemplate
:
[],
authApplicationTemplate
:
[]
}
}
},
...
...
@@ -25,7 +27,9 @@ export default {
},
created
(){
this
.
id
=
this
.
$route
.
query
.
id
;
this
.
getDetail
();
if
(
this
.
id
){
this
.
getDetail
();
}
},
methods
:
{
//获取详细信息
...
...
@@ -35,7 +39,32 @@ export default {
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
detailObj
=
res
.
content
||
{};
let
data
=
res
.
content
||
{};
if
(
data
.
claimApplicationTemplate
){
data
.
claimApplicationTemplate
=
[
{
uid
:
Math
.
random
()
*
10000
,
name
:
data
.
claimApplicationTemplate
.
slice
(
data
.
claimApplicationTemplate
.
lastIndexOf
(
'
/
'
)
+
1
),
status
:
'
done
'
,
url
:
data
.
claimApplicationTemplate
,
}
]
}
else
{
data
.
claimApplicationTemplate
=
[];
}
if
(
data
.
authApplicationTemplate
){
data
.
authApplicationTemplate
=
[
{
uid
:
Math
.
random
()
*
10000
,
name
:
data
.
authApplicationTemplate
.
slice
(
data
.
authApplicationTemplate
.
lastIndexOf
(
'
/
'
)
+
1
),
status
:
'
done
'
,
url
:
data
.
authApplicationTemplate
,
}
]
}
else
{
data
.
authApplicationTemplate
=
[];
}
this
.
detailObj
=
data
;
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
...
...
src/views/info/components/companyDiscount.vue
View file @
2fcb7e00
...
...
@@ -4,10 +4,10 @@
<div
class=
"flex btns-div"
>
<div
class=
"title-div"
>
折扣信息
</div>
<div
class=
"flex btns"
>
<a-button
type=
"primary"
icon=
"plus"
@
click.stop=
"editEvt(
{})">新增
</a-button>
<a-button
type=
"primary"
>
医科理赔申请书模版
</a-button>
<a-button
type=
"primary"
icon=
"plus"
@
click.stop=
"editEvt(
{})">新增
折扣信息
</a-button>
<
!--
<
a-button
type=
"primary"
>
医科理赔申请书模版
</a-button>
<a-button
type=
"primary"
>
齿科理赔申请书模版
</a-button>
<a-button
type=
"primary"
>
预授权申请书模版
</a-button>
<a-button
type=
"primary"
>
预授权申请书模版
</a-button>
-->
</div>
</div>
<a-table
:columns=
"columns"
:data-source=
"tableList"
:scroll=
"
{ x: 'max-content' }" :pagination="false" >
...
...
src/views/info/components/companyInfo.vue
View file @
2fcb7e00
...
...
@@ -12,9 +12,14 @@
<a-input
v-model=
"detailObj.englishName"
placeholder=
"保险公司英文名称"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"保险公司Code"
>
<a-input
v-model=
"detailObj.payorCode"
placeholder=
"保险公司Code"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"国家"
>
<a-select
v-model=
"detailObj.country"
placeholder=
"请选择"
>
<a-select
v-model=
"detailObj.country"
placeholder=
"请选择"
showSearch
>
<a-select-option
v-for=
"(item) in countyList"
:value=
"item.descCh"
:key=
"item.id"
>
{{
item
.
descCh
}}
</a-select-option>
</a-select>
</a-form-model-item>
...
...
@@ -108,12 +113,32 @@
<a-input
type=
"password"
v-model=
"detailObj.loginPwd"
placeholder=
"密码"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"理赔申请书模板"
>
<a-upload
name=
"file"
:multiple=
"false"
accept=
"application/pdf"
:showUploadList=
"true"
:fileList=
"detailObj.claimApplicationTemplate"
:customRequest=
"file => uploadPdf(file, 1)"
:remove=
"(file)=> removeFile(file, 1)"
>
<a-button
type=
"primary"
>
<Icon
name=
"ssiupload"
:size=
"18"
/>
上传模板
</a-button>
</a-upload>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"预授权申请书模板"
>
<a-upload
name=
"file"
:multiple=
"false"
accept=
"application/pdf"
:showUploadList=
"true"
:fileList=
"detailObj.authApplicationTemplate"
:customRequest=
"file => uploadPdf(file, 2)"
:remove=
"(file)=> removeFile(file, 2)"
>
<a-button
type=
"primary"
>
<Icon
name=
"ssiupload"
:size=
"18"
/>
上传模板
</a-button>
</a-upload>
</a-form-model-item>
</a-col>
</a-row>
<a-row>
<a-col
:sm=
"24"
class=
"none-label"
>
<a-form-model-item
label=
"button"
>
<a-button
type=
"primary"
@
click=
"handlerSava"
>
<Icon
name=
"ssibaocun"
:size=
"14"
/>
保存
<Icon
:name=
"detailObj.id?'ssibaocun':'ssiadd'"
:size=
"14"
/>
{{
detailObj
.
id
?
'
保存
'
:
'
新建
'
}}
</a-button>
</a-form-model-item>
</a-col>
...
...
@@ -125,7 +150,10 @@
<
script
>
export
default
{
props
:
{
detailObj
:
{}
detailObj
:
{
claimApplicationTemplate
:
[],
authApplicationTemplate
:
[]
}
},
data
()
{
return
{
...
...
@@ -136,6 +164,20 @@ export default {
this
.
getRefcdByRefgrp
();
},
methods
:
{
comfileList1
(){
if
(
this
.
detailObj
.
claimApplicationTemplate
){
return
[
{
uid
:
Math
.
random
()
*
10000
,
name
:
this
.
detailObj
.
claimApplicationTemplate
.
slice
(
this
.
detailObj
.
claimApplicationTemplate
.
lastIndexOf
(
'
/
'
)
+
1
),
status
:
'
done
'
,
url
:
this
.
detailObj
.
claimApplicationTemplate
,
}
]
}
else
{
return
[];
}
},
// 获取国家列表
getRefcdByRefgrp
()
{
this
.
$apis
.
GETREFCDBYREFGRP
({
...
...
@@ -147,16 +189,60 @@ export default {
},
//新建保存
handlerSava
(){
this
.
$apis
.
PAYORUPDATE
({
...
this
.
detailObj
})
let
formData
=
{
...
this
.
detailObj
,
claimApplicationTemplate
:
this
.
detailObj
.
claimApplicationTemplate
.
length
>
0
?
this
.
detailObj
.
claimApplicationTemplate
[
0
].
url
:
''
,
authApplicationTemplate
:
this
.
detailObj
.
authApplicationTemplate
.
length
>
0
?
this
.
detailObj
.
authApplicationTemplate
[
0
].
url
:
''
,
}
let
api
=
this
.
detailObj
.
id
?
'
PAYORUPDATE
'
:
'
CREATEPAY
'
;
this
.
$apis
[
api
](
formData
)
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
$message
.
success
(
"
保存成功
"
);
this
.
$router
.
replace
({
path
:
'
/info/companyDetail
'
,
query
:
{
id
:
res
.
content
}
})
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
removeFile
(
file
,
type
=
1
){
return
new
Promise
((
resolve
)
=>
{
if
(
type
==
1
){
this
.
detailObj
.
claimApplicationTemplate
=
[];
}
else
{
this
.
detailObj
.
authApplicationTemplate
=
[];
}
resolve
();
});
},
//上传pdf
uploadPdf
(
fileData
,
type
=
1
){
let
formData
=
new
FormData
();
formData
.
append
(
"
file
"
,
fileData
.
file
);
this
.
$apis
.
UPLOADIMG
(
formData
)
.
then
((
res
)
=>
{
fileData
.
onSuccess
();
let
fileList
=
[
{
uid
:
Math
.
random
()
*
10000
,
name
:
res
.
title
,
status
:
'
done
'
,
url
:
res
.
url
,
}
]
if
(
type
==
1
){
this
.
detailObj
.
claimApplicationTemplate
=
fileList
;
}
else
{
this
.
detailObj
.
authApplicationTemplate
=
fileList
;
}
this
.
$forceUpdate
();
})
}
},
};
...
...
src/views/info/index.vue
View file @
2fcb7e00
...
...
@@ -127,6 +127,13 @@
</a-select>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"语言"
prop=
"language"
>
<a-select
v-model=
"editFormObj.language"
placeholder=
"请选择"
showSearch
allowClear
>
<a-select-option
v-for=
"(item) in languageList"
:value=
"item.descCh"
:key=
"item.id"
>
{{item.descCh}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:sm=
"24"
>
<a-form-model-item
label=
"科室"
prop=
"specialtyList"
>
<a-select
v-model=
"editFormObj.specialtyList"
placeholder=
"请选择"
mode=
"multiple"
showSearch
allowClear
>
...
...
@@ -167,10 +174,12 @@ export default {
specialtyList
:
[],
//科室列表
specialtyObj
:
{},
//科室对象
countyList
:
[],
languageList
:
[],
editFormObj
:
{
id
:
""
,
doctorDescLang1
:
''
,
country
:
''
,
language
:
''
,
specialtyList
:
[],
},
editRules
:
{
...
...
@@ -200,14 +209,21 @@ export default {
this
.
pagination
.
pageNum
=
1
;
this
.
getData
();
},
// 获取国家列表
getRefcdByRefgrp
()
{
// 获取国家列表
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
refgrp
:
"
COUNTRY_MAPPING
"
}).
then
((
res
)
=>
{
this
.
countyList
=
res
.
content
||
[];
});
// 获取语言列表
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
refgrp
:
"
LANGUAGE_TYPE
"
}).
then
((
res
)
=>
{
this
.
languageList
=
res
.
content
||
[];
});
},
//获取科室
getSpecialtyList
()
{
...
...
@@ -280,6 +296,7 @@ export default {
id
:
record
.
id
||
""
,
doctorDescLang1
:
record
.
doctorDescLang1
||
""
,
country
:
record
.
country
||
""
,
language
:
record
.
language
||
""
,
specialtyList
:
record
.
specialtyList
||
[],
};
this
.
dialogShow
=
true
;
...
...
src/views/layout/components/Header.vue
View file @
2fcb7e00
...
...
@@ -2,15 +2,18 @@
<div
class=
"header-container"
>
<div
class=
"logo"
>
{{
title
}}
</div>
<div
class=
"user-info"
>
<p
class=
"name"
><Icon
:name=
"'ssicb'"
:size=
"24"
/>
{{
userInfo
.
name
}}
</p>
<p
class=
"flex name"
>
<Icon
:name=
"'ssicb'"
:size=
"24"
/>
{{
userInfo
.
name
}}
</p>
<a-dropdown
class=
"avator"
class=
"
flex
avator"
:getPopupContainer=
"getPopupContainer"
placement=
"bottomRight"
>
<div
@
click=
"(e) => e.preventDefault()"
>
<img
v-if=
"userInfo.avator"
:src=
"userInfo.avator"
alt=
"avator"
/>
<Icon
v-else
:name=
"'ssiuser'"
:size=
"
36
"
/>
<Icon
v-else
:name=
"'ssiuser'"
:size=
"
24
"
/>
</div>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"loginOut"
>
退出登录
</a-menu-item>
...
...
@@ -52,6 +55,10 @@ export default {
</
script
>
<
style
lang=
"less"
>
.flex{
display: flex;
align-items: center;
}
.header-container {
position: fixed;
width: 100%;
...
...
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