From 7942904aa539f2962d33a109a738e1861236f74f Mon Sep 17 00:00:00 2001 From: danshihao Date: Wed, 10 Jul 2024 09:40:56 +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=E8=A7=A3=E8=AF=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/lang/workCenter/en.js | 38 +- src/common/lang/workCenter/zh.js | 35 +- src/enums/commonEnums.js | 2 +- .../StandardInterpretationProcess.vue | 16 +- .../InterpretationInterpreterFillInfo.vue | 390 ++++++++++++++++++ .../modules/TermsInterpretModal.vue | 198 +++++++++ 6 files changed, 674 insertions(+), 5 deletions(-) create mode 100644 src/views/workCenter/standardInterpretationProcess/modules/InterpretationInterpreterFillInfo.vue create mode 100644 src/views/workCenter/standardInterpretationProcess/modules/TermsInterpretModal.vue diff --git a/src/common/lang/workCenter/en.js b/src/common/lang/workCenter/en.js index 75b1524..f97c675 100644 --- a/src/common/lang/workCenter/en.js +++ b/src/common/lang/workCenter/en.js @@ -79,7 +79,43 @@ module.exports = { pleaseAddStandard: 'Please add a standard', mainInterpreter: 'Main Interpreter', interpretingTasksIsDistribute: 'Is the interpretation task issued', - departInterpretingPeople: 'Interpreters from various departments involved' + departInterpretingPeople: 'Interpreters from various departments involved', + batchSelectionUser: 'Batch selection of personnel', + pleaseSelectTheNextStep: 'Please select the next step', + translation: 'Translation', + sameAsPreviousVersion: 'Is it the same as the previous version', + explanationOfChangePoints: 'Explanation of changes compared to the previous version', + professionalField: 'Professional field', + newCertificationImplementationDate: 'Implementation date of new certified vehicle', + newProduceImplementationDate: 'Implementation date of new production vehicles', + registrationDate: 'Registration date', + regulatoryAnnotations: 'Regulatory Annotations', + involvingSystemsComponents: 'Involving systems/components', + keyController: 'Key controller', + responsibleDepartment: 'Responsible department', + responsibleDepartmentModule: 'Responsible department professional module', + relatedDepartments: 'Related departments', + relatedDepartmentsModule: 'Related department professional module', + applications: 'Applications', + powerType: 'Power Type', + enterpriseStandards: 'Enterprise standards', + technicalSpecificationsDesignGuidelines: 'Technical specifications/design guidelines', + drawingTemplate: 'Drawing template', + technicalAgreementTemplate: 'Technical Agreement Template', + verificationReportTemplate: 'Verification report template/checklist', + dvpTemplate: 'DVP template', + dfema: 'DFEMA', + specialListTemplate: 'Special List Template', + otherFilesOrTemplates: 'Other files or templates', + investigationStage: 'Investigation stage', + pThree: 'P3 Name of deliverables proving compliance', + pFive: 'P5 Name of deliverables proving compliance', + notes: 'notes', + configurationRequirements: 'Configuration requirements', + countersigningPerson: 'Countersigning personnel', + reviewersPerson: 'Reviewer', + approvedPerson: 'Approved personnel', + batchEdit: 'Bulk edit' }, // 流程配置 processConfig: { diff --git a/src/common/lang/workCenter/zh.js b/src/common/lang/workCenter/zh.js index 1b99919..a81e5aa 100644 --- a/src/common/lang/workCenter/zh.js +++ b/src/common/lang/workCenter/zh.js @@ -82,7 +82,40 @@ module.exports = { departInterpretingPeople: '各涉及部门解读人', batchSelectionUser: '批量选择人员', pleaseSelectTheNextStep: '请选择下一步', - + translation: '译文', + sameAsPreviousVersion: '是否与上一版相同', + explanationOfChangePoints: '相对上一版变化点说明', + professionalField: '专业领域', + newCertificationImplementationDate: '新认证车实施日期', + newProduceImplementationDate: '新生产车实施日期', + registrationDate: '注册日期', + regulatoryAnnotations: '法规注解', + involvingSystemsComponents: '涉及系统/部件', + keyController: '关键控制器', + responsibleDepartment: '责任部门', + responsibleDepartmentModule: '责任部门专业模块', + relatedDepartments: '关联部门', + relatedDepartmentsModule: '关联部门专业模块', + applications: '适用车型', + powerType: '动力类型', + enterpriseStandards: '企业标准', + technicalSpecificationsDesignGuidelines: '技术规范/设计指南', + drawingTemplate: '图纸模板', + technicalAgreementTemplate: '技术协议模板', + verificationReportTemplate: '校核报告模板/checklist', + dvpTemplate: 'DVP模板', + dfema: 'DFEMA', + specialListTemplate: '特殊性清单模板', + otherFilesOrTemplates: '其他文件或模板', + investigationStage: '排查阶段', + pThree: 'P3证明符合性的交付物名称', + pFive: 'P5证明符合性的交付物名称', + notes: '备注', + configurationRequirements: '配置需求', + countersigningPerson: '会签人员', + reviewersPerson: '审核人员', + approvedPerson: '批准人员', + batchEdit: '批量编辑' }, // 流程配置 processConfig: { diff --git a/src/enums/commonEnums.js b/src/enums/commonEnums.js index 6e95ecd..477171c 100644 --- a/src/enums/commonEnums.js +++ b/src/enums/commonEnums.js @@ -199,7 +199,7 @@ export const StandardInterpretationNodes = new EsEnums({ initiated: { text: '法规工程师发起', value: 'regulatory_engineer_start', btn: ['save', 'submit'] }, controlDepartLiaisonDistribution: { text: '主控部门联络人分发', value: 'contact_person_distribute', btn: ['transfer', 'save', 'submit'] }, standardInterpreterDistribution: { text: '标准主解读人分发', value: 'master_interpret_distribute', btn: ['reject', 'transfer', 'save', 'submit'] }, - interpreterFillInfo: { text: '解读人填写信息', value: 'master_interpret_fillout', btn: ['reject', 'transfer', 'save', 'submit'] }, + interpreterFillInfo: { text: '解读人填写信息', value: 'interpreting_people_fillout', btn: ['reject', 'transfer', 'save', 'submit'] }, standardInterpreterSummary: { text: '标准主解读人汇总', value: 'master_interpret_summary', btn: ['transfer', 'save', 'submit'] }, countersignOne: { text: '会签', value: 'jointly_sign_1', btn: ['reject', 'transfer', 'save', 'submit'] }, countersignTwo: { text: '会签', value: 'jointly_sign_2', btn: ['reject', 'transfer', 'save', 'submit'] }, diff --git a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue index 6a13524..f5e140d 100644 --- a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue +++ b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue @@ -70,7 +70,9 @@ - + +
{{ $t('processApprovalInformation') }}
@@ -134,11 +136,13 @@ import InterpretationLiaisonDistribute from '@views/workCenter/standardInterpretationProcess/modules/InterpretationLiaisonDistribute' import InterpretationMainInterpreterDistribute from '@views/workCenter/standardInterpretationProcess/modules/InterpretationMainInterpreterDistribute' +import InterpretationInterpreterFillInfo + from '@views/workCenter/standardInterpretationProcess/modules/InterpretationInterpreterFillInfo' const tabList = ['base', 'user'] export default { name: 'StandardInterpretationProcess', - components: { InterpretationMainInterpreterDistribute, InterpretationLiaisonDistribute, UserSelectModal, InterpretationInitiate, PersonnelInfo, InternalDetailPage, ProcessDetailList }, + components: { InterpretationInterpreterFillInfo, InterpretationMainInterpreterDistribute, InterpretationLiaisonDistribute, UserSelectModal, InterpretationInitiate, PersonnelInfo, InternalDetailPage, ProcessDetailList }, mixins: [WorkCenterMixin], data () { return { @@ -388,6 +392,14 @@ export default { }) // 条款列表 params.data.processStandardInterpretClauseList = compData.clauseData + } else if (this.currentNodeId === StandardInterpretationNodes.interpreterFillInfo.value) { + // 解读人填写节点 + params.data.processStandardInterpret = Object.assign({}, this.info.data.processStandardInterpret, compData.formData, { + projectId: this.projectId + }) + // 条款列表 + params.data.processStandardInterpretClauseList = [] + params.data.processStandardInterpretClauseSublistList = compData.clauseInterpretData } // 如果有校验失败的,那就报错 if (flag) { diff --git a/src/views/workCenter/standardInterpretationProcess/modules/InterpretationInterpreterFillInfo.vue b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationInterpreterFillInfo.vue new file mode 100644 index 0000000..4ffe0fe --- /dev/null +++ b/src/views/workCenter/standardInterpretationProcess/modules/InterpretationInterpreterFillInfo.vue @@ -0,0 +1,390 @@ + + + + + diff --git a/src/views/workCenter/standardInterpretationProcess/modules/TermsInterpretModal.vue b/src/views/workCenter/standardInterpretationProcess/modules/TermsInterpretModal.vue new file mode 100644 index 0000000..d394763 --- /dev/null +++ b/src/views/workCenter/standardInterpretationProcess/modules/TermsInterpretModal.vue @@ -0,0 +1,198 @@ + + + + +