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

(cherry picked from commit c1e760da6d)
This commit is contained in:
Chika 2023-04-04 09:29:54 +08:00 committed by shizhong
parent 522bf82d0e
commit 8be4f31a1b

View File

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