Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
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
许珑标
薪瑞通-前端
Commits
251c0a0f
Commit
251c0a0f
authored
Feb 18, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量支付分页优化
parent
dbbdcf9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/views/business/payOrder/batchToAli.vue
src/views/business/payOrder/batchToAli.vue
+3
-1
src/views/business/payOrder/batchToBank.vue
src/views/business/payOrder/batchToBank.vue
+3
-1
No files found.
src/views/business/payOrder/batchToAli.vue
View file @
251c0a0f
...
...
@@ -100,6 +100,7 @@
<el-pagination
style=
"margin-top: 10px"
v-show=
"page.total && page.total > 0"
@
current-change=
"handleCurrentChange"
:current-page=
"page.pageNum"
:page-size=
"page.pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"page.total"
>
...
...
@@ -385,6 +386,7 @@ export default {
this
.
getList
()
},
searchEvt
()
{
this
.
page
.
pageNum
=
1
this
.
getList
()
},
getList
()
{
...
...
@@ -393,13 +395,13 @@ export default {
if
(
this
.
page
.
search
)
{
rows
=
rows
.
filter
(
item
=>
item
.
payeeAccName
.
indexOf
(
this
.
page
.
search
)
>
-
1
)
}
this
.
page
.
total
=
rows
.
length
this
.
page
.
rows
=
rows
.
slice
(
this
.
page
.
pageNum
*
this
.
page
.
pageSize
-
this
.
page
.
pageSize
,
this
.
page
.
pageNum
*
this
.
page
.
pageSize
);
let
countAmount
=
0
;
rows
.
forEach
((
item
,
index
)
=>
{
countAmount
+=
item
.
amount
})
this
.
page
.
countAmount
=
countAmount
.
toFixed
(
2
)
this
.
page
.
total
=
rows
.
length
}
else
{
this
.
page
.
rows
=
[];
this
.
page
=
{
...
...
src/views/business/payOrder/batchToBank.vue
View file @
251c0a0f
...
...
@@ -99,6 +99,7 @@
</el-table>
<el-pagination
style=
"margin-top: 10px"
v-show=
"page.total && page.total > 0"
:current-page=
"page.pageNum"
@
current-change=
"handleCurrentChange"
:page-size=
"page.pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
...
...
@@ -385,6 +386,7 @@ export default {
this
.
getList
()
},
searchEvt
()
{
this
.
page
.
pageNum
=
1
this
.
getList
()
},
getList
()
{
...
...
@@ -393,13 +395,13 @@ export default {
if
(
this
.
page
.
search
)
{
rows
=
rows
.
filter
(
item
=>
item
.
payeeAccName
.
indexOf
(
this
.
page
.
search
)
>
-
1
)
}
this
.
page
.
total
=
rows
.
length
this
.
page
.
rows
=
rows
.
slice
(
this
.
page
.
pageNum
*
this
.
page
.
pageSize
-
this
.
page
.
pageSize
,
this
.
page
.
pageNum
*
this
.
page
.
pageSize
);
let
countAmount
=
0
;
rows
.
forEach
((
item
,
index
)
=>
{
countAmount
+=
item
.
amount
})
this
.
page
.
countAmount
=
countAmount
.
toFixed
(
2
)
this
.
page
.
total
=
rows
.
length
}
else
{
this
.
page
.
rows
=
[];
this
.
page
=
{
...
...
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