From 8374af52f79f66a4d7dc8ca767069b292d17cd50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Fri, 7 Apr 2023 10:56:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=95=E8=A7=84=E6=B8=85?= =?UTF-8?q?=E5=8D=95=E6=A0=A1=E6=A0=B8=E4=BB=BB=E5=8A=A1=EF=BC=8C=E4=BB=8E?= =?UTF-8?q?=E5=BE=85=E5=8A=9E=E4=B8=AD=E5=BF=83=E5=8A=9E=E7=90=86=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E8=BF=9B=E6=9D=A5=EF=BC=8C=E8=87=AA=E5=8A=A8=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E6=B3=95=E8=A7=84=E5=B7=A5=E7=A8=8B=E5=B8=88=E8=A7=92?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 3 ++- jero-web/src/common/lang/zh-cn.js | 3 ++- .../components/listOfRegulations.vue | 26 ++++++++++++++----- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 2a1b39394..e69d03fb6 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1117,7 +1117,7 @@ module.exports = { theProjectContactEmpty: 'The project contact person of cannot be empty', pleaseSelectinitiatedOrRejected: 'Please select the data whose design compliance confirmation process status is List to be Published or whose verification compliance confirmation process status is List to be Published', TheEngineerAndCertification: 'The regulatory engineer of cannot be empty', - pleaseSelectTheDataverificationVerified:'Please select the data whose design compliance confirmation process status is List to Be Checked or whose verification compliance confirmation process status is List to Be Checked', + pleaseSelectTheDataverificationVerified:'Please select the data whose design compliance confirmation process status is List Pending Verification, Responsible Person Rejected, or Verification Compliance Confirmation process status is List Pending Verification, Responsible Person Rejected', theResponsiblePersonAndDeadlineClank: 'The responsible person and deadline of cannot be blank', bringInTheProjectInterface: 'Assign to Owner', theCurrentListSaved: 'The current list data has been submitted and cannot be temporarily saved', @@ -1766,4 +1766,5 @@ module.exports = { andProcessStatusIsTaskPendingConfirmation:'And the process status is Task Pending Confirmation', andPendingSubmissionReviewReturned:'And the process status is result pending submission, review returned', deliverablesFor:'Deliverables for', + dutyPersonRejected:'Duty Person Rejected', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 063dcca1e..7b0edd631 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -711,7 +711,7 @@ module.exports = { ListConfirmationDeadline: '清单确认截止时间', dataConfirmation: '请选择清单确认状态为未发起或拒绝的数据,以及法规工程师、认证工程师不为空', pleaseSelectinitiatedOrRejected: '请选择设计符合性确认流程状态为清单待发布或验证符合性确认流程状态为清单待发布的数据', - pleaseSelectTheDataverificationVerified:'请选择设计符合性确认流程状态为清单待校核或验证符合性确认流程状态为清单待校核的数据', + pleaseSelectTheDataverificationVerified:'请选择设计符合性确认流程状态为清单待校核、责任人拒绝或验证符合性确认流程状态为清单待校核、责任人拒绝的数据', TheEngineerAndCertification: '的法规工程师不能为空', taskDataConfirmation: '请选择清单确认状态为接受及任务确认状态为未发起或拒绝的数据,以及工程接口人不为空', theProjectContactEmpty: '的工程接口人不能为空', @@ -1868,4 +1868,5 @@ module.exports = { andProcessStatusIsTaskPendingConfirmation:'并且流程状态为任务待确认', andPendingSubmissionReviewReturned:'并且流程状态为结果待提交、审查退回', deliverablesFor:'的交付结果', + dutyPersonRejected:'责任人拒绝', } \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index b0f1da992..4b95b3d6f 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -1142,6 +1142,11 @@ key: 'List to be released', label: this.$t('listToBeReleased') }, + { + value: 'Duty Person Rejected', + key: 'Duty Person Rejected', + label: this.$t('dutyPersonRejected') + }, { value: 'List to be checked', key: 'List to be checked', @@ -1193,6 +1198,11 @@ key: 'List to be released', label: this.$t('listToBeReleased') }, + { + value: 'Duty Person Rejected', + key: 'Duty Person Rejected', + label: this.$t('dutyPersonRejected') + }, { value: 'List to be checked', key: 'List to be checked', @@ -1392,7 +1402,7 @@ let query = {} let TaskKey = '' if (name == this.$t('designComplianceReview')) { - if (row.designFlowStatus == 'Task to be confirmed') { + if (row.designFlowStatus == 'Task to be confirmed' || row.designFlowStatus == 'Duty Person Rejected') { TaskKey = 'zrrqr' } else if (row.designFlowStatus == 'Results to be submitted') { TaskKey = 'zrrtjjfw' @@ -1422,7 +1432,7 @@ primaryKeyId: row.primaryKeyId } } else { - if (row.verifyFlowStatus == 'Task to be confirmed') { + if (row.verifyFlowStatus == 'Task to be confirmed' || row.verifyFlowStatus == 'Duty Person Rejected') { TaskKey = 'zrrqr' } else if (row.verifyFlowStatus == 'Results to be submitted') { TaskKey = 'zrrtjjfw' @@ -1641,7 +1651,9 @@ //判断当前流程状态是否为清单待校核的数据 for (let i = 0; i < contentList.length; i++) { if (contentList[i].verifyFlowStatus == 'List to be checked' || - contentList[i].designFlowStatus == 'List to be checked') { + contentList[i].designFlowStatus == 'List to be checked' || + contentList[i].verifyFlowStatus == 'Duty Person Rejected' || + contentList[i].designFlowStatus == 'Duty Person Rejected') { idList.push(contentList[i].id) } else { detailedWarningList.push( @@ -2429,7 +2441,9 @@ } for (let i = 0; i < dataSource.length; i++) { if (dataSource[i].verifyFlowStatus == 'List to be checked' || - dataSource[i].designFlowStatus == 'List to be checked') { + dataSource[i].designFlowStatus == 'List to be checked' || + dataSource[i].verifyFlowStatus == 'Duty Person Rejected' || + dataSource[i].designFlowStatus == 'Duty Person Rejected') { idList.push(dataSource[i].id) this.rowKeysSuccessList.push(dataSource[i]) } else { @@ -2545,7 +2559,7 @@ < div > { dataList[i].serialNumber + _this.$t('thePersonResponsibleForVerifyingEmpty') } < /div>) } } - if (dataList[i].designFlowStatus == 'List to be checked') { + if (dataList[i].designFlowStatus == 'List to be checked' || dataList[i].designFlowStatus == 'Duty Person Rejected') { if (dataList[i].designDeliverableType && dataList[i].designDutyId && dataList[i].designDueDate) { this.requestsNum++ _this.startProcess(dataList[i], 2, this.requestsNum) @@ -2554,7 +2568,7 @@ _this.detailedWarningList.push( < div > { dataList[i].serialNumber + _this.$t('pleaseSelectTheDataverificationVerified') } < /div>) } - if (dataList[i].verifyFlowStatus == 'List to be checked') { + if (dataList[i].verifyFlowStatus == 'List to be checked' || dataList[i].verifyFlowStatus == 'Duty Person Rejected') { if (dataList[i].verifyDeliverableType && dataList[i].verifyDutyId && dataList[i].verifyDueDate) { this.requestsNum++ _this.startProcess(dataList[i], 4, this.requestsNum)