
# Conflicts: # src/api/process/index.ts # src/pages/process/approvalTabbar.vue # src/pages/process/taskHandle.vue
54 lines
1.0 KiB
Vue
54 lines
1.0 KiB
Vue
import { http } from '@/utils/http';
|
|
|
|
/*我的任务列表*/
|
|
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
|
|
})
|
|
}
|
|
|
|
/*发起流程*/
|
|
export function startMutilProcessApi(config : Object) { // 发起流程
|
|
return http({
|
|
url: '/process/extActProcess/startMutilProcess',
|
|
method: 'POST',
|
|
data: config
|
|
})
|
|
}
|
|
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
|
|
})
|
|
}
|
|
|