From 6c49325cecb085aa1a2bebc9d3a9b54c6818233e Mon Sep 17 00:00:00 2001 From: baoyu <102349094+Bytq@users.noreply.github.com> Date: Sun, 28 Apr 2024 17:57:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E5=A4=96=E9=83=A8?= =?UTF-8?q?=E6=A0=87=E5=87=86=E5=8C=96=E5=8D=8F=E4=BC=9A=E5=85=A5=E4=BC=9A?= =?UTF-8?q?=E3=80=81=E5=8F=82=E4=BC=9A=E6=B5=81=E7=A8=8B=20=E5=A4=96?= =?UTF-8?q?=E9=83=A8=E7=BD=B2=E5=90=8D=E6=8E=A8=E8=8D=90=E5=AE=A1=E6=89=B9?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=20=20=E4=BA=BA=E5=91=98=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/creatProcess/bzhHd-rh/step1.vue | 4 +++- .../processCenter/pages/creatProcess/bzhHy-ch/step1.vue | 5 +++-- src/pages/processCenter/pages/creatProcess/wbsm/step1.vue | 4 +++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue index b156a5e18..5120c38ed 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHd-rh/step1.vue @@ -766,7 +766,9 @@ export default { // 流程阶段负责人选择 choiceZRR(type, title, id) { this.nodeList = [] - this.nodeList = JSON.parse(JSON.stringify(id.split(','))) + if (id.length > 0) { + this.nodeList = id.split(',') + } this.type = type this.drawerTitle = title this.roleShowflag = true diff --git a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue index cc7c3ce07..1d7e4d3e4 100644 --- a/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzhHy-ch/step1.vue @@ -708,9 +708,10 @@ export default { this.roleShowflagOne = true }, choiceZRRFEE(type, title, id) { - console.log(id) this.nodeListOne = [] - this.nodeListOne = JSON.parse(JSON.stringify(id.split(','))) + if (id.length > 0) { + this.nodeListOne = id.split(',') + } this.drawerTitleOne = title this.roleShowflagFEE = true }, diff --git a/src/pages/processCenter/pages/creatProcess/wbsm/step1.vue b/src/pages/processCenter/pages/creatProcess/wbsm/step1.vue index 8185c092b..b8a544fce 100644 --- a/src/pages/processCenter/pages/creatProcess/wbsm/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/wbsm/step1.vue @@ -805,7 +805,9 @@ export default { }, choiceDOCK(type, title, id) { this.nodeList = []; - this.nodeList = JSON.parse(JSON.stringify(id.split(','))) + if (id.length > 0) { + this.nodeList = id.split(',') + } this.drawerTitle = title; this.modalshowflagDOCK = true; },