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
dded8e7b
Commit
dded8e7b
authored
Feb 28, 2022
by
yanglilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'调整'
parent
005a4ec1
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
448 additions
and
27 deletions
+448
-27
menu.js
src/router/modules/menu.js
+1
-1
utilsdictOptions.js
src/utils/utilsdictOptions.js
+9
-0
index.vue
src/views/charge-query/index.vue
+5
-4
lpjManageDetail.vue
src/views/charge-query/lpjManageDetail.vue
+5
-4
index.vue
src/views/customer/info/index.vue
+10
-2
add.vue
src/views/pre-auth/add.vue
+241
-5
feeDetail.vue
src/views/pre-auth/components/feeDetail.vue
+161
-0
index.vue
src/views/welfare/edit/components/condition/index.vue
+1
-1
index.vue
src/views/welfare/edit/index.vue
+13
-8
index.vue
src/views/welfare/info/index.vue
+2
-2
No files found.
src/router/modules/menu.js
View file @
dded8e7b
...
@@ -6,7 +6,7 @@ export default [
...
@@ -6,7 +6,7 @@ export default [
children
:
[
children
:
[
{
{
path
:
"
/customer
"
,
path
:
"
/customer
"
,
title
:
"
客户
信息明细
"
,
title
:
"
客户
查询
"
,
},
},
{
{
path
:
"
/customer/edit
"
,
path
:
"
/customer/edit
"
,
...
...
src/utils/utilsdictOptions.js
View file @
dded8e7b
...
@@ -44,6 +44,14 @@ const ApproveStatusOptions = [
...
@@ -44,6 +44,14 @@ const ApproveStatusOptions = [
{
name
:
'
已通过
'
,
value
:
'
2
'
}
{
name
:
'
已通过
'
,
value
:
'
2
'
}
];
];
//monetUnit
const
MoneyUnitOptions
=
[
{
name
:
'
元
'
,
value
:
'
1
'
},
{
name
:
'
美元
'
,
value
:
'
2
'
},
{
name
:
'
英镑
'
,
value
:
'
3
'
},
{
name
:
'
欧元
'
,
value
:
'
4
'
},
];
module
.
exports
=
{
module
.
exports
=
{
...
@@ -53,4 +61,5 @@ module.exports = {
...
@@ -53,4 +61,5 @@ module.exports = {
EOBStatusOptions
,
EOBStatusOptions
,
ApplyStatusOptions
,
ApplyStatusOptions
,
ApproveStatusOptions
,
ApproveStatusOptions
,
MoneyUnitOptions
,
}
}
\ No newline at end of file
src/views/charge-query/index.vue
View file @
dded8e7b
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<a-row
:gutter=
"30"
>
<a-row
:gutter=
"30"
>
<a-col
:xl=
"4"
:lg=
"6"
:sm=
"12"
>
<a-col
:xl=
"4"
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"病历号"
>
<a-form-model-item
label=
"病历号"
>
<a-input
v-model=
"form.
patient
No"
placeholder=
"请输入病历号"
allow-clear
/>
<a-input
v-model=
"form.
mrn
No"
placeholder=
"请输入病历号"
allow-clear
/>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:xl=
"4"
:lg=
"6"
:sm=
"12"
>
<a-col
:xl=
"4"
:lg=
"6"
:sm=
"12"
>
...
@@ -92,16 +92,16 @@
...
@@ -92,16 +92,16 @@
<
script
>
<
script
>
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
{
mapState
}
from
"
vuex
"
import
{
mapState
}
from
"
vuex
"
import
moment
from
"
moment
"
;
export
default
{
export
default
{
data
()
{
data
()
{
const
columns
=
[
const
columns
=
[
{
title
:
"
序号
"
,
dataIndex
:
"
index
"
,
key
:
"
index
"
,
align
:
'
center
'
,
width
:
80
,
scopedSlots
:
{
customRender
:
"
index
"
}},
{
title
:
"
序号
"
,
dataIndex
:
"
index
"
,
key
:
"
index
"
,
align
:
'
center
'
,
width
:
80
,
scopedSlots
:
{
customRender
:
"
index
"
}},
{
title
:
"
收费时间
"
,
dataIndex
:
"
receiptDate
"
,
width
:
180
},
{
title
:
"
就诊时间
"
,
dataIndex
:
"
visitTimeStart
"
,
width
:
180
},
{
title
:
"
病历号
"
,
dataIndex
:
"
mrnNo
"
,
width
:
180
},
{
title
:
"
病历号
"
,
dataIndex
:
"
mrnNo
"
,
width
:
180
},
{
title
:
"
客户姓名
"
,
dataIndex
:
"
patientName
"
,
width
:
120
,},
{
title
:
"
客户姓名
"
,
dataIndex
:
"
patientName
"
,
width
:
120
,},
{
title
:
"
客户类型
"
,
dataIndex
:
"
patientType
"
,
width
:
180
},
{
title
:
"
客户类型
"
,
dataIndex
:
"
patientType
"
,
width
:
180
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
width
:
180
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
width
:
180
},
{
title
:
"
就诊时间
"
,
dataIndex
:
"
visitTime
"
,
width
:
180
},
{
title
:
"
就诊医生
"
,
dataIndex
:
"
doctorName
"
,
width
:
180
},
{
title
:
"
就诊医生
"
,
dataIndex
:
"
doctorName
"
,
width
:
180
},
{
title
:
"
账单金额
"
,
dataIndex
:
"
chargeAmount
"
,
width
:
180
},
{
title
:
"
账单金额
"
,
dataIndex
:
"
chargeAmount
"
,
width
:
180
},
{
title
:
"
折扣(%)
"
,
dataIndex
:
"
discountAmount
"
,
width
:
180
},
{
title
:
"
折扣(%)
"
,
dataIndex
:
"
discountAmount
"
,
width
:
180
},
...
@@ -122,7 +122,7 @@ export default {
...
@@ -122,7 +122,7 @@ export default {
pageForm
:
{
pageForm
:
{
doctorCode
:
""
,
doctorCode
:
""
,
patientName
:
""
,
patientName
:
""
,
patient
No
:
""
,
mrn
No
:
""
,
paymentCode
:
""
,
paymentCode
:
""
,
payorId
:
0
,
payorId
:
0
,
visitTimeEnd
:
""
,
visitTimeEnd
:
""
,
...
@@ -164,6 +164,7 @@ export default {
...
@@ -164,6 +164,7 @@ export default {
this
.
_getDoctorListNoPage
();
//获取医生下拉选项
this
.
_getDoctorListNoPage
();
//获取医生下拉选项
},
},
methods
:
{
methods
:
{
moment
,
// 获取列表数据
// 获取列表数据
_getChargeList
()
{
_getChargeList
()
{
const
data
=
{
const
data
=
{
...
...
src/views/charge-query/lpjManageDetail.vue
View file @
dded8e7b
...
@@ -160,13 +160,14 @@ import moment from 'moment'
...
@@ -160,13 +160,14 @@ import moment from 'moment'
export
default
{
export
default
{
data
()
{
data
()
{
const
columns
=
[
const
columns
=
[
{
title
:
"
账单编号
"
,
dataIndex
:
"
receiptNo
"
,
key
:
"
receiptNo
"
,
align
:
'
center
'
,
width
:
136
},
{
title
:
"
就诊日期
"
,
dataIndex
:
"
visitTimeStart
"
,
width
:
200
,
scopedSlots
:
{
customRender
:
"
visitTimeStart
"
}
},
{
title
:
"
病历号
"
,
dataIndex
:
"
patientNo
"
,
key
:
"
patientNo
"
,
align
:
'
center
'
,
width
:
136
},
{
title
:
"
病历号
"
,
dataIndex
:
"
patientNo
"
,
key
:
"
patientNo
"
,
align
:
'
center
'
,
width
:
136
},
{
title
:
"
客户姓名
"
,
dataIndex
:
"
patientName
"
,
width
:
98
},
{
title
:
"
客户姓名
"
,
dataIndex
:
"
patientName
"
,
width
:
98
},
{
title
:
"
账单编号
"
,
dataIndex
:
"
receiptNo
"
,
key
:
"
receiptNo
"
,
align
:
'
center
'
,
width
:
136
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
width
:
110
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
width
:
110
},
{
title
:
"
就诊日期
"
,
dataIndex
:
"
visitTimeStart
"
,
width
:
200
,
scopedSlots
:
{
customRender
:
"
visitTimeStart
"
}
},
{
title
:
"
应收金额
"
,
dataIndex
:
"
chargeAmount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
账单金额
"
,
dataIndex
:
"
charge
Amount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
折扣金额
"
,
dataIndex
:
"
discount
Amount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
折后金额
"
,
dataIndex
:
"
discountAmount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
减免金额
"
,
dataIndex
:
"
discountAmount2
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
客户自负
"
,
dataIndex
:
"
paidAmount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
客户自负
"
,
dataIndex
:
"
paidAmount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
理赔金额
"
,
dataIndex
:
"
paidamount
"
,
width
:
100
,
align
:
'
center
'
},
{
title
:
"
理赔金额
"
,
dataIndex
:
"
paidamount
"
,
width
:
100
,
align
:
'
center
'
},
// { title: "操作", key: "operation", width: "175px",fixed: "right",scopedSlots: { customRender: "operation" }},
// { title: "操作", key: "operation", width: "175px",fixed: "right",scopedSlots: { customRender: "operation" }},
...
...
src/views/customer/info/index.vue
View file @
dded8e7b
...
@@ -32,10 +32,13 @@
...
@@ -32,10 +32,13 @@
</a-col>
</a-col>
<a-col
:xl=
"18"
:lg=
"18"
:sm=
"12"
class=
"none-label"
>
<a-col
:xl=
"18"
:lg=
"18"
:sm=
"12"
class=
"none-label"
>
<a-form-model-item
label=
"button"
>
<a-form-model-item
label=
"button"
>
<a-button
type=
"primary"
@
click=
"addNewCustom"
><Icon
name=
"ssiadd"
:size=
"14"
/>
新建客户
信息
</a-button>
<a-button
type=
"primary"
@
click=
"addNewCustom"
><Icon
name=
"ssiadd"
:size=
"14"
/>
新建客户
</a-button>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"handlerSearch"
>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"handlerSearch"
>
<Icon
name=
"ssisearch_active"
:size=
"14"
/>
查询
<Icon
name=
"ssisearch_active"
:size=
"14"
/>
查询
</a-button>
</a-button>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"resetEvt"
>
<Icon
name=
"ssireset"
:size=
"14"
/>
重置
</a-button>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
</a-row>
</a-row>
...
@@ -85,7 +88,7 @@ export default {
...
@@ -85,7 +88,7 @@ export default {
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
width
:
180
},
{
title
:
"
保险公司
"
,
dataIndex
:
"
payorName
"
,
width
:
180
},
{
title
:
"
保单号码
"
,
dataIndex
:
"
policyNo
"
,
width
:
190
},
{
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
:
"
保
单
终止日期
"
,
dataIndex
:
"
endDate
"
,
width
:
170
,
customRender
:
dateFormat
},
{
title
:
"
操作
"
,
key
:
"
operation
"
,
width
:
"
270px
"
,
fixed
:
"
right
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
align
:
'
center
'
},
{
title
:
"
操作
"
,
key
:
"
operation
"
,
width
:
"
270px
"
,
fixed
:
"
right
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
align
:
'
center
'
},
];
];
return
{
return
{
...
@@ -110,6 +113,11 @@ export default {
...
@@ -110,6 +113,11 @@ export default {
this
.
_getPayorCode
();
this
.
_getPayorCode
();
},
},
methods
:
{
methods
:
{
//重置
resetEvt
(){
this
.
form
=
{};
this
.
pageForm
=
{};
},
handlerRowClick
(
record
)
{
handlerRowClick
(
record
)
{
const
{
id
,
patientPolicyId
}
=
record
;
const
{
id
,
patientPolicyId
}
=
record
;
return
{
return
{
...
...
src/views/pre-auth/add.vue
View file @
dded8e7b
<
template
>
<
template
>
<div></div>
<div
class=
"white_bg burt-container"
>
<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-input
v-model=
"form.patientNo"
placeholder=
"请输入客户信息"
allow-clear
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"客户姓名"
>
<a-input
v-model=
"form.patientNo"
placeholder=
"请输入客户姓名"
allow-clear
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"出生日期"
>
<a-date-picker
allow-clear
v-model=
"form.firstEnrollmentTime"
placeholder=
"请选择出生日期"
value-format=
"YYYY-MM-DD 00:00:00"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<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=
"保单号码"
>
<a-input
v-model=
"form.patientNo"
placeholder=
"请输入保单号码"
allow-clear
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<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=
"预授权项目"
>
<a-select
v-model=
"form.authProject"
placeholder=
"请选择预授权项目"
allowClear
>
<a-select-option
v-for=
"(item) in ProjectList"
:key=
"item.id"
:value=
"item.descCh"
>
{{
item
.
descCh
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"预计治疗时间"
>
<a-date-picker
allow-clear
v-model=
"form.firstEnrollmentTime"
placeholder=
"请选择预计治疗时间"
value-format=
"YYYY-MM-DD 00:00:00"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"预计治疗费用"
>
<div
class=
"flex input-div"
>
<a-input
v-model=
"form.patientNo"
placeholder=
"请输入费用"
type=
"number"
/>
<a-select
v-model=
"form.authProject"
style=
"width:85px;"
>
<a-select-option
v-for=
"(item) in MoneyUnitOptions"
:key=
"item.value"
:value=
"item.value"
>
{{
item
.
name
}}
</a-select-option>
</a-select>
</div>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"初诊日期"
>
<a-date-picker
allow-clear
v-model=
"form.firstEnrollmentTime"
placeholder=
"请选择初诊日期"
value-format=
"YYYY-MM-DD 00:00:00"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"治疗目的"
>
<a-select
v-model=
"form.authProject"
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
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"治疗方案"
>
<a-select
v-model=
"form.authProject"
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
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"诊断"
>
<a-input
v-model=
"form.patientNo"
placeholder=
"请输入诊断"
allow-clear
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"病历资料"
>
<a-upload
name=
"file"
:multiple=
"false"
:showUploadList=
"true"
:fileList=
"form.bingli"
:customRequest=
"(file)=>uploadFile(file, 1)"
:beforeUpload=
"beforeUpload"
: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-row>
<!--费用明细-->
<a-row>
<FeeDetail
:ProjectList=
"ProjectList"
/>
</a-row>
<a-row
:gutter=
"30"
class=
"footer-body"
>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"申请状态"
>
<a-select
v-model=
"form.authProject"
placeholder=
"请选择申请状态"
>
<a-select-option
v-for=
"(item) in ApplyStatusOptions"
:key=
"item.value"
:value=
"item.value"
>
{{
item
.
name
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"批准次数/金额"
>
<a-input
v-model=
"form.patientNo"
placeholder=
"请输入批准次数/金额"
allow-clear
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"拒绝原因"
>
<a-select
v-model=
"form.authProject"
placeholder=
"请选择拒绝原因"
>
<a-select-option
v-for=
"(item,i) in ProjectList"
:key=
"i"
:value=
"item.refcd"
>
{{
item
.
descCh
}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"补充材料"
>
<a-upload
name=
"file"
:multiple=
"false"
:showUploadList=
"true"
:fileList=
"form.supplementalResultUrl"
:customRequest=
"(file)=>uploadFile(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
:lg=
"24"
:sm=
"12"
class=
"none-label"
>
<a-form-model-item
label=
"button"
>
<a-button
type=
"primary"
@
click=
"saveEvt"
>
<Icon
name=
"ssibaocun"
:size=
"14"
/>
保存
</a-button>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
MoneyUnitOptions
,
ApplyStatusOptions
}
from
'
@/utils/utilsdictOptions
'
;
import
FeeDetail
from
'
./components/feeDetail.vue
'
;
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
MoneyUnitOptions
,
ApplyStatusOptions
,
form
:
{
bingli
:
[],
supplementalResultUrl
:
[],
//补充材料
},
companyOptions
:
[],
//保险公司
ProjectList
:
[],
//预授权项目
rejectReason
:
[],
//拒绝原因
}
}
},
},
components
:
{
FeeDetail
,
},
created
(){
created
(){
this
.
_getCompanyOptions
();
this
.
getRefcdByRefgrp
();
},
},
methods
:
{
methods
:
{
// 获取保险公司下拉选项
_getCompanyOptions
()
{
this
.
$apis
.
GETCOMPANYOPTIONS
().
then
((
res
)
=>
{
this
.
companyOptions
=
res
.
content
||
[];
});
},
// 获取码表
getRefcdByRefgrp
()
{
//预授权项目
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
refgrp
:
"
AUTH_PROJECT
"
}).
then
((
res
)
=>
{
this
.
ProjectList
=
res
.
content
||
[];
});
//拒绝原因
this
.
$apis
.
GETREFCDBYREFGRP
({
modid
:
"
CI
"
,
refgrp
:
"
REJECT_REASON
"
}).
then
((
res
)
=>
{
this
.
rejectReason
=
res
.
content
||
[];
});
},
//上传之前
beforeUpload
(){
if
(
this
.
form
.
bingli
.
length
>=
5
){
this
.
$message
.
warning
(
'
不能超过5个文件
'
);
return
false
;
}
return
true
;
},
/**删除文件
* type 1:上传病历 2:补充材料
* **/
removeFile
(
file
,
type
){
if
(
type
==
2
){
this
.
form
.
supplementalResultUrl
=
[];
}
else
{
let
index
;
this
.
form
.
bingli
.
forEach
((
item
,
i
)
=>
{
if
(
item
.
uid
==
file
.
uid
)
{
index
=
i
;
}
});
this
.
form
.
bingli
.
splice
(
index
,
1
);
}
return
true
;
},
/**上传文件
* type 1:上传病历 2:补充材料
* **/
uploadFile
(
fileData
,
type
){
let
formData
=
new
FormData
();
formData
.
append
(
"
file
"
,
fileData
.
file
);
this
.
$apis
.
UPLOADIMG
(
formData
)
.
then
((
res
)
=>
{
fileData
.
onSuccess
();
let
tmp
=
{
uid
:
Math
.
random
()
*
10000
,
name
:
res
.
title
,
status
:
'
done
'
,
url
:
res
.
url
,
}
if
(
type
==
2
){
this
.
form
.
supplementalResultUrl
=
[
tmp
];
}
else
{
this
.
form
.
bingli
.
push
(
tmp
);
}
this
.
$forceUpdate
();
})
},
//保存
saveEvt
(){
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.footer-body{
margin-top: 25px;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/pre-auth/components/feeDetail.vue
0 → 100644
View file @
dded8e7b
<
template
>
<div>
<div
class=
"flex title-div"
>
<span>
费用明细
</span>
<a-button
type=
"primary"
@
click.stop=
"addEvt"
>
新增
</a-button>
</div>
<a-table
:columns=
"columns"
:data-source=
"dataList"
:pagination=
"false"
>
<template
slot=
"itemCode"
slot-scope=
"text"
>
{{
formatProject
(
text
)
}}
</
template
>
<
template
slot=
"operation"
slot-scope=
"text, record, index"
>
<a-button
type=
"link"
@
click.stop=
"editEvt(index)"
>
修改
</a-button>
<a-button
v-if=
"record.eobNo"
type=
"link"
class=
"danger"
@
click.stop=
"delRecord(index)"
>
删除
</a-button>
</
template
>
<
template
slot=
"footer"
>
<div
class=
"flex footer-div"
>
<span>
预计总费用:
</span>
<span
class=
"money"
>
{{
totalMoney
}}
</span>
</div>
</
template
>
</a-table>
<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"
:sm=
"24"
>
<a-form-model-item
label=
"预授权项目"
prop=
"itemCode"
>
<a-select
v-model=
"editFormObj.itemCode"
placeholder=
"请选择预授权项目"
allowClear
>
<a-select-option
v-for=
"(item,i) in ProjectList"
:key=
"i"
:value=
"item.refcd"
>
{{item.descCh}}
</a-select-option>
</a-select>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:xs=
"24"
>
<a-form-model-item
label=
"单价"
prop=
"salePrice"
>
<a-input
type=
"number"
v-model.trim=
"editFormObj.salePrice"
placeholder=
"单价"
@
change=
"priceChange"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:xs=
"24"
>
<a-form-model-item
label=
"次数"
prop=
"times"
>
<a-input
type=
"number"
v-model.trim=
"editFormObj.times"
placeholder=
"次数"
@
change=
"priceChange"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"12"
:xs=
"24"
>
<a-form-model-item
label=
"总价"
prop=
"totalAmount"
>
<a-input
type=
"number"
v-model.trim=
"editFormObj.totalAmount"
placeholder=
"总价"
disabled
/>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</a-modal>
</div>
</template>
<
script
>
export
default
{
props
:
{
ProjectList
:
{
default
:
[]
}
},
data
(){
const
columns
=
[
{
title
:
"
预授权项目
"
,
dataIndex
:
"
itemCode
"
,
key
:
"
itemCode
"
,
align
:
'
center
'
,
scopedSlots
:
{
customRender
:
"
itemCode
"
}},
{
title
:
"
单价
"
,
dataIndex
:
"
salePrice
"
,
key
:
"
salePrice
"
,
align
:
'
center
'
},
{
title
:
"
次数
"
,
dataIndex
:
"
times
"
},
{
title
:
"
总价
"
,
dataIndex
:
"
totalAmount
"
},
{
title
:
"
操作
"
,
dataIndex
:
"
operation
"
,
scopedSlots
:
{
customRender
:
"
operation
"
},
fixed
:
"
right
"
,
width
:
"
200px
"
,
align
:
'
center
'
},
];
return
{
dialogShow
:
false
,
columns
,
dataList
:
[],
chooseIdex
:
-
1
,
editFormObj
:
{
itemCode
:
''
,
salePrice
:
''
,
times
:
''
,
totalAmount
:
''
,
},
editRules
:
{
itemCode
:
[{
required
:
true
,
message
:
"
请输入
"
,
trigger
:
"
blur
"
}],
salePrice
:
[{
required
:
true
,
message
:
"
请输入
"
,
trigger
:
"
blur
"
}],
times
:
[{
required
:
true
,
message
:
"
请输入
"
,
trigger
:
"
blur
"
}],
},
}
},
computed
:
{
//预计总费用
totalMoney
(){
let
money
=
0
;
this
.
dataList
.
forEach
((
item
)
=>
{
money
+=
item
.
totalAmount
||
0
;
})
return
money
;
}
},
methods
:
{
//过滤project
formatProject
(
val
){
if
(
!
val
)
{
return
;
}
const
item
=
this
.
ProjectList
.
find
((
item
)
=>
{
return
item
.
refcd
==
val
;
});
return
item
?
item
.
descCh
:
""
;
},
//新增
addEvt
(){
this
.
editEvt
(
-
1
)
},
/** 修改 * **/
editEvt
(
idx
)
{
this
.
chooseIdex
=
idx
;
let
record
=
this
.
dataList
[
idx
]
||
{};
this
.
editFormObj
=
{
itemCode
:
record
.
itemCode
||
""
,
salePrice
:
record
.
salePrice
||
""
,
times
:
record
.
times
};
this
.
dialogShow
=
true
;
},
//编辑保存
handleEditOK
()
{
this
.
$refs
.
editForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
this
.
chooseIdex
==
-
1
){
//新增
this
.
dataList
.
push
({...
this
.
editFormObj
})
}
else
{
//修改
this
.
dataList
.
splice
(
this
.
chooseIdex
,
1
,
{...
this
.
editFormObj
});
}
this
.
dialogShow
=
false
;
}
});
},
priceChange
(){
this
.
editFormObj
.
totalAmount
=
Number
(
this
.
editFormObj
.
salePrice
||
0
)
*
Number
(
this
.
editFormObj
.
times
||
0
)
}
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.title-div {
line-height: 56px;
color: #252631;
font-weight: bold;
border-bottom: 1px solid #eee;
justify-content: space-between;
}
.footer-div{
font-weight: bold;
.money{
color: red;
margin-left: 8px;
}
}
</
style
>
\ No newline at end of file
src/views/welfare/edit/components/condition/index.vue
View file @
dded8e7b
...
@@ -131,7 +131,7 @@ export default {
...
@@ -131,7 +131,7 @@ export default {
return
val
;
return
val
;
}
},
}
},
// { title: "限额或限次", dataIndex: "index" },
// { title: "限额或限次", dataIndex: "index" },
{
title
:
"
最大值
"
,
dataIndex
:
"
maxValue
"
,
customRender
:
(
val
,
row
)
=>
{
{
title
:
"
福利限制
"
,
dataIndex
:
"
maxValue
"
,
customRender
:
(
val
,
row
)
=>
{
if
(
row
.
limitCode
.
indexOf
(
'
07
'
)
===
0
)
{
if
(
row
.
limitCode
.
indexOf
(
'
07
'
)
===
0
)
{
return
val
+
'
%
'
return
val
+
'
%
'
}
}
...
...
src/views/welfare/edit/index.vue
View file @
dded8e7b
...
@@ -40,11 +40,11 @@
...
@@ -40,11 +40,11 @@
</a-row>
</a-row>
</a-form-model>
</a-form-model>
<div>
<div>
<
!--
<
div
class=
"none-label mar-bottom10"
>
<div
class=
"none-label mar-bottom10"
>
<a-button
type=
"primary"
@
click=
"editPlanData(null)"
>
<a-button
type=
"primary"
@
click=
"editPlanData(null)"
>
<Icon
name=
"ssiadd"
:size=
"14"
/>
新增计划
<Icon
name=
"ssiadd"
:size=
"14"
/>
新增计划
</a-button>
</a-button>
</div>
-->
</div>
<a-table
:scroll=
"
{ x: 1110 }"
<a-table
:scroll=
"
{ x: 1110 }"
:columns="columns"
:columns="columns"
:locale="{ emptyText: 'No Data' }"
:locale="{ emptyText: 'No Data' }"
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
:pagination="false"
:pagination="false"
>
>
<template
slot=
"operation"
slot-scope=
"record"
>
<template
slot=
"operation"
slot-scope=
"record"
>
<
a-button
type=
"link"
@
click.stop=
"editPlanData(record, true)"
>
新增
</a-button
>
<
!--
<a-button
type=
"link"
@
click.stop=
"editPlanData(record, true)"
>
新增
</a-button>
--
>
<a-button
type=
"link"
@
click.stop=
"editPlanData(record)"
>
修改
</a-button>
<a-button
type=
"link"
@
click.stop=
"editPlanData(record)"
>
修改
</a-button>
<!--
<a-popconfirm
<!--
<a-popconfirm
title=
"你确定要删除吗?"
title=
"你确定要删除吗?"
...
@@ -295,12 +295,17 @@ export default {
...
@@ -295,12 +295,17 @@ export default {
data
.
status
=
"
2
"
;
// 置为无效状态即删除
data
.
status
=
"
2
"
;
// 置为无效状态即删除
this
.
_editPlanData
(
data
);
this
.
_editPlanData
(
data
);
},
},
editPlanData
(
data
,
isNew
)
{
editPlanData
(
data
)
{
if
(
!
isNew
)
{
if
(
!
data
){
//新增
this
.
editForm
=
{
planCode
:
''
,
longName
:
''
,
englishName
:
''
,
shortName
:
''
,
corpCode
:
this
.
form
.
corpCode
,
}
}
else
{
this
.
editForm
=
this
.
$lodash
.
cloneDeep
(
data
);
this
.
editForm
=
this
.
$lodash
.
cloneDeep
(
data
);
}
else
{
const
{
planCode
,
longName
,
englishName
,
corpCode
,
shortName
}
=
data
;
this
.
editForm
=
{
planCode
,
longName
,
englishName
,
corpCode
,
shortName
}
}
}
this
.
isPlanEditShow
=
true
;
this
.
isPlanEditShow
=
true
;
// else {
// else {
...
...
src/views/welfare/info/index.vue
View file @
dded8e7b
...
@@ -27,8 +27,8 @@
...
@@ -27,8 +27,8 @@
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:xl=
"6"
:lg=
"6"
:sm=
"12"
>
<a-col
:xl=
"6"
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"
证件号码
"
prop=
"idNo"
>
<a-form-model-item
label=
"
保险卡号
"
prop=
"idNo"
>
<a-input
v-model=
"form.
idNo"
allow-clear
placeholder=
"请输入证件号码
"
></a-input>
<a-input
v-model=
"form.
cardNo"
allow-clear
placeholder=
"请输入保险卡号
"
></a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:xl=
"6"
:lg=
"6"
:sm=
"12"
>
<a-col
:xl=
"6"
:lg=
"6"
:sm=
"12"
>
...
...
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