diff --git a/src/views/plugin/workflow/process/components/detail.vue b/src/views/plugin/workflow/process/components/detail.vue index e1c3854..de852fe 100644 --- a/src/views/plugin/workflow/process/components/detail.vue +++ b/src/views/plugin/workflow/process/components/detail.vue @@ -499,7 +499,7 @@ export default { // rwfl.dicData = taskParent.data.data; this.taskParentList = taskParent.data.data // 任务种类 - const taskTypeData = await getTaskTypeData({ parentId: renwufulei,isDetail:0 }); + const taskTypeData = await getTaskTypeData({ parentId: renwufulei,isDetail:1 }); // const renwuzhonglei = this.findObject( // this.option.column, // "renwuzhonglei" @@ -645,7 +645,8 @@ export default { variables.xitongmingchengshujuku = this.form.xitongmingchengshujuku ? this.form.xitongmingchengshujuku : ''; variables.xitongmokuaishujubiao = this.form.xitongmokuaishujubiao ? - this.form.xitongmokuaishujubiao : '' + this.form.xitongmokuaishujubiao : ''; + variables.$renwuzhonglei = this.kindList.find(item => item.id == this.form.renwuzhonglei) ? this.kindList.find(item => item.id == this.form.renwuzhonglei).taskTypeName : '' this.handleCompleteTask(pass, variables) .then(() => { this.$message.success("处理成功");