From 8d8e021b040308894a1aedc2e88b64dd30f73b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Fri, 22 Dec 2023 15:11:28 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E9=A1=B9=E7=9B=AE=E5=90=88=E8=A7=84?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/lang/zh-cn.js | 6 ++- .../ProjectComplianceEvaluationProcess.vue | 42 ++++++++++++++----- 2 files changed, 37 insertions(+), 11 deletions(-) diff --git a/src/common/lang/zh-cn.js b/src/common/lang/zh-cn.js index cf463e4..f04288a 100644 --- a/src/common/lang/zh-cn.js +++ b/src/common/lang/zh-cn.js @@ -288,6 +288,10 @@ module.exports = { preNodeProcessesPeople: '上一节点处理人', evaluationFeedback: '评估反馈', evaluator: '评估人', - evaluationResult: '评估结果' + evaluationResult:'评估结果', + nonConformanceTerm: '不符合项', + solutions: '应对措施', + riskPoint: '风险点', + proofScheme: '验证方案' } } diff --git a/src/views/workCenter/projectComplianceEvaluationProcess/ProjectComplianceEvaluationProcess.vue b/src/views/workCenter/projectComplianceEvaluationProcess/ProjectComplianceEvaluationProcess.vue index cf96955..b45c246 100644 --- a/src/views/workCenter/projectComplianceEvaluationProcess/ProjectComplianceEvaluationProcess.vue +++ b/src/views/workCenter/projectComplianceEvaluationProcess/ProjectComplianceEvaluationProcess.vue @@ -252,10 +252,16 @@ export default { // 不符合 '2': { rules: { - // 依据描述 - description: { + // 不符合项 + nonConformance: { required: true, - message: this.$t('pleaseEnter') + this.$t('standardConsultation.basisDescription'), + message: this.$t('pleaseEnter') + this.$t('projectCompliance.nonConformanceTerm'), + trigger: 'blur' + }, + // 应对措施 + countermeasures: { + required: true, + message: this.$t('pleaseEnter') + this.$t('projectCompliance.solutions'), trigger: 'blur' }, // 预计整改完成日期 @@ -268,8 +274,13 @@ export default { formArr: [ { fieldShowType: 1, - dbFieldTxt: this.$t('standardConsultation.basisDescription'), - dbFieldName: 'description' + dbFieldTxt: this.$t('projectCompliance.nonConformanceTerm'), + dbFieldName: 'nonConformance' + }, + { + fieldShowType: 1, + dbFieldTxt: this.$t('projectCompliance.solutions'), + dbFieldName: 'countermeasures' }, { fieldShowType: 3, @@ -281,10 +292,16 @@ export default { // 待验证 '3': { rules: { - // 依据描述 - description: { + // 风险点 + riskPoints: { required: true, - message: this.$t('pleaseEnter') + this.$t('standardConsultation.basisDescription'), + message: this.$t('pleaseEnter') + this.$t('projectCompliance.riskPoint'), + trigger: 'blur' + }, + // 验证方案 + validateSolution: { + required: true, + message: this.$t('pleaseEnter') + this.$t('projectCompliance.proofScheme'), trigger: 'blur' }, // 预计整改完成日期 @@ -297,8 +314,13 @@ export default { formArr: [ { fieldShowType: 1, - dbFieldTxt: this.$t('standardConsultation.basisDescription'), - dbFieldName: 'description' + dbFieldTxt: this.$t('projectCompliance.riskPoint'), + dbFieldName: 'riskPoints' + }, + { + fieldShowType: 1, + dbFieldTxt: this.$t('projectCompliance.proofScheme'), + dbFieldName: 'validateSolution' }, { fieldShowType: 3,