From 9de3f25f6a714175ffed224f3f5c7e9b70735ba0 Mon Sep 17 00:00:00 2001 From: gssong <1742057357@qq.com> Date: 星期六, 01 六月 2024 22:05:45 +0800 Subject: [PATCH] update 调整审批按钮加载 --- src/components/Process/approvalRecord.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Process/approvalRecord.vue b/src/components/Process/approvalRecord.vue index cbce87a..37667ca 100644 --- a/src/components/Process/approvalRecord.vue +++ b/src/components/Process/approvalRecord.vue @@ -67,17 +67,17 @@ const bpmnViewRef = ref<BpmnView>(); //鍒濆鍖栨煡璇㈠鎵硅褰� -const init = async (instanceId: string) => { +const init = async (businessKey: string) => { visible.value = true; loading.value = true; tabActiveName.value = 'bpmn'; historyList.value = []; - processApi.getHistoryRecord(instanceId).then((resp) => { + processApi.getHistoryRecord(businessKey).then((resp) => { historyList.value = resp.data; loading.value = false; }); await nextTick(() => { - bpmnViewRef.value.init(instanceId); + bpmnViewRef.value.init(businessKey); }); }; -- Gitblit v1.9.3