From 162be1cce1f9d6fb653c871e7ce6656322b544ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Fri, 4 Aug 2023 09:47:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B9=E7=9B=AE=E5=BA=93?= =?UTF-8?q?=E6=B3=95=E8=A7=84=E6=B8=85=E5=8D=95=E5=88=A0=E9=99=A4=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../problemKnowledgeBaseRelease.vue | 4 ++ .../components/listOfRegulations.vue | 48 +++++++++++-------- 2 files changed, 32 insertions(+), 20 deletions(-) diff --git a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseRelease.vue b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseRelease.vue index 711e22c22..bdd76c0e0 100644 --- a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseRelease.vue +++ b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseRelease.vue @@ -401,6 +401,7 @@ position: absolute; right: 330px; top: 50%; + font-size: 14px; transform: translate-Y(-50%); } @@ -411,12 +412,14 @@ position: absolute; right: 450px; top: 50%; + font-size: 14px; transform: translate-Y(-50%); } .text-text-right-text-One { width: 120px; height: 100%; + font-size: 14px; text-align: center; position: absolute; right: 210px; @@ -427,6 +430,7 @@ .text-text-right-text { width: 210px; height: 100%; + font-size: 14px; text-align: center; position: absolute; right: 0; diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index 387241d51..9648855e7 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -2026,7 +2026,7 @@ contentList[i].verifyFlowStatus == 'Duty Person Rejected' || contentList[i].designFlowStatus == 'Duty Person Rejected') { idList.push(contentList[i].id) - }else if(contentList[i].designFlowStatus == 'NA' || contentList[i].verifyFlowStatus == 'NA'){ + } else if (contentList[i].designFlowStatus == 'NA' || contentList[i].verifyFlowStatus == 'NA') { detailedWarningList.push( < div > { contentList[i].serialNumber + this.$t('pleaseSelectTheDataverificationVerified') } < /div>) } else { @@ -2382,15 +2382,19 @@ for (let i = 0; i < selectedRowKeysList.length; i++) { if ( (selectedRowKeysList[i].verifyFlowStatus == 'List to be released' || + selectedRowKeysList[i].verifyFlowStatus == 'List to be checked' || + selectedRowKeysList[i].verifyFlowStatus == 'Regulatory engineer returns' || + selectedRowKeysList[i].verifyFlowStatus == 'Duty Person Rejected' || + selectedRowKeysList[i].verifyFlowStatus == 'Termination of task' || selectedRowKeysList[i].verifyFlowStatus == 'Compliance' || - selectedRowKeysList[i].verifyFlowStatus == 'Non-Compliance' || - selectedRowKeysList[i].verifyFlowStatus == 'To be tracked' || selectedRowKeysList[i].verifyFlowStatus == 'NA') && (selectedRowKeysList[i].designFlowStatus == 'List to be released' || + selectedRowKeysList[i].designFlowStatus == 'List to be checked' || + selectedRowKeysList[i].designFlowStatus == 'Regulatory engineer returns' || + selectedRowKeysList[i].designFlowStatus == 'Duty Person Rejected' || + selectedRowKeysList[i].designFlowStatus == 'Termination of task' || selectedRowKeysList[i].designFlowStatus == 'Compliance' || - selectedRowKeysList[i].designFlowStatus == 'Non-Compliance' || - selectedRowKeysList[i].designFlowStatus == 'To be tracked' || selectedRowKeysList[i].designFlowStatus == 'NA')) { isTrue = true } else { @@ -2418,9 +2422,9 @@ }) } }) - }else{ + } else { this.$confirm({ - content: _this.$t('thereProcessInProgressDeletion')+'?', + content: _this.$t('thereProcessInProgressDeletion') + '?', onOk() { let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys)) postAction(_this.url.deleteBatch, { @@ -2456,15 +2460,19 @@ deleteLib(val) { let _this = this if ((val.verifyFlowStatus == 'List to be released' || + val.verifyFlowStatus == 'List to be checked' || + val.verifyFlowStatus == 'Regulatory engineer returns' || + val.verifyFlowStatus == 'Duty Person Rejected' || + val.verifyFlowStatus == 'Termination of task' || val.verifyFlowStatus == 'Compliance' || - val.verifyFlowStatus == 'Non-Compliance' || - val.verifyFlowStatus == 'To be tracked' || - val.verifyFlowStatus == 'NA')&& + val.verifyFlowStatus == 'NA') && (val.designFlowStatus == 'List to be released' || - val.designFlowStatus == 'Compliance' || - val.designFlowStatus == 'Non-Compliance' || - val.designFlowStatus == 'To be tracked' || - val.designFlowStatus == 'NA')){ + val.designFlowStatus == 'List to be checked' || + val.designFlowStatus == 'Regulatory engineer returns' || + val.designFlowStatus == 'Duty Person Rejected' || + val.designFlowStatus == 'Termination of task' || + val.designFlowStatus == 'Compliance' || + val.designFlowStatus == 'NA')) { this.$confirm({ content: _this.$t('ConfirmDelete'), onOk() { @@ -2478,9 +2486,9 @@ }) } }) - }else{ + } else { this.$confirm({ - content: _this.$t('thereProcessInProgressDeletion')+'?', + content: _this.$t('thereProcessInProgressDeletion') + '?', onOk() { deleteAction(_this.url.deleteOne, { id: val.id, projectLibraryId: _this.$route.query.id }).then((res) => { if (res.success) { @@ -2950,10 +2958,10 @@ dataSource[i].designFlowStatus == 'Duty Person Rejected') { idList.push(dataSource[i].id) this.rowKeysSuccessList.push(dataSource[i]) - } else if(dataSource[i].designFlowStatus == 'NA' || dataSource[i].verifyFlowStatus == 'NA'){ + } else if (dataSource[i].designFlowStatus == 'NA' || dataSource[i].verifyFlowStatus == 'NA') { this.detailedWarningList.push( < div > { dataSource[i].serialNumber + this.$t('pleaseSelectTheDataverificationVerified') } < /div>) - }else { + } else { this.detailedWarningList.push( < div > { dataSource[i].serialNumber + this.$t('pleaseSelectTheDataverificationVerified') } < /div>) } @@ -3035,7 +3043,7 @@ } // _this.startProcess(dataList[i], 2, this.requestsNum) } - }else if(dataList[i].designFlowStatus == 'NA'){ + } else if (dataList[i].designFlowStatus == 'NA') { _this.detailedWarningList.push( < div > { dataList[i].serialNumber + _this.$t('pleaseSelectTheDataverificationVerified') } < /div>) } else { @@ -3056,7 +3064,7 @@ } // _this.startProcess(dataList[i], 4, this.requestsNum) } - }else if(dataList[i].verifyFlowStatus == 'NA'){ + } else if (dataList[i].verifyFlowStatus == 'NA') { _this.detailedWarningList.push( < div > { dataList[i].serialNumber + _this.$t('pleaseSelectTheDataverificationVerified') } < /div>) } else {