From a4aa0803375232b0e77a40ea3a3f404463a482bd Mon Sep 17 00:00:00 2001 From: konbai <1527468660@qq.com> Date: Fri, 9 Jun 2023 00:46:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=81=E7=A8=8B=E8=AE=BE=E8=AE=A1):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=BD=93=E5=A4=9A=E4=B8=AA=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E8=8A=82=E7=82=B9=E9=80=89=E6=8B=A9=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=B7=B2=E9=80=89=E7=9A=84=E9=83=A8=E9=97=A8=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../package/penal/task/task-components/UserTask.vue | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/plugins/package/penal/task/task-components/UserTask.vue b/ruoyi-ui/src/plugins/package/penal/task/task-components/UserTask.vue index dde83dca..a0595891 100644 --- a/ruoyi-ui/src/plugins/package/penal/task/task-components/UserTask.vue +++ b/ruoyi-ui/src/plugins/package/penal/task/task-components/UserTask.vue @@ -216,12 +216,11 @@ export default { } this.showMultiFlog = true; } else if (this.dataType === 'DEPTS') { - this.getDeptTreeData().then(() => { - let deptIdData = bpmnElementObj['candidateGroups'] || []; - if (deptIdData && deptIdData.length > 0) { - this.deptIds = deptIdData.split(','); - } - }); + this.getDeptTreeData(); + let deptIdData = bpmnElementObj['candidateGroups'] || []; + if (deptIdData && deptIdData.length > 0) { + this.deptIds = deptIdData.split(','); + } this.showMultiFlog = true; } this.getElementLoop(bpmnElementObj);