update 项目合规评估流程、不需要转办的节点处理
This commit is contained in:
+25
-3
@@ -203,7 +203,7 @@
|
||||
|
||||
<!--条文内容-->
|
||||
<template v-slot:clauseContent="{text}">
|
||||
<div class="table-text" @click="showContent(text)" v-if="text">
|
||||
<div class="table-text" style="cursor: pointer" @click="showContent(text)" v-if="text">
|
||||
{{ text && text !== 'null' ? text.replace(/<.*?>/ig, ' ') : '' }}
|
||||
</div>
|
||||
<div class="table-text" v-else>{{ global.emptyLine }}</div>
|
||||
@@ -729,7 +729,7 @@ export default {
|
||||
])
|
||||
}
|
||||
// 设计工程师评估、模块负责人审批、各部门主管级领导审批、法规工程师归档,及用户新增的审批节点都显示审批节点的表头
|
||||
const showNode = [ProjectComplianceEvaluationProcessNode.designEngineerEvaluation.value, ProjectComplianceEvaluationProcessNode.moduleOwnerApproval.value, ProjectComplianceEvaluationProcessNode.departLeaderApproval.value, ProjectComplianceEvaluationProcessNode.regulatoryEngineerFiling.value, ProjectComplianceEvaluationProcessNode.moduleOwnerModification.value]
|
||||
const showNode = [ProjectComplianceEvaluationProcessNode.designEngineerEvaluation.value, ProjectComplianceEvaluationProcessNode.moduleOwnerApproval.value, ProjectComplianceEvaluationProcessNode.departLeaderApproval.value, ProjectComplianceEvaluationProcessNode.moduleOwnerModification.value]
|
||||
if (showNode.includes(this.currentNode) || !ProjectComplianceEvaluationProcessNode.keyOfValue(this.currentNode)) {
|
||||
return this.basicColumns.concat([
|
||||
// 上一节点处理人
|
||||
@@ -742,7 +742,29 @@ export default {
|
||||
},
|
||||
// 评估反馈
|
||||
{
|
||||
title: this.$t('workCenter.projectComplianceEvaluationProcess.evaluationFeedback'),
|
||||
// 设计工程师评估节点是评估反馈,其他节点是评估结果
|
||||
title: this.currentNode === ProjectComplianceEvaluationProcessNode.designEngineerEvaluation.value ? this.$t('workCenter.projectComplianceEvaluationProcess.evaluationFeedback') : this.$t('projectLibrary.vehicleItemLibrary.evaluationResult'),
|
||||
dataIndex: 'evaluationFeedback_dictText',
|
||||
width: 150,
|
||||
align: 'center',
|
||||
scopedSlots: { customRender: 'evaluationFeedback' }
|
||||
}
|
||||
])
|
||||
}
|
||||
// 法规工程师归档
|
||||
if (this.currentNode === ProjectComplianceEvaluationProcessNode.regulatoryEngineerFiling.value) {
|
||||
return this.basicColumns.concat([
|
||||
// 设计工程师
|
||||
{
|
||||
title: this.$t('workCenter.standardConsultationProcess.designEngineer'),
|
||||
dataIndex: 'designEngineer',
|
||||
width: 150,
|
||||
align: 'center',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
},
|
||||
// 评估结果
|
||||
{
|
||||
title: this.$t('projectLibrary.vehicleItemLibrary.evaluationResult'),
|
||||
dataIndex: 'evaluationFeedback_dictText',
|
||||
width: 150,
|
||||
align: 'center',
|
||||
|
||||
Reference in New Issue
Block a user