diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue index 5871570a6..c262cd752 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue @@ -263,7 +263,12 @@ export default { if (item.passInfo !== 0) { this.passInfo = JSON.parse(JSON.stringify(item)).passInfo let fileData = JSON.parse(JSON.stringify(item)).dockUserList - this.dataList = fileData[0].standardInfoList + for (let i = 0; i选择人员 + @@ -131,6 +132,13 @@ @submit="handleSubmit" > + @@ -164,6 +172,7 @@ export default { }, ch_rules: {}, nodeList: [], + modalshowflag: false, commentText: '', isBack: false, @@ -201,7 +210,6 @@ export default { this.$nextTick(() => { this.ch_pageData = JSON.parse(JSON.stringify(item)).ch_pageData this.uploadFileLength = this.ch_pageData.fileTextList.length - this.ch_pageData.meetingInRole = this.$store.getters.userInfo.userName this.roleForm = JSON.parse(JSON.stringify(item)).roleList }) }, @@ -270,6 +278,28 @@ export default { window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; } }, + + choiceRole () { + this.nodeList = [] + if ( this.ch_pageData.meetingInRoleId.length > 0) { + this.nodeList = this.ch_pageData.meetingInRoleId.split(',') + } + this.modalshowflag = true + }, + checkedRole (data) { + var idList = '' + var nameList = '' + data.forEach( item => { + if (nameList.length > 0) { + nameList += ',' + idList += ',' + } + idList += item.id + nameList += item.name + }) + this.ch_pageData.meetingInRoleId = idList + this.ch_pageData.meetingInRole = nameList + }, } } diff --git a/src/pages/processCenter/pages/phone/bzhHd-rh/step2.vue b/src/pages/processCenter/pages/phone/bzhHd-rh/step2.vue index 00a8159a1..b3d003239 100644 --- a/src/pages/processCenter/pages/phone/bzhHd-rh/step2.vue +++ b/src/pages/processCenter/pages/phone/bzhHd-rh/step2.vue @@ -96,9 +96,11 @@ + @@ -134,6 +136,13 @@ @submit="handleSubmit" > + @@ -177,6 +186,7 @@ export default { commentText: '', roleShowflag: false, nodeList: [], + modalshowflag: false, detailData: [], loading: false, @@ -210,7 +220,6 @@ export default { getFormFieldList(item) { this.$nextTick(() => { this.rh_pageData = JSON.parse(JSON.stringify(item)).rh_pageData - this.rh_pageData.comityOpRole = this.$store.getters.userInfo.userName this.roleForm = JSON.parse(JSON.stringify(item)).roleList this.infoSourcesLength = this.rh_pageData.infoSources.length // this.rh_pageData.comityFileNum = this.fileTextList @@ -283,7 +292,28 @@ export default { }); } }) - } + }, + choiceRole () { + this.nodeList = [] + if ( this.rh_pageData.comityOpRoleId.length > 0) { + this.nodeList = this.rh_pageData.comityOpRoleId.split(',') + } + this.modalshowflag = true + }, + checkedRole (data) { + var idList = '' + var nameList = '' + data.forEach( item => { + if (nameList.length > 0) { + nameList += ',' + idList += ',' + } + idList += item.id + nameList += item.name + }) + this.rh_pageData.comityOpRoleId = idList + this.rh_pageData.comityOpRole = nameList + }, } } diff --git a/src/pages/processCenter/pages/phone/wfhxzg/step2.vue b/src/pages/processCenter/pages/phone/wfhxzg/step2.vue index ca5bcb4f5..fa538eb04 100644 --- a/src/pages/processCenter/pages/phone/wfhxzg/step2.vue +++ b/src/pages/processCenter/pages/phone/wfhxzg/step2.vue @@ -55,6 +55,10 @@