update 人员信息调整

This commit is contained in:
赵霄
2023-12-08 18:12:30 +08:00
parent 279985428c
commit 73efcb60be
2 changed files with 35 additions and 9 deletions
@@ -253,7 +253,7 @@
<div class="detail-page-scroll-content p-0" v-show="switchValue === 'user'">
<process-detail-list :process-key="processKey">
<template #personnelInfo>
<personnel-info ref="personnelInfo" :data="personnelInfoData" :current-node="currentNode"/>
<personnel-info ref="personnelInfo" :data="personnelInfoData" :current-node="currentNode" :special-process-node-prefix="currentNodePrefix"/>
</template>
</process-detail-list>
</div>
@@ -732,7 +732,8 @@ export default {
scopedSlots: { customRender: 'text' }
}
],
businessId: null
businessId: null,
currentNodePrefix: null // 当前节点的固定前缀,用于人员信息组件处理
}
},
computed: {
@@ -809,6 +810,7 @@ export default {
})
// 找不到这个节点默认使用审批节点页面及按钮,发起除外
this.nodeEnumsKey = this.currentNode ? ConsultationProcess.keyOfValueByLike(this.currentNode) || 'regulatoryEngineerApproval' : 'initiate'
this.currentNodePrefix = ConsultationProcess[this.nodeEnumsKey].value
this.btnList = ConsultationProcess[this.nodeEnumsKey].btn
},
methods: {