From bcc20af2552aa232857b76ab58465d627aff6f1e Mon Sep 17 00:00:00 2001 From: baoyu <102349094+Bytq@users.noreply.github.com> Date: Fri, 29 Mar 2024 10:50:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86/=E8=AF=91=E6=96=87=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E7=94=B3=E8=AF=B7=20=E6=90=9C=E7=B4=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index.vue | 52 +++++++++++++++++-- 1 file changed, 48 insertions(+), 4 deletions(-) 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