Compare commits

..

2 Commits

Author SHA1 Message Date
chen 2e8aaea60f 解决冲突 2022-08-16 16:57:33 +08:00
chen ba3d4f4958 优化待维修 2022-08-16 16:56:34 +08:00
2 changed files with 14 additions and 3 deletions

View File

@ -430,7 +430,6 @@
} }
}); });
} }
}, },
bofang(msg){ bofang(msg){
this.bgmMusic.autoplay = true;// this.bgmMusic.autoplay = true;//

View File

@ -167,7 +167,6 @@
} else { } else {
this.array=[...res.data]; this.array=[...res.data];
} }
console.log(this.array,777777);
if(this.statusId){ if(this.statusId){
this.workeOrderStatusIndex = this.array.findIndex(item=>item.id==this.statusId); this.workeOrderStatusIndex = this.array.findIndex(item=>item.id==this.statusId);
if(this.workeOrderStatusIndex!=-1) { 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){ if(status==6){
// //
uni.navigateTo({ uni.navigateTo({