diff --git a/src/views/bpm/processInstance/detail/ProcessInstanceTimeline.vue b/src/views/bpm/processInstance/detail/ProcessInstanceTimeline.vue index 329eab53..d2a7a357 100644 --- a/src/views/bpm/processInstance/detail/ProcessInstanceTimeline.vue +++ b/src/views/bpm/processInstance/detail/ProcessInstanceTimeline.vue @@ -3,7 +3,7 @@
审批意见:{{ task.reason }} @@ -135,7 +138,7 @@ import endSvg from '@/assets/svgs/bpm/end.svg' defineOptions({ name: 'BpmProcessInstanceTimeline' }) defineProps<{ - approveNodes: ProcessInstanceApi.ApprovalNodeInfo[] // 审批节点信息 + activityNodes: ProcessInstanceApi.ApprovalNodeInfo[] // 审批节点信息 }>() // 审批节点 diff --git a/src/views/bpm/processInstance/detail/index.vue b/src/views/bpm/processInstance/detail/index.vue index ab04d4a9..6a1d7425 100644 --- a/src/views/bpm/processInstance/detail/index.vue +++ b/src/views/bpm/processInstance/detail/index.vue @@ -65,7 +65,7 @@ - + @@ -229,7 +229,7 @@ const getApprovalDetail = async () => { } // 获取审批节点,显示 Timeline 的数据 - approveNodes.value = data.approveNodes + activityNodes.value = data.activityNodes // 获取待办任务显示操作按钮 operationButtonRef.value?.loadTodoTask(data.todoTask) @@ -239,7 +239,7 @@ const getApprovalDetail = async () => { } // 审批节点信息 -const approveNodes = ref([]) +const activityNodes = ref([]) /** * 设置表单权限 */