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,