优化待维修

master
chen 2022-08-16 16:56:34 +08:00
parent 93049cf453
commit ba3d4f4958
2 changed files with 14 additions and 3 deletions

View File

@ -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('进入接收消息');

View File

@ -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,6 +234,19 @@
}
}
})
}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){
//