This commit is contained in:
PQZ 2024-09-19 23:54:23 +08:00
parent abc5bd3d12
commit fc1fe76977

View File

@ -105,7 +105,7 @@
<pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
@ -331,7 +331,7 @@
open: false,
//
queryParams: {
pageNum: 1,
pageNo: 1,
pageSize: 10,
customerName: null,
customerPhone: null,
@ -402,9 +402,9 @@
getList() {
this.loading = true;
listCustomerInfo(this.queryParams).then(response => {
this.customerInfoList = response.rows;
this.customerInfoList = response.data.records;
// this.userCarList = response.rows.userCarList
this.total = response.total;
this.total = response.data.total;
this.loading = false;
});
},