diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index b42326b30..fe724dbf5 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -863,7 +863,7 @@

会签责任人

- +
@@ -1598,16 +1598,16 @@ }, }, methods: { - choiceZRRS () { - if (this.userType === 'zrUserId') { - this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",") - this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",") - } - this.modalshowflag2 = true - }, + // choiceZRRS () { + // if (this.userType === 'zrUserId') { + // this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",") + // this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",") + // } + // this.modalshowflag2 = true + // }, checkedRole2 (data) { - var idList = '' - var nameList = '' + let idList = '' + let nameList = '' data.forEach( item => { if (nameList.length > 0) { nameList += ',' @@ -1616,18 +1616,14 @@ idList += item.id nameList += item.name }) - this.zrUserIds = idList - this.zrUserIds = nameList + this.roleForm.zrUserId=idList; + this.roleForm.zrUserName=nameList; }, checkedRole (data) { if (this.userType === 'jlUserId') { this.roleForm.jlUserId = data[0].id this.roleForm.jlUserName = data[0].name - }else if(this.userType === 'zrUserId'){ - this.roleForm.zrUserId=data[0].id; - this.roleForm.zrUserName=data[0].name; - - } + } }, @@ -1898,6 +1894,14 @@ this.drawerTitle = title this.modalShowFlag = true }, + + choiceZRRS (type, title, id) { + this.nodeList = [] + this.nodeList.push(id) + this.userType = type + this.drawerTitle = title + this.modalShowRoleFlag = true + }, choiceZRR1 (type, title, id) { this.drawerTitle = title this.modalShowFlag1 = true