From aff9a3363404e37bf11ff8ffe34e58491e4552fa Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Wed, 11 May 2022 17:22:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=BB=E5=8A=A1=E6=B8=85?= =?UTF-8?q?=E5=8D=95=E5=8F=91=E8=B5=B7=E7=9A=84=E9=80=BB=E8=BE=91?= 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 | 225 +++++++++--------- .../components/listOfRegulations.vue | 34 ++- 3 files changed, 147 insertions(+), 115 deletions(-) diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index b13c6e1db..86c987e32 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -796,4 +796,7 @@ module.exports = { preHomeConfirmation:'Pre home confirmation', verificationComplianceReview:'Verification compliance review', Deployment:'Deployment', + pleaseDesignConformityConfirmation:'Please complete the data of design conformity confirmation', + pleaseConfirmedByPrehomo:'Please complete the data confirmed by prehomo', + pleaseConformityVerification:'Please complete the data of Conformity verification', } \ 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 a46d5d78d..08ff66e18 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -483,7 +483,7 @@ module.exports = { nonConformity: '不符合', Tracked: '待追踪', notInvolved: '不涉及', - toBeConfirmed:'待确认', + toBeConfirmed: '待确认', Operator: '操作人', role: '角色', operationContent: '操作内容', @@ -493,7 +493,7 @@ module.exports = { sentProcess: '已发流程', monitoringProcess: '监控流程', ConfirmDeployment: '确认部署?', - Deployment:'部署', + Deployment: '部署', ConfirmReplication: '确认复制?', ProcessName: '流程名称', ProcessType: '流程类型', @@ -581,7 +581,7 @@ module.exports = { selectDisplayList: '请选择是否列表展示', documentSplitDisplay: '文档拆分模块展示', VirtualListName: '虚拟清单名称', - VirtualList:'虚拟清单', + VirtualList: '虚拟清单', listStatus: '清单状态', creater: '创建人', withdraw: '撤回', @@ -664,55 +664,55 @@ module.exports = { DocumentStandard: '文档标准', standardName: '标准名称', initiateListConfirmation: '发起清单确认', - initiateTaskConfirmation:'发起任务确认', - alteration:'变更', - fixedPlate:'定版', - taskAffirmStatus:'任务确认状态', - listConfirmationStatus:'清单确认状态', - ListConfirmationDeadline:'清单确认截止时间', - dataConfirmation:'请选择清单确认状态为未发起或拒绝的数据,以及法规工程师、认证工程师不为空', - taskDataConfirmation:'请选择清单确认状态为接受及任务确认状态为未发起或拒绝的数据,以及工程接口人不为空', - pleaseSelectPersonFirst:'请先选择人员', - onlyOnePersonCanBeSelected:'只能选择一个人员', - overrule:'驳回', - confirmSubmit:'确认提交?', - confirmOverrule:'确认驳回?', - The:'第', - submitted:'条数据已提交不能重复提交', - incorrectsubmitted:'条数据状态有误;只能提交状态为待确认的数据', - basicInformationOfParameters:'参数基本信息', - regulatoryCertificationTaskPlan:'法规/认证任务计划', - bringInRelevantPersonnel:'带入相关人员', - confirmBringInRelevantPersonnel:'确认带入相关人员?', - problemType:'问题类型', - projectDetails:'项目详情', - listOfRegulations:'法规清单', - taskList:'任务清单', - TaskParameterCollection:'认证参数收集', - nonConformance:'未符合项', - deadlineForConfirmationOfDesignCompliance:'设计符合性确认截止时间', - prehomoConfirmationDeadline:'PreHomo确认截止时间', - verificationComplianceConfirmationDeadline:'验证符合性确认截止时间', - pleaseEnterTheCorrectWebAddress:'请输入正确的网址', - updateTime:'更新时间', - comment:'评论', - historicalVersion:'历史版本', - versionName:'版本名称', - finalizationTime:'定版时间', - setting:'设定', - date:'日期', - time:'时间', - uploadMaximumATime:'一次最多上传二十张图片', + initiateTaskConfirmation: '发起任务确认', + alteration: '变更', + fixedPlate: '定版', + taskAffirmStatus: '任务确认状态', + listConfirmationStatus: '清单确认状态', + ListConfirmationDeadline: '清单确认截止时间', + dataConfirmation: '请选择清单确认状态为未发起或拒绝的数据,以及法规工程师、认证工程师不为空', + taskDataConfirmation: '请选择清单确认状态为接受及任务确认状态为未发起或拒绝的数据,以及工程接口人不为空', + pleaseSelectPersonFirst: '请先选择人员', + onlyOnePersonCanBeSelected: '只能选择一个人员', + overrule: '驳回', + confirmSubmit: '确认提交?', + confirmOverrule: '确认驳回?', + The: '第', + submitted: '条数据已提交不能重复提交', + incorrectsubmitted: '条数据状态有误;只能提交状态为待确认的数据', + basicInformationOfParameters: '参数基本信息', + regulatoryCertificationTaskPlan: '法规/认证任务计划', + bringInRelevantPersonnel: '带入相关人员', + confirmBringInRelevantPersonnel: '确认带入相关人员?', + problemType: '问题类型', + projectDetails: '项目详情', + listOfRegulations: '法规清单', + taskList: '任务清单', + TaskParameterCollection: '认证参数收集', + nonConformance: '未符合项', + deadlineForConfirmationOfDesignCompliance: '设计符合性确认截止时间', + prehomoConfirmationDeadline: 'PreHomo确认截止时间', + verificationComplianceConfirmationDeadline: '验证符合性确认截止时间', + pleaseEnterTheCorrectWebAddress: '请输入正确的网址', + updateTime: '更新时间', + comment: '评论', + historicalVersion: '历史版本', + versionName: '版本名称', + finalizationTime: '定版时间', + setting: '设定', + date: '日期', + time: '时间', + uploadMaximumATime: '一次最多上传二十张图片', - time:'时间', - confirmationOfRegulationsList:'法规清单确认', - regulatoryTaskConfirmation:'法规任务确认', - certificationStart:'认证开始', - certificationEnd:'认证结束', - directoryName:'目录名称', - batch:'批次', - uploadTime:'上传时间', - enclosure:'附件', + time: '时间', + confirmationOfRegulationsList: '法规清单确认', + regulatoryTaskConfirmation: '法规任务确认', + certificationStart: '认证开始', + certificationEnd: '认证结束', + directoryName: '目录名称', + batch: '批次', + uploadTime: '上传时间', + enclosure: '附件', // 认证 deleteConfiguration: '删除配置', addConfiguration: '添加配置', @@ -741,64 +741,67 @@ module.exports = { releaseVersion: '发布版本', parameterTemplate: '参数模板', contentDescription: '内容说明', - circulationInformation:'流转信息', - circulationHistory:'流转历史', - agree:'同意', - disagree:'不同意', - feedbackMessage:'反馈意见', - result:'结果', - opinion:'意见', - operationNode:'操作节点', - selectIssuer:'选择下发人', - sendBack:'退回', - taskConfirmationProcess:'任务确认流程', - notFinished:'未完成', - Finished:'已完成', - theRequirementst:'工程接口人确认符合性要求', - dataLoading:'数据加载中...', - Submitting:'提交中...', - Returning:'退回中', - terminationProcessing:'终止流程中', - publishComment:'发表评论', - record:'记录', - replyToComments:'回复评论', - noComment:'暂无评论', - theReceived:'所有数据的清单确认状态和任务确认状态都为接受才可以定版', - notEvaluated:'未评估', - cannotExceed:'不能超出', - Characters:'个字符', - standardInformation:'标准信息', - importTemplate:'导入模板', - verificationConfirmationDeadline:'验证符合性确认截止时间', - technicalEvaluationResults:'技术评估结果', - engineeringConfirmation:'工程确认', - feedbackFromTheEngineer:'工程师反馈意见', - completedBy:'填写人', - completedTime:'填写时间', - replyFromProjectContactPerson:'工程接口人回复', - answer:'回复', - distributionEngineer:'分发工程师', - reminderHandling:'提醒办理', - addFeedback:'添加反馈', - engineer:'工程师', - engineeringConfirmationDetails:'工程确认详情', - reminder:'提醒', - adopt:'通过', - reviewedByThePersonInCharge:'负责人审核', - onlyDeleted:'只能删除清单确认状态为未发起或拒绝的数据', - experimentPassed:'实验通过', - experimentFailed:'实验失败', - toBeStarted:'待开始', - inProgress:'进行中', - green:'绿', - red:'红', - blue:'蓝', - yellow:'黄', - resultReported:'结果报告', - TheDoesNotContainData:'该虚拟清单的维护清单中没有数据,是否需要添加', - number:'序号', - Deadline:'截止时间', - designComplianceReview:'设计符合性审查', - preHomeConfirmation:'Pre-Home确认', - verificationComplianceReview:'验证符合性审查', + circulationInformation: '流转信息', + circulationHistory: '流转历史', + agree: '同意', + disagree: '不同意', + feedbackMessage: '反馈意见', + result: '结果', + opinion: '意见', + operationNode: '操作节点', + selectIssuer: '选择下发人', + sendBack: '退回', + taskConfirmationProcess: '任务确认流程', + notFinished: '未完成', + Finished: '已完成', + theRequirementst: '工程接口人确认符合性要求', + dataLoading: '数据加载中...', + Submitting: '提交中...', + Returning: '退回中', + terminationProcessing: '终止流程中', + publishComment: '发表评论', + record: '记录', + replyToComments: '回复评论', + noComment: '暂无评论', + theReceived: '所有数据的清单确认状态和任务确认状态都为接受才可以定版', + notEvaluated: '未评估', + cannotExceed: '不能超出', + Characters: '个字符', + standardInformation: '标准信息', + importTemplate: '导入模板', + verificationConfirmationDeadline: '验证符合性确认截止时间', + technicalEvaluationResults: '技术评估结果', + engineeringConfirmation: '工程确认', + feedbackFromTheEngineer: '工程师反馈意见', + completedBy: '填写人', + completedTime: '填写时间', + replyFromProjectContactPerson: '工程接口人回复', + answer: '回复', + distributionEngineer: '分发工程师', + reminderHandling: '提醒办理', + addFeedback: '添加反馈', + engineer: '工程师', + engineeringConfirmationDetails: '工程确认详情', + reminder: '提醒', + adopt: '通过', + reviewedByThePersonInCharge: '负责人审核', + onlyDeleted: '只能删除清单确认状态为未发起或拒绝的数据', + experimentPassed: '实验通过', + experimentFailed: '实验失败', + toBeStarted: '待开始', + inProgress: '进行中', + green: '绿', + red: '红', + blue: '蓝', + yellow: '黄', + resultReported: '结果报告', + TheDoesNotContainData: '该虚拟清单的维护清单中没有数据,是否需要添加', + number: '序号', + Deadline: '截止时间', + designComplianceReview: '设计符合性审查', + preHomeConfirmation: 'Pre-Home确认', + verificationComplianceReview: '验证符合性审查', + pleaseDesignConformityConfirmation: '请补全设计符合性确认的数据', + pleaseConfirmedByPrehomo: '请补全 PreHomo确认的数据', + pleaseConformityVerification: '请补全验证符合性确认的数据' } \ 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 1cd3cbb83..e86246db4 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -873,10 +873,36 @@ if (this.dataSource[i].id == selectedRowKeys[j]) { if ((this.dataSource[i].taskAffirmStatus == 'Not started' || this.dataSource[i].taskAffirmStatus == 'rejected') && this.dataSource[i].engineeringInterfacePerson && this.dataSource[i].inventoryAffirmStatus == 'accepted') { - isTrue = true - // if (this.dataSource[i]){ - // - // } + if ((this.dataSource[i].verifyDueDate && this.dataSource[i].verifyDutyId + && this.dataSource[i].verifyInitiatorId && this.dataSource[i].verifyDeliverableType) || + (!this.dataSource[i].verifyDueDate && !this.dataSource[i].verifyDutyId + && !this.dataSource[i].verifyInitiatorId && !this.dataSource[i].verifyDeliverableType)) { + isTrue = true + }else{ + isTrue = false + this.$message.warning(this.$t('pleaseConformityVerification')) + return + } + if ((this.dataSource[i].prehomoDueDate && this.dataSource[i].prehomoDutyId + && this.dataSource[i].prehomoInitiatorId && this.dataSource[i].prehomoDeliverableType) || + (!this.dataSource[i].prehomoDueDate && !this.dataSource[i].prehomoDutyId + && !this.dataSource[i].prehomoInitiatorId && !this.dataSource[i].prehomoDeliverableType)){ + isTrue = true + }else{ + isTrue = false + this.$message.warning(this.$t('pleaseConfirmedByPrehomo')) + return + } + if ((this.dataSource[i].designDueDate && this.dataSource[i].designDutyId + && this.dataSource[i].designInitiatorId && this.dataSource[i].designDeliverableType) || + (!this.dataSource[i].designDueDate && !this.dataSource[i].designDutyId + && !this.dataSource[i].designInitiatorId && !this.dataSource[i].designDeliverableType)){ + isTrue = true + }else{ + isTrue = false + this.$message.warning(this.$t('pleaseDesignConformityConfirmation')) + return + } } else { isTrue = false this.$message.warning(this.$t('taskDataConfirmation'))