Skip to content

Commit 4342c3e

Browse files
committed
【功能修改】 新审批界面气泡卡按钮功能
1 parent a4a4dcd commit 4342c3e

File tree

5 files changed

+449
-125
lines changed

5 files changed

+449
-125
lines changed

src/api/bpm/task/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ export const signDeleteTask = async (data: any) => {
106106
return await request.delete({ url: '/bpm/task/delete-sign', data })
107107
}
108108

109+
// 抄送
110+
export const copyTask = async (data: any) => {
111+
return await request.put({ url: '/bpm/task/copy', data })
112+
}
113+
109114
// 获取减签任务列表
110115
export const getChildrenTaskList = async (id: string) => {
111116
return await request.get({ url: '/bpm/task/list-by-parent-task-id?parentTaskId=' + id })

src/components/SimpleProcessDesignerV2/src/consts.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,11 @@ export enum OperationButtonType {
362362
/**
363363
* 回退
364364
*/
365-
RETURN = 6
365+
RETURN = 6,
366+
/**
367+
* 抄送
368+
*/
369+
COPY = 7
366370
}
367371

368372
/**
@@ -504,6 +508,7 @@ OPERATION_BUTTON_NAME.set(OperationButtonType.TRANSFER, '转办')
504508
OPERATION_BUTTON_NAME.set(OperationButtonType.DELEGATE, '委派')
505509
OPERATION_BUTTON_NAME.set(OperationButtonType.ADD_SIGN, '加签')
506510
OPERATION_BUTTON_NAME.set(OperationButtonType.RETURN, '回退')
511+
OPERATION_BUTTON_NAME.set(OperationButtonType.COPY, '抄送')
507512

508513
// 默认的按钮权限设置
509514
export const DEFAULT_BUTTON_SETTING: ButtonSetting[] = [

0 commit comments

Comments
 (0)