2022-03-10 14:24:13 +08:00
|
|
|
import request from '@/utils/request';
|
|
|
|
/**
|
|
|
|
* 查询评审室状态
|
|
|
|
* @param id
|
|
|
|
*/
|
2022-06-20 14:35:50 +08:00
|
|
|
export function getAssessRoom(id: any) {
|
|
|
|
return request('/api/biz-service-ebtp-process/v1/bizassessroom/info/' + id, {
|
|
|
|
method: 'get',
|
|
|
|
});
|
2022-03-10 14:24:13 +08:00
|
|
|
}
|
|
|
|
|
2022-06-20 14:35:50 +08:00
|
|
|
export async function getConfigList(assessRoomId: any) { // 列表
|
|
|
|
return request('/api/biz-service-ebtp-process/v1/flow/query/config/' + assessRoomId, {
|
2022-03-10 14:24:13 +08:00
|
|
|
method: 'get',
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2022-06-20 14:35:50 +08:00
|
|
|
export async function getMaxTurn(assessRoomId: any) { // 列表
|
|
|
|
return request('/api/biz-service-ebtp-process/v1/flow/' + assessRoomId, {
|
2022-03-10 14:24:13 +08:00
|
|
|
method: 'get',
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2022-06-20 14:35:50 +08:00
|
|
|
export async function getNodeList(type: any) { // 列表
|
|
|
|
return request('/api/biz-service-ebtp-process/v1/flow/query/node/' + type, {
|
2022-03-10 14:24:13 +08:00
|
|
|
method: 'get',
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2022-06-20 14:35:50 +08:00
|
|
|
export async function deleteTurn(turnId: any) { // 列表
|
|
|
|
return request('/api/biz-service-ebtp-process/v1/flow/deleteTurn/' + turnId, {
|
|
|
|
method: 'POST',
|
2022-03-10 14:24:13 +08:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2022-06-20 14:35:50 +08:00
|
|
|
export async function deleteNode(nodeId: any) { // 列表
|
|
|
|
return request('/api/biz-service-ebtp-process/v1/flow/deleteNode/' + nodeId, {
|
|
|
|
method: 'POST',
|
2022-03-10 14:24:13 +08:00
|
|
|
});
|
|
|
|
}
|
2022-06-20 14:35:50 +08:00
|
|
|
export async function addTurn(params?: any) {
|
2022-03-10 14:24:13 +08:00
|
|
|
return request('/api/biz-service-ebtp-process/v1/flow/addTurn', {
|
|
|
|
method: 'POST',
|
|
|
|
data: {
|
|
|
|
...params
|
|
|
|
},
|
|
|
|
});
|
|
|
|
}
|
|
|
|
export async function addNode(params: any) {
|
2022-06-20 14:35:50 +08:00
|
|
|
return request("/api/biz-service-ebtp-process/v1/flow/addNode", {
|
|
|
|
method: 'POST',
|
|
|
|
data: params
|
2022-03-10 14:24:13 +08:00
|
|
|
})
|
|
|
|
}
|