From 7005f04314ffccd029a85adc16af986778908216 Mon Sep 17 00:00:00 2001 From: konbai <1527468660@qq.com> Date: Mon, 21 Mar 2022 23:20:37 +0800 Subject: [PATCH] =?UTF-8?q?fix=20--=20=E4=BF=AE=E5=A4=8D=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=8F=90=E7=A4=BA=E6=A0=87=E7=AD=BE=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/package/penal/task/task-components/UserTask.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 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 8f712806..09be68e3 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 @@ -227,7 +227,7 @@ export default { }, updateElementTask(key) { const taskAttr = Object.create(null); - taskAttr.type = this.formData.assignType; + taskAttr['flowable:assignType'] = this.formData.assignType; if (key === "candidateUsers" || key === "candidateGroups") { if (this.userTaskForm[key] && this.userTaskForm[key].length > 0) { taskAttr[key] = this.userTaskForm[key].map(k => k.userId) || null @@ -237,10 +237,10 @@ export default { } else { if (this.userTaskForm[key]) { if (this.formData.assignType === ('fixed' || '1')) { - taskAttr['text'] = this.userTaskForm[key].nickName + taskAttr['flowable:text'] = this.userTaskForm[key].nickName taskAttr[key] = this.userTaskForm[key].userId || null; } else if (this.formData.assignType === ('dynamic' || '2')) { - taskAttr['text'] = this.userTaskForm[key].label + taskAttr['flowable:text'] = this.userTaskForm[key].label taskAttr[key] = this.userTaskForm[key].value || null; } }