diff --git a/components/orderCard.vue b/components/orderCard.vue index a068439..bd1cdae 100644 --- a/components/orderCard.vue +++ b/components/orderCard.vue @@ -51,9 +51,9 @@ 接单 - - 开始施工 - + + + 告知取车 @@ -112,15 +112,9 @@ export default { //服务顾问可以告知取车 this.roleCanQc = true } - if(userInfo.roleCodes.includes("repair_staff")){ - //维修工角色可以接单 + if(userInfo.roleCodes.includes("repair_staff") && this.order.nowRepairId==userInfo.id){ + //维修工角色,并且指派处理的人就是当前用户可以接单 this.roleCanJd = true - console.log(this.order.nowRepairId,"this.order.nowRepairId") - console.log(userInfo.id,"userInfo.id") - if(this.order.nowRepairId==userInfo.id){ - //当前用户就是接单的人,可以施工、施工过程、结束施工操作 - this.roleCanSg = true - } } }, onLoad(){ diff --git a/pages-order/chooseImg/chooseImg.vue b/pages-order/chooseImg/chooseImg.vue new file mode 100644 index 0000000..d449b4f --- /dev/null +++ b/pages-order/chooseImg/chooseImg.vue @@ -0,0 +1,224 @@ + + + + + + + + + + + + + + + + + 已授权 + 未授权 + + + + + + + + + + 保存 + + + + + + + diff --git a/pages-order/choosePeople/choosePeople.vue b/pages-order/choosePeople/choosePeople.vue index c5e334f..7a74e1f 100644 --- a/pages-order/choosePeople/choosePeople.vue +++ b/pages-order/choosePeople/choosePeople.vue @@ -9,17 +9,20 @@