From edc1e637ee4a5cba07a599e8af8fdff9dc54b04b Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Sat, 2 Jul 2022 13:05:56 +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 --- .../components/listEditModel.vue | 90 ++++++++++++------- .../components/listOfRegulations.vue | 8 +- 2 files changed, 66 insertions(+), 32 deletions(-) diff --git a/jero-web/src/views/projectManagement/components/listEditModel.vue b/jero-web/src/views/projectManagement/components/listEditModel.vue index 2d4052ab3..3eed26d00 100644 --- a/jero-web/src/views/projectManagement/components/listEditModel.vue +++ b/jero-web/src/views/projectManagement/components/listEditModel.vue @@ -313,13 +313,17 @@
+ (formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">  {{$t('confirmationOfDesignConformity')}}
+ (formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">
@@ -364,8 +368,10 @@ + (formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">
@@ -427,8 +433,10 @@ + (formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">
@@ -448,8 +456,10 @@ + (formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.designInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">
@@ -466,13 +476,17 @@
+ (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">  {{$t('PrehomoConfirmation')}}
+ (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">
@@ -519,8 +533,10 @@ + (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">
@@ -582,8 +598,10 @@ + (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">
@@ -603,8 +621,10 @@ + (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.prehomoInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">
@@ -621,13 +641,17 @@
+ (formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">  {{$t('verificationAndConformityconfirmation')}}
+ (formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">
@@ -673,8 +697,10 @@ + (formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">
@@ -736,8 +762,10 @@ + (formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">
@@ -757,8 +785,10 @@ + (formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.homologationEngineerId && + formInline.homologationEngineerId == userInfoQuery.id) || + (formInline.roleCodeIndex == 4 && formInline.verifyInitiatorId == formInline.regulationOwnerId && + formInline.regulationOwnerId == userInfoQuery.id)">
diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index e113e041a..ea9ca3462 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -161,7 +161,11 @@ > {{ $t('edit') }} @@ -1356,7 +1360,7 @@ if (dataList[i].verifyDueDate && dataList[i].verifyDutyId && dataList[i].verifyInitiatorId) { } else { - this.TaskWarningList.push( < div > { dataList[i].serialNumber + this.$t('pleaseConfirmedByPrehomo') } < /div>) + this.TaskWarningList.push( < div > { dataList[i].serialNumber + this.$t('pleaseConformityVerification') } < /div>) continue // isTrue = false // this.$message.warning(this.dataSource[i].serialNumber + ',' + this.$t('pleaseConformityVerification'))