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
ca49e06c
Commit
ca49e06c
authored
3 years ago
by
huangyecong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【ECCS-商保-1213】账单明细-添加费用支付明细接口
parent
f21f4ddc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
113 additions
and
32 deletions
+113
-32
charge-query.js
src/api/apis_moudles/charge-query.js
+1
-0
charge-query.js
src/api/funcs_modules/charge-query.js
+6
-1
detail.vue
src/views/charge-query/detail.vue
+106
-31
No files found.
src/api/apis_moudles/charge-query.js
View file @
ca49e06c
...
@@ -3,4 +3,5 @@ export default {
...
@@ -3,4 +3,5 @@ export default {
getChargeList
:
"
/backstage/auth/receiptList
"
,
getChargeList
:
"
/backstage/auth/receiptList
"
,
getCompanyOptions
:
"
/backstage/auth/payorListNopage
"
,
getCompanyOptions
:
"
/backstage/auth/payorListNopage
"
,
getChargeListDetail
:
"
/backstage/auth/receiptDetailList
"
,
//账单明细
getChargeListDetail
:
"
/backstage/auth/receiptDetailList
"
,
//账单明细
getReceiptPaymentDetail
:
"
/backstage/auth/receiptPaymentDetail
"
,
//账单明细
};
};
This diff is collapsed.
Click to expand it.
src/api/funcs_modules/charge-query.js
View file @
ca49e06c
...
@@ -13,9 +13,14 @@ const GETCOMPANYOPTIONS = function (data) {
...
@@ -13,9 +13,14 @@ const GETCOMPANYOPTIONS = function (data) {
const
GETCHARGELISTDETAIL
=
function
(
data
)
{
const
GETCHARGELISTDETAIL
=
function
(
data
)
{
return
req
.
post
(
apis
.
getChargeListDetail
,
data
);
return
req
.
post
(
apis
.
getChargeListDetail
,
data
);
};
};
// 获取费用支付明细
const
GETRECEIPTPAYMENTDETAIL
=
function
(
data
)
{
return
req
.
post
(
apis
.
getReceiptPaymentDetail
,
data
);
};
// 对象数组
// 对象数组
export
default
{
export
default
{
GETCHARGELIST
,
GETCHARGELIST
,
GETCOMPANYOPTIONS
,
GETCOMPANYOPTIONS
,
GETCHARGELISTDETAIL
GETCHARGELISTDETAIL
,
GETRECEIPTPAYMENTDETAIL
};
};
This diff is collapsed.
Click to expand it.
src/views/charge-query/detail.vue
View file @
ca49e06c
...
@@ -18,13 +18,17 @@
...
@@ -18,13 +18,17 @@
<a-input
<a-input
v-model=
"form.patientName"
v-model=
"form.patientName"
placeholder=
"请输入客户姓名"
placeholder=
"请输入客户姓名"
allow-clear
allow-clear
></a-input>
></a-input>
</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"
>
<a-form-model-item
label=
"客户类型"
>
<a-form-model-item
label=
"客户类型"
>
<a-select
v-model=
"form.patientType"
placeholder=
"请选择客户类型"
allowClear
>
<a-select
v-model=
"form.patientType"
placeholder=
"请选择客户类型"
allowClear
>
<a-select-option
<a-select-option
v-for=
"item in patientTypeOptions"
v-for=
"item in patientTypeOptions"
:key=
"item.code"
:key=
"item.code"
...
@@ -37,7 +41,11 @@
...
@@ -37,7 +41,11 @@
</a-col>
</a-col>
<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-select
v-model=
"form.payorId"
placeholder=
"请选择保险公司"
allowClear
>
<a-select
v-model=
"form.payorId"
placeholder=
"请选择保险公司"
allowClear
>
<a-select-option
<a-select-option
v-for=
"item in companyOptions"
v-for=
"item in companyOptions"
:key=
"item.corpCode"
:key=
"item.corpCode"
...
@@ -50,7 +58,11 @@
...
@@ -50,7 +58,11 @@
</a-col>
</a-col>
<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-select
v-model=
"form.doctorCode"
placeholder=
"请选择看诊医生"
allowClear
>
<a-select
v-model=
"form.doctorCode"
placeholder=
"请选择看诊医生"
allowClear
>
<a-select-option
<a-select-option
v-for=
"item in doctorOptions"
v-for=
"item in doctorOptions"
:key=
"item.code"
:key=
"item.code"
...
@@ -63,17 +75,26 @@
...
@@ -63,17 +75,26 @@
</a-col>
</a-col>
<a-col
:xl=
"5"
:lg=
"6"
:sm=
"12"
>
<a-col
:xl=
"5"
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"就诊时间"
>
<a-form-model-item
label=
"就诊时间"
>
<a-range-picker
format=
"YYYY-MM-DD"
v-model=
"form.dateRange"
:placeholder=
"['开始时间','结束时间']"
@
change=
"onSelectVisitTime"
/>
<a-range-picker
format=
"YYYY-MM-DD"
v-model=
"form.dateRange"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onSelectVisitTime"
/>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
<a-col
:xl=
"3"
:lg=
"6"
:sm=
"12"
>
<a-col
:xl=
"3"
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"支付方式"
>
<a-form-model-item
label=
"支付方式"
>
<a-select
v-model=
"form.paymentCode"
placeholder=
"请选择支付方式"
allowClear
>
<a-select
v-model=
"form.paymentCode"
placeholder=
"请选择支付方式"
allowClear
>
<a-select-option
<a-select-option
v-for=
"item in paymentOptions"
v-for=
"item in paymentOptions"
:key=
"item.code"
:key=
"item.code"
:value=
"item.code"
:value=
"item.code"
allow-clear
allow-clear
>
>
{{
item
.
name
}}
{{
item
.
name
}}
</a-select-option>
</a-select-option>
...
@@ -137,7 +158,11 @@
...
@@ -137,7 +158,11 @@
row-key=
"id"
row-key=
"id"
:scroll=
"{ x: true }"
:scroll=
"{ x: true }"
:pagination=
"false"
:pagination=
"false"
class=
"payTable"
>
>
<
template
slot=
"paymentType"
slot-scope=
"text"
>
<a-button
class=
"danger"
>
{{
text
|
payStyleFilters
}}
</a-button>
</
template
>
</a-table>
</a-table>
</div>
</div>
</template>
</template>
...
@@ -179,15 +204,20 @@ export default {
...
@@ -179,15 +204,20 @@ export default {
},
},
];
];
const
payColumns
=
[
const
payColumns
=
[
{
title
:
"
免赔额
"
,
dataIndex
:
""
,
width
:
180
},
{
title
:
"
免赔额
"
,
dataIndex
:
"
deductible
"
,
width
:
180
},
{
title
:
"
自付额
"
,
dataIndex
:
""
,
width
:
180
},
{
title
:
"
自付额
"
,
dataIndex
:
"
selfPaid
"
,
width
:
180
},
{
title
:
"
其他费用
"
,
dataIndex
:
""
,
width
:
180
},
{
title
:
"
其他费用
"
,
dataIndex
:
"
otherPaid
"
,
width
:
180
},
{
title
:
"
个人支付
"
,
dataIndex
:
""
,
width
:
180
},
{
title
:
"
个人支付
"
,
dataIndex
:
"
personalPaid
"
,
width
:
180
},
{
title
:
"
商报支付
"
,
dataIndex
:
""
,
width
:
180
},
{
title
:
"
商保支付
"
,
dataIndex
:
"
ciPaid
"
,
width
:
180
},
{
title
:
"
支付方式
"
,
dataIndex
:
""
,
width
:
180
},
{
]
title
:
"
支付方式
"
,
dataIndex
:
"
paymentType
"
,
width
:
180
,
scopedSlots
:
{
customRender
:
"
paymentType
"
},
},
];
return
{
return
{
receiptNo
:
''
,
receiptNo
:
""
,
columns
,
columns
,
payColumns
,
payColumns
,
form
:
{},
form
:
{},
...
@@ -206,9 +236,7 @@ export default {
...
@@ -206,9 +236,7 @@ export default {
code
:
1
,
code
:
1
,
},
},
],
//客户类型
],
//客户类型
companyOptions
:
[
companyOptions
:
[],
//保险公司
],
//保险公司
doctorOptions
:
[
doctorOptions
:
[
{
{
name
:
"
医生1
"
,
name
:
"
医生1
"
,
...
@@ -226,37 +254,78 @@ export default {
...
@@ -226,37 +254,78 @@ export default {
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
},
},
payDataList
:[]
payDataList
:
[],
payPager
:
[
{
pageNum
:
1
,
pageSize
:
10
,
},
],
};
};
},
},
components
:
{
components
:
{
BurtPagination
,
BurtPagination
,
},
},
filters
:
{
payStyleFilters
(
value
)
{
const
styleMap
=
{
1
:
"
支付宝
"
,
2
:
"
微信
"
,
3
:
"
现金
"
,
};
return
styleMap
[
value
];
},
},
created
()
{
created
()
{
const
{
receiptNo
}
=
this
.
$route
.
query
const
{
receiptNo
}
=
this
.
$route
.
query
;
this
.
receiptNo
=
receiptNo
||
''
this
.
receiptNo
=
receiptNo
||
""
;
this
.
_getChargeListDetail
();
this
.
_getChargeListDetail
();
this
.
_getCompanyOptions
();
this
.
_getCompanyOptions
();
this
.
_getReceiptPaymentDetail
();
//费用支付明细
},
},
methods
:
{
methods
:
{
// 获取列表数据
// 获取列表数据
_getChargeListDetail
()
{
_getChargeListDetail
()
{
const
data
=
{
const
data
=
{
"
receiptNo
"
:
this
.
receiptNo
,
receiptNo
:
this
.
receiptNo
,
...
this
.
pager
...
this
.
pager
,
};
};
this
.
$apis
.
GETCHARGELISTDETAIL
(
data
).
then
((
res
)
=>
{
this
.
$apis
.
GETCHARGELISTDETAIL
(
data
).
then
((
res
)
=>
{
console
.
log
(
"
11111111111获取table信息=
"
,
res
);
console
.
log
(
"
11111111111获取table信息=
"
,
res
);
this
.
dataList
=
(
res
.
content
&&
res
.
content
.
list
)
||
[];
if
(
res
.
returnCode
==
"
0000
"
)
{
// this.pager.total = (res.content && res.content.total) || 0;
this
.
dataList
=
(
res
.
content
&&
res
.
content
.
list
)
||
[];
// this.pager.total = (res.content && res.content.total) || 0;
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
});
},
},
// 获取保险公司下拉选项
// 获取保险公司下拉选项
_getCompanyOptions
()
{
_getCompanyOptions
()
{
this
.
$apis
.
GETCOMPANYOPTIONS
().
then
((
res
)
=>
{
this
.
$apis
.
GETCOMPANYOPTIONS
().
then
((
res
)
=>
{
console
.
log
(
"
获取保险公司下拉选项
"
,
res
);
console
.
log
(
"
获取保险公司下拉选项
"
,
res
);
this
.
companyOptions
=
res
.
content
||
[];
if
(
res
.
returnCode
==
"
0000
"
)
{
this
.
companyOptions
=
res
.
content
||
[];
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
// 获取费用支付明细
_getReceiptPaymentDetail
()
{
const
params
=
{
receiptNo
:
this
.
receiptNo
,
...
this
.
payPager
,
};
this
.
$apis
.
GETRECEIPTPAYMENTDETAIL
(
params
).
then
((
res
)
=>
{
console
.
log
(
"
获取费用支付明细
"
,
res
);
if
(
res
.
returnCode
==
"
0000
"
)
{
let
content
=
res
.
content
||
{};
this
.
payDataList
=
content
;
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
});
},
},
...
@@ -266,19 +335,19 @@ export default {
...
@@ -266,19 +335,19 @@ export default {
},
},
// 重置
// 重置
handlerReset
()
{
handlerReset
()
{
this
.
form
=
{}
this
.
form
=
{}
;
},
},
//设置行属性
//设置行属性
handlerRowClick
(
record
)
{
handlerRowClick
(
record
)
{
const
{
receiptNo
}
=
record
;
const
{
receiptNo
}
=
record
;
console
.
log
(
'
receiptNo=
'
,
receiptNo
);
console
.
log
(
"
receiptNo=
"
,
receiptNo
);
return
{
return
{
style
:
{
style
:
{
color
:
record
.
isEdit
?
"
#2B63FF
"
:
"
#252631
"
,
color
:
record
.
isEdit
?
"
#2B63FF
"
:
"
#252631
"
,
},
},
on
:
{
on
:
{
// 点击行
// 点击行
click
:
()
=>
{
click
:
()
=>
{
if
(
record
.
isEdit
)
{
if
(
record
.
isEdit
)
{
return
true
;
return
true
;
...
@@ -335,4 +404,10 @@ export default {
...
@@ -335,4 +404,10 @@ export default {
font-weight: bold;
font-weight: bold;
border-bottom: 1px solid #eee;
border-bottom: 1px solid #eee;
}
}
.payTable{
.ant-btn{
border-color: #1890ff;
color: #1890ff;
}
}
</
style
>
</
style
>
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