main
liudan 1 year ago
parent f34b9fd152
commit 65b463be4a
  1. 6
      pages/allprocess/allprocess.vue
  2. 3
      pages/processList/processList.vue
  3. 7
      pages/taskDetail/taskDetail.vue

@ -37,7 +37,8 @@
</view> </view>
<view class="code rowItem"> <view class="code rowItem">
<view> <view>
编码{{info.code?info.code:'-'}} <!-- 编码{{info.code?info.code:'-'}} -->
编码{{item.task?item.task.art_number:'-'}}
</view> </view>
<view class="right"> <view class="right">
数量{{item.num}} 数量{{item.num}}
@ -142,8 +143,9 @@
}) })
}, },
goProgress(item){ goProgress(item){
console.log(item,"99999")
uni.navigateTo({ uni.navigateTo({
url:'/pages/taskDetail/taskDetail?id='+item.id + '&status='+item.status + '&is_start='+ item.is_start +'&heat_num=' +this.info.heat_num +'&taskId='+this.info.id+'&code='+this.info.code url:'/pages/taskDetail/taskDetail?id='+item.id + '&status='+item.status + '&is_start='+ item.is_start +'&heat_num=' +item.task.heat_number +'&taskId='+item.task.id+'&code='+item.task.art_number+ '&resource='+'navbar'
}) })
} }

@ -103,8 +103,9 @@
}) })
}, },
goProgress(item){ goProgress(item){
console.log(item,"正确的")
uni.navigateTo({ uni.navigateTo({
url:'/pages/taskDetail/taskDetail?id='+item.id + '&status='+item.status + '&is_start='+ item.is_start +'&heat_num=' +this.info.heat_num +'&taskId='+this.info.id+'&code='+this.info.code url:'/pages/taskDetail/taskDetail?id='+item.id + '&status='+item.status + '&is_start='+ item.is_start +'&heat_num=' +this.info.heat_num +'&taskId='+this.info.id+'&code='+this.info.code+ '&resource='+'task'
}) })
} }

@ -359,9 +359,16 @@
}) })
}, },
leftClick(){ leftClick(){
if(this.info.resource=="navbar"){
uni.reLaunch({
url:'/pages/allprocess/allprocess?code='+this.info.code+'&id='+this.info.taskId+'&heat_num=' +this.info.heat_num
})
}else{
uni.navigateTo({ uni.navigateTo({
url:'/pages/processList/processList?code='+this.info.code+'&id='+this.info.taskId+'&heat_num=' +this.info.heat_num url:'/pages/processList/processList?code='+this.info.code+'&id='+this.info.taskId+'&heat_num=' +this.info.heat_num
}) })
}
}, },
}, },

Loading…
Cancel
Save