From 0a2d2f0c3ca600563876c5a43f6f3919e91e2330 Mon Sep 17 00:00:00 2001 From: tony <846249920@qq.com> Date: Thu, 12 Jan 2023 08:52:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E6=97=B6=E6=B5=81=E7=A8=8B=E5=80=99=E9=80=89?= =?UTF-8?q?=E4=BA=BA=E5=91=98=E6=97=A0=E6=B3=95=E5=9B=9E=E6=98=BE=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/components/Process/components/nodePanel/task.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/components/Process/components/nodePanel/task.vue b/ruoyi-ui/src/components/Process/components/nodePanel/task.vue index 70bc0db5..df401a29 100644 --- a/ruoyi-ui/src/components/Process/components/nodePanel/task.vue +++ b/ruoyi-ui/src/components/Process/components/nodePanel/task.vue @@ -493,7 +493,7 @@ export default { const val = attrs["flowable:candidateUsers"]; if (attrs["flowable:dataType"] === "dynamic") { this.checkValues = that.expList.find(item => item.expression == val).name; - this.selectValues = that.expList.filter(item => item.expression == val).id; + this.selectValues = that.expList.find(item => item.expression == val).id; } else { const newArr = that.userList.filter(i => val.split(',').includes(i.userId)) this.checkValues = newArr.map(item => item.nickName).join(','); @@ -504,7 +504,7 @@ export default { const val = businessObject["candidateGroups"] || attrs["flowable:candidateGroups"]; if (attrs["flowable:dataType"] === "dynamic") { this.checkValues = that.expList.find(item => item.expression == val).name; - this.selectValues = that.expList.filter(item => item.expression == val).id; + this.selectValues = that.expList.find(item => item.expression == val).id; } else { const newArr = that.groupList.filter(i => val.split(',').includes(i.roleId)) this.checkValues = newArr.map(item => item.roleName).join(',');