diff --git a/src/api/workflow/workflowUser/index.ts b/src/api/workflow/workflowUser/index.ts index e9ee6b5..e3ed8d9 100644 --- a/src/api/workflow/workflowUser/index.ts +++ b/src/api/workflow/workflowUser/index.ts @@ -1,4 +1,6 @@ import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { UserVO } from '@/api/system/user/types'; /** * 分页查询工作流选择加签人员 @@ -27,10 +29,10 @@ export const getWorkflowDeleteMultiInstanceList = (taskId: string) => { /** * 按照用户id查询用户 - * @param query + * @param userIdList * @returns {*} */ -export const getUserListByIds = (userIdList: Array) => { +export const getUserListByIds = (userIdList: any[]): AxiosPromise => { return request({ url: '/workflow/user/getUserListByIds/' + userIdList, method: 'get' diff --git a/src/components/BpmnDesign/panel/TaskPanel.vue b/src/components/BpmnDesign/panel/TaskPanel.vue index 8a5aa7f..20078e5 100644 --- a/src/components/BpmnDesign/panel/TaskPanel.vue +++ b/src/components/BpmnDesign/panel/TaskPanel.vue @@ -1,7 +1,7 @@