【修改】修改流程传参 修改名称样式
This commit is contained in:
@@ -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: {},
|
||||
|
||||
Reference in New Issue
Block a user