|
@@ -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',
|