兰宝车间质量管理系统-前端
疯狂的狮子Li
2024-08-08 c0ee3182e16527e01a19c00eed020f1350a58979
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>流程版本:v${data.version || ''}</p>
                   </div>`
  });
};