diff --git a/ruoyi-ui/src/components/Process/components/nodePanel/task.vue b/ruoyi-ui/src/components/Process/components/nodePanel/task.vue index ee0b891a..2230626c 100644 --- a/ruoyi-ui/src/components/Process/components/nodePanel/task.vue +++ b/ruoyi-ui/src/components/Process/components/nodePanel/task.vue @@ -39,7 +39,9 @@ - + + + @@ -628,6 +630,8 @@ export default { this.updateProperties({'flowable:assignee': selection.id.toString()}); }else if ("candidateUsers" === this.expType) { this.updateProperties({'flowable:candidateUsers': selection.id.toString()}); + }else if ("candidateGroups" === this.expType) { + this.updateProperties({'flowable:candidateGroups': selection.id.toString()}); } this.checkValues = selection.name; this.expType = null; diff --git a/ruoyi-ui/src/views/flowable/task/todo/detail/index.vue b/ruoyi-ui/src/views/flowable/task/todo/detail/index.vue index 1c21fb54..03b7eadd 100644 --- a/ruoyi-ui/src/views/flowable/task/todo/detail/index.vue +++ b/ruoyi-ui/src/views/flowable/task/todo/detail/index.vue @@ -443,18 +443,17 @@ export default { }, /** 审批任务 */ taskComplete() { - const that = this - if (!that.taskForm.values && that.checkSendUser){ - that.msgError("请选择流程接收人员"); + if (!this.taskForm.values && this.checkSendUser){ + this.msgError("请选择流程接收人员"); return; } - if (!that.taskForm.comment){ - that.msgError("请输入审批意见"); + if (!this.taskForm.comment){ + this.msgError("请输入审批意见"); return; } - complete(that.taskForm).then(response => { - that.msgSuccess(response.msg); - that.goBack(); + complete(this.taskForm).then(response => { + this.msgSuccess(response.msg); + this.goBack(); }); }, /** 委派任务 */