From ba3d4f49588b16b1f9fe1b67fe606585bdc509cb Mon Sep 17 00:00:00 2001 From: chen <2659004835@qq.com> Date: Tue, 16 Aug 2022 16:56:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BE=85=E7=BB=B4=E4=BF=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabbar/pagehome/pagehome.vue | 1 - pagesA/workOrder/workOrderLlsit.vue | 16 ++++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/pages/tabbar/pagehome/pagehome.vue b/pages/tabbar/pagehome/pagehome.vue index 0ea7ed8..c9b1702 100644 --- a/pages/tabbar/pagehome/pagehome.vue +++ b/pages/tabbar/pagehome/pagehome.vue @@ -419,7 +419,6 @@ // 接收消息 socket.on('new_msg', (msg)=> { console.log(msg); - console.log(uni.getStorageSync('ifVoice'),uni.getStorageSync('ifMessage'),55555); // this.offMusic(); if(uni.getStorageSync('ifVoice') || uni.getStorageSync('ifMessage')){ console.log('进入接收消息'); diff --git a/pagesA/workOrder/workOrderLlsit.vue b/pagesA/workOrder/workOrderLlsit.vue index 41df2bb..769adcc 100644 --- a/pagesA/workOrder/workOrderLlsit.vue +++ b/pagesA/workOrder/workOrderLlsit.vue @@ -167,7 +167,6 @@ } else { this.array=[...res.data]; } - console.log(this.array,777777); if(this.statusId){ this.workeOrderStatusIndex = this.array.findIndex(item=>item.id==this.statusId); if(this.workeOrderStatusIndex!=-1) { @@ -235,7 +234,20 @@ } } }) - }else if(uni.getStorageSync('type_id')==5){ + }else if(uni.getStorageSync('type_id')==4) { + if(status==3){ + // 待维修 + uni.navigateTo({ + url: `/pagesA/workOrder/workOrder?id=${id}` + }) + } + if(status==4){ + // 维修中 + uni.navigateTo({ + url: `/pagesA/workOrder/workOrder?id=${id}` + }) + } + } else if(uni.getStorageSync('type_id')==5){ if(status==6){ // 财务点击审核工单 uni.navigateTo({