Skip to content

Commit c1e760d

Browse files
committed
流程-已办任务路由中增加详情Model
1 parent 900b51d commit c1e760d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/api/bpm/task/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import request from '@/config/axios'
22

3+
export type TaskVO = {
4+
id: number
5+
}
6+
37
export const getTodoTaskPage = async (params) => {
48
return await request.get({ url: '/bpm/task/todo-page', params })
59
}
@@ -32,3 +36,8 @@ export const getTaskListByProcessInstanceId = async (processInstanceId) => {
3236
url: '/bpm/task/list-by-process-instance-id?processInstanceId=' + processInstanceId
3337
})
3438
}
39+
40+
// 导出任务
41+
export const exportTask = async (params) => {
42+
return await request.download({ url: '/bpm/task/export', params })
43+
}

0 commit comments

Comments
 (0)