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