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})
}
})
},