Skip to content

Commit 842fe09

Browse files
committed
【功能修改】 新审批页面增加减签
1 parent 6b06f32 commit 842fe09

File tree

6 files changed

+203
-163
lines changed

6 files changed

+203
-163
lines changed

src/api/bpm/task/index.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ export enum TaskStatusEnum {
99
*/
1010
NOT_START = -1,
1111

12-
/**
12+
/**
1313
* 待审批
1414
*/
15-
WAIT = 0,
15+
WAIT = 0,
1616
/**
1717
* 审批中
1818
*/
@@ -26,7 +26,7 @@ export enum TaskStatusEnum {
2626
* 审批不通过
2727
*/
2828
REJECT = 3,
29-
29+
3030
/**
3131
* 已取消
3232
*/
@@ -42,8 +42,7 @@ export enum TaskStatusEnum {
4242
/**
4343
* 审批通过中
4444
*/
45-
APPROVING = 7,
46-
45+
APPROVING = 7
4746
}
4847

4948
export type TaskVO = {
@@ -111,6 +110,11 @@ export const copyTask = async (data: any) => {
111110
return await request.put({ url: '/bpm/task/copy', data })
112111
}
113112

113+
// 获取我的待办任务
114+
export const myTodoTask = async (processInstanceId: string) => {
115+
return await request.get({ url: '/bpm/task/my-todo?processInstanceId=' + processInstanceId })
116+
}
117+
114118
// 获取减签任务列表
115119
export const getChildrenTaskList = async (id: string) => {
116120
return await request.get({ url: '/bpm/task/list-by-parent-task-id?parentTaskId=' + id })

src/assets/svgs/bpm/audit4.svg

Lines changed: 1 addition & 0 deletions
Loading

src/router/modules/remaining.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ const remainingRouter: AppRouteRecordRaw[] = [
292292
},
293293
{
294294
path: 'process-instance/detail',
295-
// component: () => import('@/views/bpm/processInstance/detail/index_new.vue'),
296-
component: () => import('@/views/bpm/processInstance/detail/index.vue'),
295+
component: () => import('@/views/bpm/processInstance/detail/index_new.vue'),
296+
//component: () => import('@/views/bpm/processInstance/detail/index.vue'),
297297
name: 'BpmProcessInstanceDetail',
298298
meta: {
299299
noCache: true,

0 commit comments

Comments
 (0)