From 5eda1d45872f3811fb7af9287e12d6714af976c8 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Fri, 6 Sep 2024 11:37:56 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9UAT=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=9A=E6=B3=95=E8=A7=84=E7=AC=A6=E5=90=88=E6=80=A7?= =?UTF-8?q?=E6=8E=92=E6=9F=A5=E6=B5=81=E7=A8=8B=E4=B8=8D=E7=AC=A6=E5=90=88?= =?UTF-8?q?=E5=92=8C=E5=BE=85=E9=AA=8C=E8=AF=81=E7=9A=84=E6=89=A9=E5=B1=95?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E9=A1=BA=E5=BA=8F=E8=B0=83=E6=95=B4=EF=BC=8C?= =?UTF-8?q?=E4=B8=8D=E6=BB=A1=E8=B6=B3=E8=A6=81=E6=B1=82=E7=8E=B0=E7=8A=B6?= =?UTF-8?q?=E4=B8=8B=E9=9D=A2=E5=A2=9E=E5=8A=A0=E5=AD=97=E6=AE=B5=E8=BE=85?= =?UTF-8?q?=E5=8A=A9=E8=AF=B4=E6=98=8E=E6=9D=90=E6=96=99=EF=BC=8C=E8=AF=84?= =?UTF-8?q?=E4=BC=B0=E7=BB=93=E6=9E=9C=E9=80=89=E6=8B=A9=E4=B8=8D=E7=AC=A6?= =?UTF-8?q?=E5=90=88=E5=92=8C=E5=BE=85=E9=AA=8C=E8=AF=81=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E5=80=99=E8=87=AA=E5=8A=A8=E5=B1=95=E5=BC=80=E6=89=A9=E5=B1=95?= =?UTF-8?q?=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../en.js | 2 + .../zh.js | 2 + src/common/lang/workCenter/en.js | 1 + src/common/lang/workCenter/zh.js | 1 + .../modules/NonmatchItemLookModal.vue | 7 +- .../modules/AssessmentLookModal.vue | 20 +++- .../modules/DesignEngineerEvaluation.vue | 97 ++++++++++++------- .../modules/FinishAuditBaseInfo.vue | 19 +++- .../modules/MainFinderCollectBaseInfo.vue | 19 +++- .../modules/MainFinderDistributesBaseInfo.vue | 97 ++++++++++++------- .../modules/MainFinderSingleAuditBaseInfo.vue | 19 +++- 11 files changed, 199 insertions(+), 85 deletions(-) diff --git a/src/common/lang/regulatoryComplianceAssessmentDatabase/en.js b/src/common/lang/regulatoryComplianceAssessmentDatabase/en.js index b1bf488..0d551a4 100644 --- a/src/common/lang/regulatoryComplianceAssessmentDatabase/en.js +++ b/src/common/lang/regulatoryComplianceAssessmentDatabase/en.js @@ -13,6 +13,7 @@ module.exports = { clauseContent: 'Article Content', modelStatus: 'Developing Status', theStatusNotMeetRequirements: 'Unsatisfied Description', + supplementaryExplanatoryMaterial: 'Supplementary explanatory material', rectificationPlan: 'Rectification Plan', rectificationCycle: 'Rectification Time', rectificationCost: 'Rectification Costs', @@ -32,6 +33,7 @@ module.exports = { problemType: 'Evaluation Results', rectificationCompletionDate: 'Completion Date of Rectification', theStatusNotMeetRequirements: 'Unsatisfied Description', + supplementaryExplanatoryMaterial: 'Supplementary explanatory material', rectificationPlan: 'Rectification Plan', rectificationCycle: 'Rectification Time', rectificationCost: 'Rectification Costs', diff --git a/src/common/lang/regulatoryComplianceAssessmentDatabase/zh.js b/src/common/lang/regulatoryComplianceAssessmentDatabase/zh.js index 7955537..297fa13 100644 --- a/src/common/lang/regulatoryComplianceAssessmentDatabase/zh.js +++ b/src/common/lang/regulatoryComplianceAssessmentDatabase/zh.js @@ -13,6 +13,7 @@ module.exports = { clauseContent: '条款内容', modelStatus: '车型状态', theStatusNotMeetRequirements: '不满足要求的现状', + supplementaryExplanatoryMaterial: '辅助说明材料', rectificationPlan: '整改方案', rectificationCycle: '整改周期', rectificationCost: '整改费用', @@ -32,6 +33,7 @@ module.exports = { problemType: '问题类型', rectificationCompletionDate: '整改完成日期', theStatusNotMeetRequirements: '不满足要求的现状', + supplementaryExplanatoryMaterial: '辅助说明材料', rectificationPlan: '整改方案', rectificationCycle: '整改周期', rectificationCost: '整改费用', diff --git a/src/common/lang/workCenter/en.js b/src/common/lang/workCenter/en.js index 174c155..ccb60ce 100644 --- a/src/common/lang/workCenter/en.js +++ b/src/common/lang/workCenter/en.js @@ -43,6 +43,7 @@ module.exports = { approvingOfficer: 'Approving officer', evaluationResult: 'Evaluation Result', theStatusNotMeetRequirements: 'Unsatisfied Description', + supplementaryExplanatoryMaterial: 'Supplementary explanatory material', rectificationPlan: 'Rectification Plan', rectificationCycle: 'Rectification Time', rectificationCost: 'Rectification Costs', diff --git a/src/common/lang/workCenter/zh.js b/src/common/lang/workCenter/zh.js index 8246be8..42d42f9 100644 --- a/src/common/lang/workCenter/zh.js +++ b/src/common/lang/workCenter/zh.js @@ -43,6 +43,7 @@ module.exports = { approvingOfficer: '批准人员', evaluationResult: '评估结果', theStatusNotMeetRequirements: '不满足要求的现状', + supplementaryExplanatoryMaterial: '辅助说明材料', rectificationPlan: '整改方案', rectificationCycle: '整改周期', rectificationCost: '整改费用', diff --git a/src/views/regulatoryComplianceAssessmentDatabase/nonmatchItem/modules/NonmatchItemLookModal.vue b/src/views/regulatoryComplianceAssessmentDatabase/nonmatchItem/modules/NonmatchItemLookModal.vue index 114d786..4bc9f5d 100644 --- a/src/views/regulatoryComplianceAssessmentDatabase/nonmatchItem/modules/NonmatchItemLookModal.vue +++ b/src/views/regulatoryComplianceAssessmentDatabase/nonmatchItem/modules/NonmatchItemLookModal.vue @@ -18,6 +18,11 @@ :placeholder="$t('pleaseEnter')+$t('regulatoryComplianceAssessmentDatabase.nonmatchItem.theStatusNotMeetRequirements')" v-decorator.trim="[ 'unsatisfiedRequire']"/> + + + + { - this.form.setFieldsValue(pick(this.model, 'unsatisfiedRequire', 'correctionSolution', 'correctionPeriod', + this.form.setFieldsValue(pick(this.model, 'unsatisfiedRequire', 'unsatisfiedRequireAttach', 'correctionSolution', 'correctionPeriod', 'correctionCost', 'commonality', 'commonalityCost')) }) }, diff --git a/src/views/regulatoryComplianceAssessmentDatabase/regulatoryComplianceAssessment/modules/AssessmentLookModal.vue b/src/views/regulatoryComplianceAssessmentDatabase/regulatoryComplianceAssessment/modules/AssessmentLookModal.vue index 9d3aaa4..43c4b02 100644 --- a/src/views/regulatoryComplianceAssessmentDatabase/regulatoryComplianceAssessment/modules/AssessmentLookModal.vue +++ b/src/views/regulatoryComplianceAssessmentDatabase/regulatoryComplianceAssessment/modules/AssessmentLookModal.vue @@ -111,9 +111,15 @@ + + + @@ -208,6 +214,13 @@ export default { dataIndex: 'unsatisfiedRequire', scopedSlots: { customRender: 'text' } }, + { // 辅助说明材料 + title: this.$t('regulatoryComplianceAssessmentDatabase.assessmentLibrary.supplementaryExplanatoryMaterial'), + align: 'center', + width: 180, + dataIndex: 'unsatisfiedRequireAttach', + scopedSlots: { customRender: 'unsatisfiedRequireAttach' } + }, { // 整改方案 title: this.$t('regulatoryComplianceAssessmentDatabase.assessmentLibrary.rectificationPlan'), align: 'center', @@ -298,8 +311,9 @@ export default { const text = option.componentOptions.propsData.title || option.componentOptions.propsData.label return text.toLowerCase().indexOf(input.toLowerCase()) >= 0 }, - handleMaterialClick (record) { - this.$refs.uploadFile.open(record.material) + // 列表中的附件查看 + handleFileClick (record, fieldName) { + this.$refs.uploadFile.open(record[fieldName]) }, handleCancel () { this.close() diff --git a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/DesignEngineerEvaluation.vue b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/DesignEngineerEvaluation.vue index 172e021..eaf57a9 100644 --- a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/DesignEngineerEvaluation.vue +++ b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/DesignEngineerEvaluation.vue @@ -50,6 +50,7 @@