jeecgBootUniapp/src/api/process/index.ts

50 lines
1011 B
Vue
Raw Normal View History

2025-05-16 07:04:50 +00:00
import { http } from '@/utils/http';
export function getListApi(orgCode : string) {
return http({
url: '/sjgl.scnr/cxcSjSc/queryTreeData',
method: 'GET',
data: { orgCode }
})
}
export function taskListApi(config : Object) { // 我的任务列表
return http({
url: '/act/task/list',
method: 'GET',
data: config
})
}
export function taskHistoryListApi(config : Object) { // 我的历史任务列表
return http({
url: '/act/task/taskHistoryList',
method: 'GET',
data: config
})
}
export function claim(config : Object) {
return http({
url: '/act/task/claim',
method: 'PUT',
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
})
}