From 78d4c73ac218e8e2fe758702a07456c72fe9bcfe Mon Sep 17 00:00:00 2001 From: danshihao Date: Fri, 12 Jul 2024 18:12:40 +0800 Subject: [PATCH] =?UTF-8?q?[update=20=E6=A0=87=E5=87=86=E8=A7=A3=E8=AF=BB?= =?UTF-8?q?=E6=B5=81=E7=A8=8B]=20=E5=AE=8C=E5=96=84=E6=9D=A1=E6=AC=BE?= =?UTF-8?q?=E8=A7=A3=E8=AF=BB=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/lang/workCenter/en.js | 2 +- src/common/lang/workCenter/zh.js | 2 +- .../StandardInterpretationProcess.vue | 26 +++- .../modules/InterpretationClauseTable.vue | 24 +-- .../InterpretationClauseTableModal.vue | 145 +++++++++++++++++- .../modules/InterpretationInitiate.vue | 21 ++- ...nterpretationMainInterpreterDistribute.vue | 21 ++- 7 files changed, 218 insertions(+), 23 deletions(-) diff --git a/src/common/lang/workCenter/en.js b/src/common/lang/workCenter/en.js index c013c1f..442deaf 100644 --- a/src/common/lang/workCenter/en.js +++ b/src/common/lang/workCenter/en.js @@ -105,7 +105,7 @@ module.exports = { verificationReportTemplate: 'Verification report template/checklist', dvpTemplate: 'DVP template', dfema: 'DFEMA', - specialListTemplate: 'Special List Template', + specialListTemplate: 'Key Technology Decomposition Table', otherFilesOrTemplates: 'Other files or templates', investigationStage: 'Investigation stage', pThree: 'P3 Name of deliverables proving compliance', diff --git a/src/common/lang/workCenter/zh.js b/src/common/lang/workCenter/zh.js index 0bc0397..b6b3733 100644 --- a/src/common/lang/workCenter/zh.js +++ b/src/common/lang/workCenter/zh.js @@ -105,7 +105,7 @@ module.exports = { verificationReportTemplate: '校核报告模板/checklist', dvpTemplate: 'DVP模板', dfema: 'DFEMA', - specialListTemplate: '特殊性清单模板', + specialListTemplate: '关键技术分解表', otherFilesOrTemplates: '其他文件或模板', investigationStage: '排查阶段', pThree: 'P3证明符合性的交付物名称', diff --git a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue index 7c5c29a..ce87930 100644 --- a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue +++ b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue @@ -39,7 +39,7 @@ :colon="formItemColon"> @@ -54,10 +54,20 @@ + + + + {{info.data.processStandardInterpret.standardNumber}} {{info.data.processStandardInterpret.standardName}} + + @@ -100,6 +110,8 @@
+ + {{ $t('countersign') }} {{ $t('turnTo') }} @@ -252,6 +264,16 @@ export default { interpretGetProjectId().then(id => { this.projectId = (id + '') }) }, methods: { + // 跳转详情 + toStandardDetail () { + const { standardId } = this.info.data.processStandardInterpret + this.$openPageNewSheet({ + path: '/standardRegulationLibrary/foreignStandardDetailPage', + query: { + id: standardId + } + }) + }, /** * 获取页面详情 */ diff --git a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTable.vue b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTable.vue index 1628630..6c00684 100644 --- a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTable.vue +++ b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTable.vue @@ -200,70 +200,70 @@ export default { title: this.$t('workCenter.standardInterpretationProcess.involvingSystemsComponents'), align: 'center', width: 180, - dataIndex: 'keywords', + dataIndex: 'keywords_dictText', scopedSlots: { customRender: 'text' } }, { // 关键控制器 title: this.$t('workCenter.standardInterpretationProcess.keyController'), align: 'center', width: 180, - dataIndex: 'keyController', + dataIndex: 'keyController_dictText', scopedSlots: { customRender: 'text' } }, { // 责任部门 title: this.$t('workCenter.standardInterpretationProcess.responsibleDepartment'), align: 'center', width: 180, - dataIndex: 'responsibleDepartment', + dataIndex: 'responsibleDepartment_dictText', scopedSlots: { customRender: 'text' } }, { // 责任部门专业模块 title: this.$t('workCenter.standardInterpretationProcess.responsibleDepartmentModule'), align: 'center', width: 180, - dataIndex: 'responsibleModule', + dataIndex: 'responsibleModule_dictText', scopedSlots: { customRender: 'text' } }, { // 关联部门 title: this.$t('workCenter.standardInterpretationProcess.relatedDepartments'), align: 'center', width: 180, - dataIndex: 'relatedDepartment', + dataIndex: 'relatedDepartment_dictText', scopedSlots: { customRender: 'text' } }, { // 关联部门专业模块 title: this.$t('workCenter.standardInterpretationProcess.relatedDepartmentsModule'), align: 'center', width: 180, - dataIndex: 'relatedModule', + dataIndex: 'relatedModule_dictText', scopedSlots: { customRender: 'text' } }, { // 适用车型 title: this.$t('workCenter.standardInterpretationProcess.applications'), align: 'center', width: 180, - dataIndex: 'applications', + dataIndex: 'applications_dictText', scopedSlots: { customRender: 'text' } }, { // 动力类型 title: this.$t('workCenter.standardInterpretationProcess.powerType'), align: 'center', width: 180, - dataIndex: 'powerType', + dataIndex: 'powerType_dictText', scopedSlots: { customRender: 'text' } }, { // 专业领域 title: this.$t('workCenter.standardInterpretationProcess.professionalField'), align: 'center', width: 180, - dataIndex: 'domainArea', + dataIndex: 'domainArea_dictText', scopedSlots: { customRender: 'text' } }, { // 配置需求 title: this.$t('workCenter.standardInterpretationProcess.configurationRequirements'), align: 'center', width: 180, - dataIndex: 'configurationRequirements', + dataIndex: 'configurationRequirements_dictText', scopedSlots: { customRender: 'text' } }, { // 新认证车实施日期 @@ -336,7 +336,7 @@ export default { dataIndex: 'dfema', scopedSlots: { customRender: 'text' } }, - { // 特殊性清单模板 = 关键技术分解表 + { // 关键技术分解表 title: this.$t('workCenter.standardInterpretationProcess.specialListTemplate'), align: 'center', width: 180, @@ -617,7 +617,7 @@ export default { } }, // 导出 - handleExport (fileName, fileSuffix = '.xls') { + handleExport (fileName, fileSuffix = '.xlsx') { if (!fileName || typeof fileName !== 'string') { fileName = '导出文件' } diff --git a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTableModal.vue b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTableModal.vue index 6090ace..9412395 100644 --- a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTableModal.vue +++ b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationClauseTableModal.vue @@ -43,6 +43,123 @@ :placeholder="$t('pleaseEnter')+$t('workCenter.standardInterpretationProcess.regulatoryAnnotations')" v-decorator="['regulatoryNotes']"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - @@ -133,10 +250,18 @@