From 6b988bd582bfcd17fee48c476a5a6e5cc172b0d5 Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期三, 12 三月 2025 10:08:33 +0800
Subject: [PATCH] dev-2

---
 src/components/BpmnView/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/BpmnView/index.vue b/src/components/BpmnView/index.vue
index f07bc21..c5e0c7b 100644
--- a/src/components/BpmnView/index.vue
+++ b/src/components/BpmnView/index.vue
@@ -51,7 +51,7 @@
 const bpmnVisible = ref(true);
 const historyList = ref([]);
 
-const init = (instanceId) => {
+const init = (businessKey) => {
   loading.value = true;
   bpmnVisible.value = true;
   nextTick(async () => {
@@ -67,7 +67,7 @@
         MoveCanvasModule
       ] as ModuleDeclaration[]
     });
-    const resp = await processApi.getHistoryList(instanceId);
+    const resp = await processApi.getHistoryList(businessKey);
     xml.value = resp.data.xml;
     taskList.value = resp.data.taskList;
     historyList.value = resp.data.historyList;
@@ -133,6 +133,7 @@
                     <p>寮�濮嬫椂闂达細${data.startTime || ''}</p>
                     <p>缁撴潫鏃堕棿锛�${data.endTime || ''}</p>
                     <p>瀹℃壒鑰楁椂锛�${data.runDuration || ''}</p>
+                    <p>娴佺▼鐗堟湰锛歷${data.version || ''}</p>
                    </div>`
   });
 };

--
Gitblit v1.9.3