Commit 461865e3 by 张杰

修复分页bug

1 parent 6dedb862
......@@ -193,7 +193,7 @@ export default {
// 获取列表
getList(options) {
let oParams = this.getParams();
oParams.pageSize = this.$refs.glsxTable.pageSize;
oParams.pageSize = this.$refs.glsxTable.pageSizeNum;
oParams.pageNumber = options ? options.pageNumber || 1 : 1;
MILEAGE_GETDAILYSEARCH(oParams).then((res) => {
let { data } = res;
......@@ -251,8 +251,8 @@ export default {
rest() {
this.searchForm = {};
this.dateTime = [];
this.getList();
this.$refs.glsxTable.rest();
this.getList();
},
},
};
......
......@@ -880,7 +880,7 @@ export default {
refresh() {
this.pageSize = 10;
this.pageNumber = 1;
this.searchForm = {};
this.searchForm = {settleFlag:''};
this.getList();
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!