From ca2fc2773c04e6e342e15f8e63f14fa058d8ffb1 Mon Sep 17 00:00:00 2001 From: xiaofajia <1665375861@qq.com> Date: Wed, 11 Dec 2024 15:18:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=85=E9=87=8D=E6=A3=80=E3=80=81=E5=BE=85?= =?UTF-8?q?=E5=A4=8D=E6=A3=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/Neworder.vue | 7 ++++--- pages/index/orderdetails.vue | 5 +++-- pages/staff/staff.vue | 10 ++++++---- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/pages/index/Neworder.vue b/pages/index/Neworder.vue index 6c25e12..1571308 100644 --- a/pages/index/Neworder.vue +++ b/pages/index/Neworder.vue @@ -84,7 +84,7 @@ 代办人手机号 - + @@ -129,7 +129,6 @@ - @@ -543,7 +542,8 @@ export default { skuId: this.skuId, carNature: this.carNature, inspectionWorkNodes: this.inspectionWorkNodes, - leadManId: this.leadManId + leadManId: this.leadManId, + status: '2', } let res = await request({ @@ -597,6 +597,7 @@ export default { this.skuId = res.data.skuId this.carNature = res.data.carNature this.leadManId = res.data.leadManId + this.otherPhone = res.data.otherPhone setTimeout(() => { let result = this.leadManList .map((subArray, subArrayIndex) => { diff --git a/pages/index/orderdetails.vue b/pages/index/orderdetails.vue index 528ed15..1e1905d 100644 --- a/pages/index/orderdetails.vue +++ b/pages/index/orderdetails.vue @@ -167,7 +167,7 @@ - 结束检测 @@ -559,7 +559,8 @@ export default { const workNodes = [] this.csId.forEach(item => { let a = { - id: item + id: item, + status: "3" } workNodes.push(a) }) diff --git a/pages/staff/staff.vue b/pages/staff/staff.vue index d614405..2e49bb8 100644 --- a/pages/staff/staff.vue +++ b/pages/staff/staff.vue @@ -80,10 +80,10 @@ - + 开始检测 - + 取消接单 查看详情 @@ -184,6 +184,8 @@ export default { workNodeId: null, id: null }, + beginButtonShow: [1, 3, 4], + cancelButtonShow: [2], } }, onLoad() { @@ -232,7 +234,7 @@ export default { id: item.id } let res = await request({ - url: `/system/info/getWorkNodeByIdAndNow?id=${item.id}&status=0`, + url: `/system/info/getWorkNodeByIdAndNow?id=${item.id}&status=${(this.tapindex === 4 ? "3" : "0")}${(this.tapindex === 3 ? "&flag=false" : "")}`, method: 'get', }) if (res.data){ @@ -334,7 +336,7 @@ export default { icon: 'none' }) // this.tapindex = 1 - this.getList() + this.godetails({id: data.id, workNodeId: data.workNodeId, workNodeStatus: 1}) } }) },