From a85bf4c466fc3894c1f79352f4eb683db7976a3d Mon Sep 17 00:00:00 2001 From: PQZ Date: Fri, 20 Sep 2024 01:20:40 +0800 Subject: [PATCH] 1 --- src/views/partner/delWorkOrder.vue | 6 +++--- src/views/partner/workOrder.vue | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) 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={}