Lee1203 2022-08-16 17:42:50 +08:00
commit 60797eb4df
1 changed files with 14 additions and 2 deletions

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