update 流程校验调整

This commit is contained in:
赵霄
2023-12-20 17:35:42 +08:00
parent 54810fa7b3
commit e2a4399f82
4 changed files with 33 additions and 3 deletions
@@ -270,7 +270,7 @@
<div class="detail-page-scroll-content p-0" v-show="switchValue === 'user'">
<process-detail-list :process-key="ProcessKey.PROJECT_COMPLIANCE_EVALUATION.value">
<template #personnelInfo>
<personnel-info ref="personnelInfo" :data="personnelInfoData" :current-node="currentNode" />
<personnel-info ref="personnelInfo" :data="personnelInfoData" :current-node="personnelInfoCurrentNode" />
</template>
</process-detail-list>
</div>
@@ -813,6 +813,10 @@ export default {
return this.$t('workCenter.standardCompliance.projectAppraisal')
}
return this.$t('basicServiceInformation')
},
// 人员信息的当前节点,如果是模块负责人修改,在人员信息需要显示当前节点是模块负责人审批
personnelInfoCurrentNode () {
return this.currentNode === ProjectComplianceEvaluationProcessNode.moduleOwnerModification.value ? ProjectComplianceEvaluationProcessNode.moduleOwnerApproval.value : this.currentNode
}
},
created () {
@@ -1145,6 +1149,7 @@ export default {
basicTaskInfoDTO.taskId = basicTaskInfoDTO.taskId || this.$route.query.taskId
} else {
flag = false
this.$message.warning(this.$t('pleaseEnterRemarks'))
}
})
// 抄送人员校验