diff --git a/src/views/partner/CustomerInfo.vue b/src/views/partner/CustomerInfo.vue index 0feea5c..08384be 100644 --- a/src/views/partner/CustomerInfo.vue +++ b/src/views/partner/CustomerInfo.vue @@ -445,7 +445,7 @@ }, /** 搜索按钮操作 */ handleQuery() { - this.queryParams.pageNum = 1; + this.queryParams.pageNo = 1; this.getList(); }, /** 重置按钮操作 */ diff --git a/src/views/partner/delWorkOrder.vue b/src/views/partner/delWorkOrder.vue index 42edb4a..5182893 100644 --- a/src/views/partner/delWorkOrder.vue +++ b/src/views/partner/delWorkOrder.vue @@ -529,8 +529,8 @@ this.queryParams.endTime = this.queryParams.jcTime[1] } listDelWorkOrder(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; }); workOrderData(this.queryParams).then(response => { @@ -544,7 +544,7 @@ } getWorker(data).then(res =>{ console.log(res) - this.workerList = res.rows + this.workerList = res.data.records }) getBankAccountList().then(res=>{ res.data.forEach(it=>{ diff --git a/src/views/partner/ordermanagement/ordermanagement.vue b/src/views/partner/ordermanagement/ordermanagement.vue index 569ee45..cdb7bdd 100644 --- a/src/views/partner/ordermanagement/ordermanagement.vue +++ b/src/views/partner/ordermanagement/ordermanagement.vue @@ -171,7 +171,7 @@ @@ -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(); }, /** 重置按钮操作 */ diff --git a/src/views/partner/workOrder.vue b/src/views/partner/workOrder.vue index 0d95788..6c979c7 100644 --- a/src/views/partner/workOrder.vue +++ b/src/views/partner/workOrder.vue @@ -399,7 +399,7 @@ inspectionId:'', size:'', workId:'', - workerList:[], + // workerList:[], value: '', options:[], // 遮罩层 @@ -601,8 +601,8 @@ this.queryParams.endTime = this.queryParams.jcTime[1] } listWorkOrder(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; }); workOrderData(this.queryParams).then(response => { @@ -614,10 +614,10 @@ pageNum:1, pageSize:100, } - getWorker(data).then(res =>{ - console.log(res) - this.workerList = res.rows - }) + // getWorker(data).then(res =>{ + // console.log(res) + // this.workerList = res.rows + // }) getBankAccountList().then(res=>{ res.data.forEach(it=>{ let temp={}