流程-已办任务路由中增加详情Model

pull/90/head
Chika 2023-04-04 09:29:54 +08:00
parent 900b51db86
commit c1e760da6d
1 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,9 @@
import request from '@/config/axios'
export type TaskVO = {
id: number
}
export const getTodoTaskPage = async (params) => {
return await request.get({ url: '/bpm/task/todo-page', params })
}
@ -32,3 +36,8 @@ export const getTaskListByProcessInstanceId = async (processInstanceId) => {
url: '/bpm/task/list-by-process-instance-id?processInstanceId=' + processInstanceId
})
}
// 导出任务
export const exportTask = async (params) => {
return await request.download({ url: '/bpm/task/export', params })
}