jeecgBootUniapp/src/api/process/index.ts

69 lines
1.3 KiB
Vue
Raw Normal View History

2025-05-16 07:04:50 +00:00
import { http } from '@/utils/http';
2025-05-16 08:03:56 +00:00
/*我的任务列表*/
export function taskListApi(config : Object) {
2025-05-16 07:04:50 +00:00
return http({
url: '/act/task/list',
method: 'GET',
data: config
})
}
2025-05-16 08:03:56 +00:00
/*历史任务列表*/
export function taskHistoryListApi(config : Object) {
2025-05-16 07:04:50 +00:00
return http({
url: '/act/task/taskHistoryList',
method: 'GET',
data: config
})
}
2025-05-16 08:03:56 +00:00
/*签收*/
export function claim(config : Object) {
2025-05-16 07:04:50 +00:00
return http({
url: '/act/task/claim',
method: 'PUT',
data: config
})
2025-05-16 08:04:30 +00:00
}
2025-05-16 08:03:56 +00:00
/*发起流程*/
export function startMutilProcessApi(config : Object) { // 发起流程
return http({
url: '/process/extActProcess/startMutilProcess',
method: 'POST',
data: config
})
}
2025-05-16 08:04:30 +00:00
export function getProcessNodeInfo(config : Object) { // 获取节点信息
return http({
url: '/process/extActProcessNode/getProcessNodeInfo',
method: 'GET',
data: config
})
}
export function getHisProcessNodeInfo(config : Object) { // 获取历史节点信息
return http({
url: '/process/extActProcessNode/getHisProcessNodeInfo',
method: 'GET',
data: config
})
}
2025-05-19 02:13:01 +00:00
export function getNodePositionInfo(config : Object) {
return http({
url: '/act/task/getNodePositionInfo',
method: 'GET',
data: config
})
}
export function getHisInfo(config : Object) {
return http({
url: '/act/task/processHistoryList',
method: 'GET',
data: config
})
}