From 3a79a4092cde858da55abcf50fe8bc93dacdd759 Mon Sep 17 00:00:00 2001 From: luckyxz Date: Tue, 28 Jun 2022 15:07:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=80=89=E6=8B=A9=E6=8A=84?= =?UTF-8?q?=E9=80=81=E4=BA=BA=E5=90=8E=E5=AE=A1=E6=89=B9=E9=80=9A=E8=BF=87?= =?UTF-8?q?=E5=8D=B4=E6=B2=A1=E6=9C=89=E4=BF=9D=E5=AD=98=E6=8A=84=E9=80=81?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/workflow/work/detail.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ruoyi-ui/src/views/workflow/work/detail.vue b/ruoyi-ui/src/views/workflow/work/detail.vue index a7c4903c..d287bd3b 100644 --- a/ruoyi-ui/src/views/workflow/work/detail.vue +++ b/ruoyi-ui/src/views/workflow/work/detail.vue @@ -557,6 +557,13 @@ export default { this.userData.copyUser = this.userMultipleSelection.map(k => { return { id: k.userId, label: k.nickName } }) + // 设置抄送人ID + if (this.userData.copyUser && this.userData.copyUser.length > 0) { + const val = this.userData.copyUser.map(item => item.id); + this.taskForm.copyUserIds = val instanceof Array ? val.join(',') : val; + } else { + this.taskForm.copyUserIds = ''; + } this.userData.open = false; } else { if (!this.taskForm.comment) {