From e78e4aaf5a57904e729506a559e019592899822a Mon Sep 17 00:00:00 2001 From: LiuHao Date: Fri, 26 Jan 2024 01:16:22 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BB=A3=E7=A0=81=E9=AB=98=E4=BA=AE?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workflow/workflowUser/index.ts | 6 +- src/components/BpmnDesign/panel/TaskPanel.vue | 90 ++++++++++++++++--- src/components/RoleSelect/index.vue | 6 +- src/components/UserSelect/index.vue | 6 +- src/types/bpmn/design.d.ts | 6 +- vite.config.ts | 3 + 6 files changed, 99 insertions(+), 18 deletions(-) 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 @@