1. fix
This commit is contained in:
2026-05-19 16:34:29 +08:00
parent 7cfec275fe
commit 196c4c13b3
3 changed files with 86 additions and 86 deletions

View File

@@ -75,7 +75,7 @@ export default {
search: {}, search: {},
loading: true, loading: true,
page: { page: {
pageSize: 10, pageSize: 30,
currentPage: 1, currentPage: 1,
total: 0, total: 0,
}, },
@@ -270,7 +270,7 @@ export default {
searchDateRange: params.searchDateRange, searchDateRange: params.searchDateRange,
}; };
getList(page.currentPage, page.pageSize, values).then(res => { getList(page.currentPage, page.pageSize, Object.assign(params, this.query, values)).then(res => {
const data = res.data.data; const data = res.data.data;
this.page.total = data.total; this.page.total = data.total;
this.data = data.records; this.data = data.records;

View File

@@ -267,7 +267,7 @@ export default {
searchDateRange : params.searchDateRange, searchDateRange : params.searchDateRange,
}; };
getList(page.currentPage, page.pageSize, values).then(res => { getList(page.currentPage, page.pageSize, Object.assign(params, this.query, values)).then(res => {
const data = res.data.data; const data = res.data.data;
this.page.total = data.total; this.page.total = data.total;
this.data = data.records; this.data = data.records;

View File

@@ -200,7 +200,7 @@
account: params.account, account: params.account,
}; };
getList(page.currentPage, page.pageSize, values).then(res => { getList(page.currentPage, page.pageSize, Object.assign(params, this.query, values)).then(res => {
const data = res.data.data; const data = res.data.data;
this.page.total = data.total; this.page.total = data.total;
this.data = data.records; this.data = data.records;