diff --git a/src/api/workflow/processInstance/index.ts b/src/api/workflow/processInstance/index.ts index b949b51..6d5e53b 100644 --- a/src/api/workflow/processInstance/index.ts +++ b/src/api/workflow/processInstance/index.ts @@ -53,7 +53,7 @@ export const getHistoryList = (businessKey: string): AxiosPromise { +export const getHistoryRecord = (businessKey: string | number) => { return request({ url: `/workflow/processInstance/getHistoryRecord/${businessKey}`, method: 'get' diff --git a/src/components/Process/approvalRecord.vue b/src/components/Process/approvalRecord.vue index 37667ca..bb4ed91 100644 --- a/src/components/Process/approvalRecord.vue +++ b/src/components/Process/approvalRecord.vue @@ -67,7 +67,7 @@ const tabActiveName = ref('bpmn'); const bpmnViewRef = ref(); //初始化查询审批记录 -const init = async (businessKey: string) => { +const init = async (businessKey: string | number) => { visible.value = true; loading.value = true; tabActiveName.value = 'bpmn'; diff --git a/src/components/Process/multiInstanceUser.vue b/src/components/Process/multiInstanceUser.vue index b2039b9..292b1b7 100644 --- a/src/components/Process/multiInstanceUser.vue +++ b/src/components/Process/multiInstanceUser.vue @@ -1,22 +1,28 @@