From 1c5328b9cc235435cf8960b516f15aeb98099f48 Mon Sep 17 00:00:00 2001 From: danshihao Date: Wed, 11 Sep 2024 10:54:07 +0800 Subject: [PATCH] =?UTF-8?q?[update=20=E8=B5=B7=E8=8D=89=E7=BB=84]=20?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DraftingGroupMemberUnitMaintenance.vue | 18 ++ ...raftingGroupMemberUnitBatchCheckModule.vue | 220 ++++++++++++++++++ 2 files changed, 238 insertions(+) create mode 100644 src/views/draftingGroup/modules/DraftingGroupMemberUnitBatchCheckModule.vue diff --git a/src/views/draftingGroup/DraftingGroupMemberUnitMaintenance.vue b/src/views/draftingGroup/DraftingGroupMemberUnitMaintenance.vue index 6fcbc3d..e5696b0 100644 --- a/src/views/draftingGroup/DraftingGroupMemberUnitMaintenance.vue +++ b/src/views/draftingGroup/DraftingGroupMemberUnitMaintenance.vue @@ -101,6 +101,10 @@ 批量删除 + + 批量审核 + + @@ -150,6 +154,8 @@ + + @@ -165,6 +171,8 @@ import PreviewFile from '../../components/jero/PreviewFile' import {createQcCode} from '@api/incomeMeetingApi' import DraftingGroupMemberUnitCheckModule from '@views/draftingGroup/modules/DraftingGroupMemberUnitCheckModule' import { ProjectTypeEnums } from '../../enums/commonEnums' +import DraftingGroupMemberUnitBatchCheckModule + from '@views/draftingGroup/modules/DraftingGroupMemberUnitBatchCheckModule' // eslint-disable-next-line no-undef,no-unused-vars const Base64 = require('js-base64').Base64 @@ -172,6 +180,7 @@ const Base64 = require('js-base64').Base64 export default { name: 'DraftingGroupMemberUnitMaintenance', components: { + DraftingGroupMemberUnitBatchCheckModule, DraftingGroupMemberUnitCheckModule, PageHeaderTitle, ProjectDetailModal, @@ -358,6 +367,15 @@ export default { this.initWorkGroupData() }, methods: { + // 批量审核 + handleBatchCheck () { + // 必须都是待审核 1.待审核 2.已通过 3.已驳回 + if (this.selectionRows.some(item => item.checkResult !== 1)) { + this.$message.warn('勾选数据需要是待审核数据') + return + } + this.$refs.draftingGroupMemberUnitBatchCheckModule.open(this.selectionRows) + }, handleCheck (record) { this.$refs.draftingGroupMemberUnitCheckModule.open(record) }, diff --git a/src/views/draftingGroup/modules/DraftingGroupMemberUnitBatchCheckModule.vue b/src/views/draftingGroup/modules/DraftingGroupMemberUnitBatchCheckModule.vue new file mode 100644 index 0000000..8bb487e --- /dev/null +++ b/src/views/draftingGroup/modules/DraftingGroupMemberUnitBatchCheckModule.vue @@ -0,0 +1,220 @@ + + + + + +