update 项目合规评估流程-归档节点改为评估人字段、驳回到模块负责人不可继续驳回

This commit is contained in:
赵霄
2023-12-20 15:52:58 +08:00
parent a04bf555fe
commit 1b8a314bbc
2 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -407,7 +407,7 @@ export const ProjectComplianceEvaluationProcessNode = new EsEnums({
designEngineerEvaluation: { text: '设计工程师评估', value: 'sjgcspg', btn: ['return', 'save', 'submit'] },
moduleOwnerApproval: { text: '模块负责人审批', value: 'mkfzrsp', btn: ['return', 'save', 'agree', 'reject'] },
departLeaderApproval: { text: '各部门主管级领导审批', value: 'gbmzgjldsp', btn: ['return', 'save', 'agree', 'reject'] },
moduleOwnerModification: { text: '模块负责人修改', value: 'mkfzrxg', btn: ['return', 'save', 'agree', 'reject'] },
moduleOwnerModification: { text: '模块负责人修改', value: 'mkfzrxg', btn: ['return', 'save', 'submit'] },
regulatoryEngineerFiling: { text: '法规工程师归档', value: 'fggcsgd', btn: ['return', 'save', 'submit'] }
})
@@ -101,7 +101,7 @@
<!--业务分派信息-->
<template v-if="showDispatchAndApprovalInfo">
<div class="process-part-title">{{ $t('workCenter.dispatchInformation') }}</div>
<div class="process-part-title">{{ middlePartTitle }}</div>
<div class="table-operator">
<!--批量选择人员-->
<a-button type="primary" ghost @click="batchSelector" v-if="!showExpandTable">
@@ -756,7 +756,7 @@ export default {
return this.basicColumns.concat([
// 设计工程师
{
title: this.$t('workCenter.standardConsultationProcess.designEngineer'),
title: this.$t('projectLibrary.vehicleItemLibrary.evaluator'),
dataIndex: 'designEngineer',
width: 150,
align: 'center',
@@ -798,6 +798,20 @@ export default {
return 'radio'
}
return 'checkbox'
},
// 中间部分的标题,评估节点:项目评估,分发节点:业务分派信息,其他节点:业务基本信息
middlePartTitle() {
// 分发节点
const dispatchNodes = [ProjectComplianceEvaluationProcessNode.initiate.value, ProjectComplianceEvaluationProcessNode.departLeaderIssued.value, ProjectComplianceEvaluationProcessNode.moduleOwnerIssued.value]
// 评估节点
const evaluationNodes = [ProjectComplianceEvaluationProcessNode.designEngineerEvaluation.value, ProjectComplianceEvaluationProcessNode.moduleOwnerModification.value]
if (dispatchNodes.includes(this.currentNode)) {
return this.$t('workCenter.dispatchInformation')
}
if (evaluationNodes.includes(this.currentNode)) {
return this.$t('workCenter.standardCompliance.projectAppraisal')
}
return this.$t('basicServiceInformation')
}
},
created () {