update:
1. fix
This commit is contained in:
@@ -75,7 +75,7 @@ export default {
|
||||
search: {},
|
||||
loading: true,
|
||||
page: {
|
||||
pageSize: 10,
|
||||
pageSize: 30,
|
||||
currentPage: 1,
|
||||
total: 0,
|
||||
},
|
||||
@@ -270,7 +270,7 @@ export default {
|
||||
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;
|
||||
this.page.total = data.total;
|
||||
this.data = data.records;
|
||||
|
||||
@@ -267,7 +267,7 @@ export default {
|
||||
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;
|
||||
this.page.total = data.total;
|
||||
this.data = data.records;
|
||||
|
||||
@@ -200,7 +200,7 @@
|
||||
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;
|
||||
this.page.total = data.total;
|
||||
this.data = data.records;
|
||||
|
||||
Reference in New Issue
Block a user