From 0c6589eea94170122f670d832d455bc0fdbb91ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Mon, 28 Mar 2022 09:45:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E5=8F=B8=E7=BD=B2=E5=90=8D=E4=BA=BA?= =?UTF-8?q?=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzrk/step1.vue | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index d2fbca014..fa49035fe 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -790,7 +790,7 @@ > - + @@ -2530,7 +2530,18 @@ export default { }, choiceWSSMR(type, title, id) { this.nodeList3 = [] - this.nodeList.push(id) + if(id){ + let nameId = id.split(',') + let idList = [] + nameId.forEach(item => { + let a, b + a = item.substring(item.indexOf('(') +1) + b = a.substring(0, a.lastIndexOf(')')) + idList.push(b) + }) + idList = idList.join(',') + this.nodeList3.push(idList) + } this.userType = type this.drawerTitle = title this.modalShowRoleFlag5 = true