This commit is contained in:
PQZ 2024-09-20 00:16:34 +08:00
parent fc1fe76977
commit 0636b4a78c
2 changed files with 6 additions and 6 deletions

View File

@ -445,7 +445,7 @@
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.queryParams.pageNo = 1;
this.getList();
},
/** 重置按钮操作 */

View File

@ -171,7 +171,7 @@
<pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
@ -221,7 +221,7 @@
open: false,
//
queryParams: {
pageNum: 1,
pageNo: 1,
pageSize: 10,
orderNo: null,
goodsTitle: null,
@ -263,8 +263,8 @@
this.queryParams.endTime = moment(this.queryParams.endTime).format('YYYY-MM-DD HH:mm');
}
listInfo(this.queryParams).then(response => {
this.infoList = response.rows;
this.total = response.total;
this.infoList = response.data.records;
this.total = response.data.total;
this.loading = false;
});
},
@ -308,7 +308,7 @@
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.queryParams.pageNo = 1;
this.getList();
},
/** 重置按钮操作 */