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/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={}