【修改】修改流程传参 修改名称样式

This commit is contained in:
zhoulingpo
2023-04-24 19:24:24 +08:00
parent 7f675d424b
commit 95b35ed77a
14 changed files with 196 additions and 127 deletions
+8 -12
View File
@@ -89,29 +89,25 @@
})
},
// 所有流程的完成任务
completeProcess(dataJson,submitJson,taskId,userId) {
this.$api.process.completeTask({
taskId:taskId,
userId:userId,
dataJson,
submitJson
}).then(res=>{
this.$message['success']('提交成功')
this.$router.back(-1)
})
completeProcess(obj) {
this.$api.process.completeTask(obj).then(res=>{
this.$message['success']('提交成功')
this.$router.back(-1)
})
},
// 获取流程详细信息
getProcessDetail(){
return new Promise((resolve,reject)=>{
this.$api.process.getProcessDetail({taskId:this.taskIds}).then(res=>{
let data=res.data
this.processOld=res.data
this.processOld=data.data
resolve()
}).catch(err=>{
reject()
})
})
}
},
},
computed: {},
watch: {},