diff --git a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue index f46198520..f63c974d3 100644 --- a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue +++ b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue @@ -36,10 +36,10 @@ - + - + + @@ -199,6 +205,7 @@ export default { page: 1, pageSize: this.$store.getters.userInfo.configContent, }, + applyForUserName: '', StandardApplyForEO: [], selectedList: [], url: { @@ -226,6 +233,10 @@ export default { value: 'draft', } ], + nodeList: [], + userType: '', + drawerTitle: '', + modalShowRoleFlag: false } }, mounted () { @@ -237,12 +248,44 @@ export default { this.getDicTypeListCode() }, methods: { + checkedRole (data) { + let idList = '' + let nameList = '' + data.forEach(item => { + if (nameList.length > 0) { + nameList += ',' + idList += ',' + } + idList += item.id + nameList += item.name + }) + this.StandardApplyForEOPage.applyForUserIds = idList + this.applyForUserName = nameList + }, + choiceWSSMR (type, title, id) { + this.nodeList = [] + if(id) { + const 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.nodeList.push(idList) + } + this.userType = type + this.drawerTitle = title + this.modalShowRoleFlag = true + }, getDicTypeListCode () { this.$http.get('sys/dictype/getDicTypeListCode', '', { _this: this }, res => { this.typeList = res.data.BZJYWTYPE // 标准类别 - this.applicantUnitList = res.data.QCDW// 申请单位 + this.applicantUnitList = res.data.GKGLBM // 归口管理部门 }, e => { }) }, @@ -251,6 +294,7 @@ export default { this.getList() }, clearSerach () { + this.applyForUserName = '' this.StandardApplyForEOPage = { page: 1, pageSize: this.$store.getters.userInfo.configContent