From 845b848b60cd2356d9cf3b9d13c51595babaf72c Mon Sep 17 00:00:00 2001
From: 玲娜贝er <15891557205@163.com>
Date: 星期三, 27 十一月 2024 15:39:34 +0800
Subject: [PATCH] !159 eslint升级v9版本 * update: eslint升级v9版本 & 更新一些不符合校验规则的代码
---
src/components/BpmnView/index.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/components/BpmnView/index.vue b/src/components/BpmnView/index.vue
index 4ea890d..c5e0c7b 100644
--- a/src/components/BpmnView/index.vue
+++ b/src/components/BpmnView/index.vue
@@ -37,7 +37,7 @@
import MoveCanvasModule from 'diagram-js/lib/navigation/movecanvas';
import ZoomScrollModule from 'diagram-js/lib/navigation/zoomscroll';
import { ModuleDeclaration } from 'didi';
-import { Canvas, ModdleElement } from 'bpmn';
+import type { Canvas, ModdleElement } from 'bpmn';
import EventBus from 'diagram-js/lib/core/EventBus';
import Overlays from 'diagram-js/lib/features/overlays/Overlays';
import processApi from '@/api/workflow/processInstance/index';
@@ -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>`
});
};
@@ -405,5 +406,6 @@
margin: 0;
padding: 0;
}
+ cursor: pointer;
}
</style>
--
Gitblit v1.9.3