diff --git a/src/api/bpm/task/index.ts b/src/api/bpm/task/index.ts index a818ae5aa..713400fc4 100644 --- a/src/api/bpm/task/index.ts +++ b/src/api/bpm/task/index.ts @@ -106,6 +106,11 @@ export const copyTask = async (data: any) => { return await request.put({ url: '/bpm/task/copy', data }) } +// 撤回 +export const withdrawTask = async (taskId: string) => { + return await request.put({ url: '/bpm/task/withdraw', params: { taskId } }) +} + // 获取我的待办任务 export const myTodoTask = async (processInstanceId: string) => { return await request.get({ url: '/bpm/task/my-todo?processInstanceId=' + processInstanceId }) diff --git a/src/api/system/mail/log/index.ts b/src/api/system/mail/log/index.ts index d891db07c..409ced631 100644 --- a/src/api/system/mail/log/index.ts +++ b/src/api/system/mail/log/index.ts @@ -4,7 +4,9 @@ export interface MailLogVO { id: number userId: number userType: number - toMail: string + toMails: string[] + ccMails?: string[] + bccMails?: string[] accountId: number fromMail: string templateId: number diff --git a/src/api/system/mail/template/index.ts b/src/api/system/mail/template/index.ts index c6dae688a..6e1d083f2 100644 --- a/src/api/system/mail/template/index.ts +++ b/src/api/system/mail/template/index.ts @@ -14,7 +14,9 @@ export interface MailTemplateVO { } export interface MailSendReqVO { - mail: string + toMails: string[] + ccMails?: string[] + bccMails?: string[] templateCode: string templateParams: Map } @@ -46,7 +48,10 @@ export const deleteMailTemplate = async (id: number) => { // 批量删除邮件模版 export const deleteMailTemplateList = async (ids: number[]) => { - return await request.delete({ url: '/system/mail-template/delete-list', params: { ids: ids.join(',') } }) + return await request.delete({ + url: '/system/mail-template/delete-list', + params: { ids: ids.join(',') } + }) } // 发送邮件 diff --git a/src/components/DiyEditor/components/ComponentLibrary.vue b/src/components/DiyEditor/components/ComponentLibrary.vue index fdb0b1de3..06f231285 100644 --- a/src/components/DiyEditor/components/ComponentLibrary.vue +++ b/src/components/DiyEditor/components/ComponentLibrary.vue @@ -17,7 +17,7 @@ :group="{ name: 'component', pull: 'clone', put: false }" :clone="handleCloneComponent" :animation="200" - :force-fallback="true" + :force-fallback="false" >