54 lines
1.4 KiB
TypeScript
54 lines
1.4 KiB
TypeScript
![]() |
import request from '@/utils/request';
|
||
|
/**
|
||
|
* 查询评审室状态
|
||
|
* @param id
|
||
|
*/
|
||
|
export function getAssessRoom(id:any) {
|
||
|
return request('/api/biz-service-ebtp-process/v1/bizassessroom/info/' + id, {
|
||
|
method: 'get',
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export async function getConfigList(assessRoomId : any) { // 列表
|
||
|
return request('/api/biz-service-ebtp-process/v1/flow/query/config/' + assessRoomId , {
|
||
|
method: 'get',
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export async function getMaxTurn(assessRoomId : any) { // 列表
|
||
|
return request('/api/biz-service-ebtp-process/v1/flow/' + assessRoomId , {
|
||
|
method: 'get',
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export async function getNodeList(type : any) { // 列表
|
||
|
return request('/api/biz-service-ebtp-process/v1/flow/query/node/' + type , {
|
||
|
method: 'get',
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export async function deleteTurn(turnId : any) { // 列表
|
||
|
return request('/api/biz-service-ebtp-process/v1/flow/deleteTurn/' + turnId , {
|
||
|
method: 'DELETE',
|
||
|
});
|
||
|
}
|
||
|
|
||
|
export async function deleteNode(nodeId : any) { // 列表
|
||
|
return request('/api/biz-service-ebtp-process/v1/flow/deleteNode/' + nodeId , {
|
||
|
method: 'DELETE',
|
||
|
});
|
||
|
}
|
||
|
export async function addTurn(params?:any) {
|
||
|
return request('/api/biz-service-ebtp-process/v1/flow/addTurn', {
|
||
|
method: 'POST',
|
||
|
data: {
|
||
|
...params
|
||
|
},
|
||
|
});
|
||
|
}
|
||
|
export async function addNode(params: any) {
|
||
|
return request("/api/biz-service-ebtp-process/v1/flow/addNode",{
|
||
|
method: 'POST',
|
||
|
data:params
|
||
|
})
|
||
|
}
|