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({