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
f0a2e9b2
Commit
f0a2e9b2
authored
Jan 12, 2022
by
huangyecong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【ECCS-商保-1213】账单明细-添加看诊医生列表
parent
ca49e06c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
19 deletions
+34
-19
charge-query.js
src/api/apis_moudles/charge-query.js
+1
-0
charge-query.js
src/api/funcs_modules/charge-query.js
+5
-0
detail.vue
src/views/charge-query/detail.vue
+14
-7
index.vue
src/views/charge-query/index.vue
+14
-12
No files found.
src/api/apis_moudles/charge-query.js
View file @
f0a2e9b2
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
export
default
{
export
default
{
getChargeList
:
"
/backstage/auth/receiptList
"
,
getChargeList
:
"
/backstage/auth/receiptList
"
,
getCompanyOptions
:
"
/backstage/auth/payorListNopage
"
,
getCompanyOptions
:
"
/backstage/auth/payorListNopage
"
,
getDoctorListNoPage
:
"
/backstage/auth/doctorListNoPage
"
,
//医生列表
getChargeListDetail
:
"
/backstage/auth/receiptDetailList
"
,
//账单明细
getChargeListDetail
:
"
/backstage/auth/receiptDetailList
"
,
//账单明细
getReceiptPaymentDetail
:
"
/backstage/auth/receiptPaymentDetail
"
,
//账单明细
getReceiptPaymentDetail
:
"
/backstage/auth/receiptPaymentDetail
"
,
//账单明细
};
};
src/api/funcs_modules/charge-query.js
View file @
f0a2e9b2
...
@@ -9,6 +9,10 @@ const GETCHARGELIST = function (data) {
...
@@ -9,6 +9,10 @@ const GETCHARGELIST = function (data) {
const
GETCOMPANYOPTIONS
=
function
(
data
)
{
const
GETCOMPANYOPTIONS
=
function
(
data
)
{
return
req
.
post
(
apis
.
getCompanyOptions
,
data
);
return
req
.
post
(
apis
.
getCompanyOptions
,
data
);
};
};
// 获取医生列表
const
GETDOCTORlISTNOPAGE
=
function
(
data
)
{
return
req
.
post
(
apis
.
getDoctorListNoPage
,
data
);
};
// get charge detail list
// get charge detail list
const
GETCHARGELISTDETAIL
=
function
(
data
)
{
const
GETCHARGELISTDETAIL
=
function
(
data
)
{
return
req
.
post
(
apis
.
getChargeListDetail
,
data
);
return
req
.
post
(
apis
.
getChargeListDetail
,
data
);
...
@@ -21,6 +25,7 @@ const GETRECEIPTPAYMENTDETAIL= function (data) {
...
@@ -21,6 +25,7 @@ const GETRECEIPTPAYMENTDETAIL= function (data) {
export
default
{
export
default
{
GETCHARGELIST
,
GETCHARGELIST
,
GETCOMPANYOPTIONS
,
GETCOMPANYOPTIONS
,
GETDOCTORlISTNOPAGE
,
GETCHARGELISTDETAIL
,
GETCHARGELISTDETAIL
,
GETRECEIPTPAYMENTDETAIL
GETRECEIPTPAYMENTDETAIL
};
};
src/views/charge-query/detail.vue
View file @
f0a2e9b2
...
@@ -237,12 +237,7 @@ export default {
...
@@ -237,12 +237,7 @@ export default {
},
},
],
//客户类型
],
//客户类型
companyOptions
:
[],
//保险公司
companyOptions
:
[],
//保险公司
doctorOptions
:
[
doctorOptions
:
[],
//就诊医生
{
name
:
"
医生1
"
,
code
:
1
,
},
],
//就诊医生
paymentOptions
:
[
paymentOptions
:
[
{
{
name
:
"
商保
"
,
name
:
"
商保
"
,
...
@@ -281,7 +276,8 @@ export default {
...
@@ -281,7 +276,8 @@ export default {
this
.
receiptNo
=
receiptNo
||
""
;
this
.
receiptNo
=
receiptNo
||
""
;
this
.
_getChargeListDetail
();
this
.
_getChargeListDetail
();
this
.
_getCompanyOptions
();
this
.
_getCompanyOptions
();
//获取保险公司下拉选项
this
.
_getDoctorListNoPage
();
//获取看诊医生下拉选项
this
.
_getReceiptPaymentDetail
();
//费用支付明细
this
.
_getReceiptPaymentDetail
();
//费用支付明细
},
},
methods
:
{
methods
:
{
...
@@ -312,6 +308,17 @@ export default {
...
@@ -312,6 +308,17 @@ export default {
}
}
});
});
},
},
// 获取看诊医生下拉选项
_getDoctorListNoPage
(){
this
.
$apis
.
GETDOCTORlISTNOPAGE
().
then
((
res
)
=>
{
if
(
res
.
returnCode
===
"
0000
"
)
{
this
.
doctorOptions
=
res
.
content
||
[];
}
else
{
this
.
$message
.
success
(
res
.
returnMsg
);
}
});
},
// 获取费用支付明细
// 获取费用支付明细
_getReceiptPaymentDetail
()
{
_getReceiptPaymentDetail
()
{
const
params
=
{
const
params
=
{
...
...
src/views/charge-query/index.vue
View file @
f0a2e9b2
...
@@ -212,15 +212,8 @@ export default {
...
@@ -212,15 +212,8 @@ export default {
code
:
1
,
code
:
1
,
},
},
],
//客户类型
],
//客户类型
companyOptions
:
[
companyOptions
:
[],
//保险公司
doctorOptions
:
[],
//就诊医生
],
//保险公司
doctorOptions
:
[
{
name
:
"
医生1
"
,
code
:
1
,
},
],
//就诊医生
paymentOptions
:
[
paymentOptions
:
[
{
{
name
:
"
商保
"
,
name
:
"
商保
"
,
...
@@ -240,6 +233,7 @@ export default {
...
@@ -240,6 +233,7 @@ export default {
created
()
{
created
()
{
this
.
_getChargeList
();
this
.
_getChargeList
();
this
.
_getCompanyOptions
();
this
.
_getCompanyOptions
();
this
.
_getDoctorListNoPage
();
//获取医生下拉选项
},
},
methods
:
{
methods
:
{
// 获取列表数据
// 获取列表数据
...
@@ -249,7 +243,6 @@ export default {
...
@@ -249,7 +243,6 @@ export default {
...
this
.
pager
,
...
this
.
pager
,
};
};
this
.
$apis
.
GETCHARGELIST
(
data
).
then
((
res
)
=>
{
this
.
$apis
.
GETCHARGELIST
(
data
).
then
((
res
)
=>
{
console
.
log
(
"
获取table信息=
"
,
res
);
this
.
dataList
=
(
res
.
content
&&
res
.
content
.
list
)
||
[];
this
.
dataList
=
(
res
.
content
&&
res
.
content
.
list
)
||
[];
// this.pager.total = (res.content && res.content.total) || 0;
// this.pager.total = (res.content && res.content.total) || 0;
});
});
...
@@ -257,11 +250,20 @@ export default {
...
@@ -257,11 +250,20 @@ export default {
// 获取保险公司下拉选项
// 获取保险公司下拉选项
_getCompanyOptions
()
{
_getCompanyOptions
()
{
this
.
$apis
.
GETCOMPANYOPTIONS
().
then
((
res
)
=>
{
this
.
$apis
.
GETCOMPANYOPTIONS
().
then
((
res
)
=>
{
console
.
log
(
"
获取保险公司下拉选项
"
,
res
);
this
.
companyOptions
=
res
.
content
||
[];
this
.
companyOptions
=
res
.
content
||
[];
});
});
},
},
// 获取看诊医生下拉选项
_getDoctorListNoPage
(){
this
.
$apis
.
GETDOCTORlISTNOPAGE
().
then
((
res
)
=>
{
if
(
res
.
returnCode
===
"
0000
"
)
{
this
.
doctorOptions
=
res
.
content
||
[];
}
else
{
this
.
$message
.
success
(
res
.
returnMsg
);
}
});
},
// 选中就诊时间
// 选中就诊时间
onSelectVisitTime
(
date
,
dateString
)
{
onSelectVisitTime
(
date
,
dateString
)
{
console
.
log
(
date
,
dateString
);
console
.
log
(
date
,
dateString
);
...
...
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