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,