From 9dcf9b52bc07496648b02de8ad862390b6863ec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167@qq.com> Date: Thu, 8 Sep 2022 20:18:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../collectionOfRegulatoryOpinions/index.vue | 2 +- .../views/businessSupport/technologyAssessment/index.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/index.vue b/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/index.vue index 392eefebb..348304131 100644 --- a/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/index.vue +++ b/jero-web/src/views/businessSupport/collectionOfRegulatoryOpinions/index.vue @@ -256,7 +256,7 @@ let selectedRowKeysRecord = JSON.parse(JSON.stringify(_this.selectedRowKeysRecord)) for (let i = 0; i < selectedRowKeysRecord.length; i++) { if ((selectedRowKeysRecord[i].gatherResult == 'Completed' && - selectedRowKeysRecord[i].createBy == this.userInfo().username) || this.administrators) { + selectedRowKeysRecord[i].createBy == _this.userInfo().username) || _this.administrators) { idList.push(selectedRowKeysRecord[i].id) } } diff --git a/jero-web/src/views/businessSupport/technologyAssessment/index.vue b/jero-web/src/views/businessSupport/technologyAssessment/index.vue index 4654ae3c6..da1657c04 100644 --- a/jero-web/src/views/businessSupport/technologyAssessment/index.vue +++ b/jero-web/src/views/businessSupport/technologyAssessment/index.vue @@ -343,8 +343,8 @@ let idList = [] let selectedRowKeysRecord = JSON.parse(JSON.stringify(_this.selectedRowKeysRecord)) for (let i = 0; i < selectedRowKeysRecord.length; i++) { - if ((selectedRowKeysRecord[i].flowStatus == 'Completed' && selectedRowKeysRecord[i].createBy == this.userInfo().username) - || this.administrators) { + if ((selectedRowKeysRecord[i].flowStatus == 'Completed' && selectedRowKeysRecord[i].createBy == _this.userInfo().username) + || _this.administrators) { idList.push(selectedRowKeysRecord[i].id) } } @@ -359,7 +359,7 @@ } }) } else { - _this.$message.warning(_this.$t('onlyCompletedDataCanBeDeleted')) + _this.$message.warning(_this.$t('doNotHavePermissionDeleteData')) } } })