update 流程详情流程图获取,征求意见流程调整

This commit is contained in:
赵霄
2023-11-28 16:25:25 +08:00
parent 3be87bb54e
commit 864f21ccb0
6 changed files with 36 additions and 12 deletions
@@ -106,7 +106,7 @@
<!--人员信息-->
<div class="detail-page-scroll-content p-0" v-show="switchValue === 'user'">
<process-detail-list>
<process-detail-list :process-key="processKey">
<template #personnelInfo>
<personnel-info ref="personnelInfo" :data="personnelInfoData" />
</template>
@@ -249,6 +249,10 @@ export default {
// 表格是否可以增删改
canTableOperate () {
return this.currentNode === ProcurementProcessNodes.initiate.value
},
// 流程key
processKey () {
return ProcessKey.LEGAL_PROCUREMENT.value
}
},
created () {
@@ -262,7 +266,7 @@ export default {
this.columns.push(this.operateColumn)
}
this.btnList = ProcurementProcessNodes.propertyOfValue('btn', this.currentNode)
this.getPersonInfoStructure(ProcessKey.LEGAL_PROCUREMENT.value, () => {
this.getPersonInfoStructure(this.processKey, () => {
this.initPersonInfoData(this.currentNode === ProcurementProcessNodes.initiate.value)
})
},