Browse Source

Signed-off-by: zhaobao <528046418@qq.com>

zhaobao 10 months ago
parent
commit
c32f9f4bb3
1 changed files with 9 additions and 1 deletions
  1. 9 1
      pages/app_views/danger/handle/handle.vue

+ 9 - 1
pages/app_views/danger/handle/handle.vue

@@ -220,8 +220,16 @@
 					fileresq=JSON.parse(fileresq)
 					attachList.push(fileresq.data)
 				}
-				let {data}=await handleWorkflow({...workflowForm,attachList}).catch(()=>{uni.showToast({icon:'none',title:"提交失败!"})})
+				let {data}=await handleWorkflow({...workflowForm,attachList}).catch(()=>{uni.showToast({icon:'none',title:"提交失败!"})})				
 				let status=this.getStatusByActivityCode(data.activityCode,data.status)
+				if(data){
+					res.curGroupId=data.groupId
+					res.curGroupName=data.groupName
+					res.curPositionId=data.positionId
+					res.curPositionName=data.positionName
+					res.curAccountId=data.accountId
+					res.curAccountName=data.accountName						
+				}		
 				let resq=await handleDanger({...res,attachList,status}).catch(()=>{uni.showToast({icon:'none',title:"提交失败!"})})
 				uni.showToast({
 					icon:'none',