3.10 工程代码同步master
This commit is contained in:
54
src/pages/Evaluation/projectManager/FlowConfig/service.ts
Normal file
54
src/pages/Evaluation/projectManager/FlowConfig/service.ts
Normal file
@ -0,0 +1,54 @@
|
||||
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
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user