From f20941ecbc56ea9e2cc9c1b9be4dd634e23ae592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Wed, 26 Jul 2023 16:47:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A4=E8=AF=81=E6=B8=85=E5=8D=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=B8=A6=E5=85=A5=E7=9B=B8=E5=85=B3=E4=BA=BA=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/certificationList/index.vue | 35 +++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/jero-web/src/views/projectManagement/components/certificationList/index.vue b/jero-web/src/views/projectManagement/components/certificationList/index.vue index 0d5eb5cf4..2e5448823 100644 --- a/jero-web/src/views/projectManagement/components/certificationList/index.vue +++ b/jero-web/src/views/projectManagement/components/certificationList/index.vue @@ -134,7 +134,13 @@ {{ $t('CertificationDirectory') }} - + +
+ + {{ $t('bringInRelevantPersonnel') }} +
@@ -2274,7 +2280,32 @@ } else { this.$message.warning(this.$t('selectLeastOne')) } - } + }, + bringInRelevantPersonnelClick(){ + let _this = this + // if (this.selectedRowKeys && this.selectedRowKeys.length > 0) { + this.$confirm({ + content: _this.$t('confirmBringInRelevantPersonnel'), + onOk() { + // let selectedRowKeys = JSON.parse(JSON.stringify(_this.selectedRowKeys)) + postAction('/project/projectCertificationInventoryEO/matchRelevantPeople', { + // ids: selectedRowKeys.join(','), + projectLibraryId: _this.$route.query.id + }).then((res) => { + if (res.success) { + _this.$message.success(_this.$t('OperationSuccessful')) + _this.selectedRowKeys = [] + _this.getList() + } else { + _this.$message.warning(_this.$t('operationFailed')) + } + }) + } + }) + // } else { + // this.$message.warning(this.$t('selectLeastOne')) + // } + }, } }