diff --git a/src/api/workflow/processInstance/index.ts b/src/api/workflow/processInstance/index.ts index 9a417c1..80f122f 100644 --- a/src/api/workflow/processInstance/index.ts +++ b/src/api/workflow/processInstance/index.ts @@ -41,7 +41,7 @@ export const getHistoryImage = (processInstanceId: string) => { /** * 通过流程实例id获取历史流程图运行中,历史等节点 */ -export const getHistoryList = (instanceId: string) => { +export const getHistoryList = (instanceId: string): AxiosPromise> => { return request({ url: `/workflow/processInstance/getHistoryList/${instanceId}` + '?t' + Math.random(), method: 'get' diff --git a/src/components/BpmnView/index.vue b/src/components/BpmnView/index.vue index ee0eaa6..75a89cd 100644 --- a/src/components/BpmnView/index.vue +++ b/src/components/BpmnView/index.vue @@ -1,37 +1,35 @@ -