Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-finance-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
刘怀志
pet-finance-web
Commits
cfe17801
Commit
cfe17801
authored
Sep 19, 2023
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
缴费:押金列表分页
parent
be575b58
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
11 deletions
+43
-11
payment.js
src/api/financial/payment.js
+8
-0
payment-detail.vue
...inancial-management/payment-management/payment-detail.vue
+35
-11
No files found.
src/api/financial/payment.js
View file @
cfe17801
...
...
@@ -71,6 +71,14 @@ export function selectFinListById(query) {
params
:
query
})
}
// 获取押金信息列表页(分页)
export
function
selectFinListPage
(
query
)
{
return
request
({
url
:
'/business/trade/his/selectFinListPage'
,
method
:
'get'
,
params
:
query
})
}
// 充值押金弹窗信息获取接口
...
...
src/views/financial-management/payment-management/payment-detail.vue
View file @
cfe17801
...
...
@@ -626,6 +626,15 @@ color: #333333;"
<
/template
>
<
/el-table-column
>
<
/el-table
>
<!--
分页
-->
<
pagination
v
-
show
=
"total>6"
:
limit
.
sync
=
"queryParams.pageSize"
:
page
.
sync
=
"queryParams.pageNum"
:
total
=
"total"
:
page
-
sizes
=
"[6,20,50]"
@
pagination
=
"getDeposit"
/>
<
/div
>
<
/div
>
<
/div
>
...
...
@@ -654,8 +663,7 @@ import { getRecord } from '@/api/business/mdeicalRecord'
import
{
buyingOnCredit
,
getPaymentList
,
hospitalGetInfoById
,
paymentDetail
,
selectFinListById
paymentDetail
,
selectFinListPage
}
from
'@/api/financial/payment'
import
{
tradeTypeMap
,
tradeTypeMapDepositList
}
from
'../constant'
import
{
mapGetters
}
from
'vuex'
...
...
@@ -673,6 +681,14 @@ export default {
}
,
data
()
{
return
{
// 查询参数
queryParams
:
{
// 导出列表
pageNum
:
1
,
pageSize
:
6
}
,
// 总条数
total
:
0
,
// 收入类目
tradeTypeMap
:
tradeTypeMap
,
depositList
:
[],
// 押金列表数据
...
...
@@ -873,8 +889,8 @@ export default {
sessionStorage
.
setItem
(
'Payment-single-detail'
,
JSON
.
stringify
({
detailInfo
:
this
.
detailInfo
,
singleData
:
row
,
parentData
:
this
.
rowData
,
depositList
:
this
.
depositList
parentData
:
this
.
rowData
//
depositList: this.depositList
}
))
this
.
$router
.
push
({
name
:
'Payment-single-detail'
...
...
@@ -1039,6 +1055,7 @@ export default {
this
.
rowData
[
'payRecipientShow'
]
=
(
this
.
rowData
.
payType
===
'3'
)
?
'百邦萌宠平台'
:
this
.
rowData
.
payRecipient
console
.
log
(
'rowData'
,
this
.
rowData
)
this
.
getInfo
()
this
.
getDeposit
()
}
)
}
,
parseTime
,
...
...
@@ -1089,14 +1106,21 @@ export default {
}
).
catch
(
err
=>
{
console
.
log
(
err
)
}
)
// 押金列表
selectFinListById
({
medicalRecordId
:
this
.
rowData
.
medicalRecordId
}
).
then
(
res
=>
{
this
.
depositList
=
res
.
data
console
.
log
(
'押金列表返回值'
,
this
.
depositList
)
}
).
catch
(
err
=>
{
console
.
log
(
'押金列表返回值Err'
,
err
)
}
)
}
}
,
getDeposit
()
{
// 押金列表
selectFinListPage
({
medicalRecordId
:
this
.
rowData
.
medicalRecordId
,
pageSize
:
this
.
queryParams
.
pageSize
,
pageNum
:
this
.
queryParams
.
pageNum
}
).
then
(
res
=>
{
this
.
depositList
=
res
.
rows
console
.
log
(
'分页的押金列表信息'
,
this
.
depositList
)
this
.
total
=
res
.
total
this
.
loading
=
false
console
.
log
(
'押金列表返回值页数'
,
res
.
total
)
}
).
catch
(
err
=>
{
console
.
log
(
'押金列表返回值Err'
,
err
)
}
)
}
}
}
...
...
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