29 lines
657 B
JavaScript
29 lines
657 B
JavaScript
import request from '@/utils/request.js'
|
|
|
|
export const addAllocation = (data) => {
|
|
return request({
|
|
url:'/workflow/mosr/cost/allocation',
|
|
method: "post",
|
|
data
|
|
});
|
|
};
|
|
export const getAllocationDetail = (allocationId) => {
|
|
return request({
|
|
url: `/workflow/mosr/cost/allocation/info/${allocationId}`,
|
|
method: "get"
|
|
});
|
|
};
|
|
export const getAllocationProcess = () => {
|
|
return request({
|
|
url: '/workflow/mosr/cost/allocation/process',
|
|
method: "get"
|
|
});
|
|
};
|
|
export const getAllocationDetailList = (params) => {
|
|
return request({
|
|
url: '/workflow/mosr/cost/allocation/process',
|
|
method: "get",
|
|
params:params
|
|
});
|
|
};
|