From 8c2ce87af66b1c6c5ab739eccfdde65d929100a4 Mon Sep 17 00:00:00 2001 From: baoyu <102349094+Bytq@users.noreply.github.com> Date: Fri, 29 Mar 2024 17:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86/=E8=AF=91=E6=96=87=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=20=E7=94=B3=E8=AF=B7=E5=8D=95=E4=BD=8D=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E7=BB=84=E7=BB=87=E6=9C=BA=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index.vue | 108 +++++++++++++----- 1 file changed, 82 insertions(+), 26 deletions(-) diff --git a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue index 11a0b62fc..d6c788d40 100644 --- a/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue +++ b/src/pages/regulatoryRepository/standardTranslationAcquisitionRequest/index.vue @@ -20,20 +20,14 @@ - - - {{ opt.label }} - - + placeholder="请选择申请单位" + readonly + @click.native="choiceZRBM('dep', '选择责任部门', StandardApplyForEOPage.applyForUnitIds)" + /> @@ -66,22 +60,22 @@ - 批量驳回 - 批量通过 - 列表导出 + 批量驳回 + 批量通过 + 列表导出 - 标准/译文获取申请 + 标准/译文获取申请 - 查看 - 通过 - 驳回 - 撤回 - 编辑 - 重新提交 + 查看 + 通过 + 驳回 + + 撤回 + + + 编辑 + + + 重新提交 + @@ -167,7 +185,7 @@ - + + @@ -195,6 +220,13 @@ export default { }, data () { return { + applyForUnitName: '', + modalShowDepFlag: false, + choiceTitle: '', // 人员选择 + zrbmOptions: { + attrName: '责任部门', + options: [] + }, tableLoading: false, selectedTag: true, total: 0, @@ -234,7 +266,8 @@ export default { userType: '', drawerTitle: '', modalShowRoleFlag: false, - account: '' + account: '', + nodeListDep: [] } }, mounted () { @@ -247,6 +280,28 @@ export default { this.getDicTypeListCode() }, methods: { + drawerCheckDep (data) { + let idList = '' + let nameList = '' + data.forEach(item => { + if (nameList.length > 0) { + nameList += ',' + idList += ',' + } + idList += item.id + nameList += item.name + }) + this.StandardApplyForEOPage.applyForUnitIds = idList; + this.applyForUnitName = nameList; + }, + choiceZRBM (type, title, id = '') { + this.nodeListDep = [] + if (id) { + this.$set(this, 'nodeListDep', id.split(',')) + } + this.choiceTitle = title + this.modalShowDepFlag = true + }, ResubmitOrWithdraw (id, status) { const query = { status: status ? status : '', @@ -307,6 +362,7 @@ export default { this.getList() }, clearSerach () { + this.applyForUnitName = '' this.applyForUserName = '' this.StandardApplyForEOPage = { page: 1,