fix 项目合规批量删除按钮判断

This commit is contained in:
赵霄
2024-01-18 13:45:07 +08:00
parent 63316e9470
commit c71a9f759f
@@ -108,7 +108,7 @@
{{ $t('workCenter.projectComplianceEvaluationProcess.batchSelector') }}
</a-button>
<!--批量删除-->
<a-button type="primary" icon="delete" ghost @click="batchDel">
<a-button type="primary" icon="delete" ghost @click="batchDel" v-if="isInit">
{{ $t('batchDelete') }}
</a-button>
</div>
@@ -873,6 +873,10 @@ export default {
// 人员信息的当前节点,如果是模块负责人修改,在人员信息需要显示当前节点是模块负责人审批
personnelInfoCurrentNode () {
return this.currentNode === ProjectComplianceEvaluationProcessNode.moduleOwnerModification.value ? ProjectComplianceEvaluationProcessNode.moduleOwnerApproval.value : this.currentNode
},
// 是否发起节点
isInit() {
return this.currentNode === ProjectComplianceEvaluationProcessNode.initiate.value
}
},
created () {