fix : 修复分摊汇总及编辑功能
This commit is contained in:
@@ -41,7 +41,7 @@ export const getProjectOption = () => {
|
||||
export const getAllocationCollect = (allocationId) => {
|
||||
return request({
|
||||
url: '/workflow/mosr/cost/allocation/collect',
|
||||
method: "get",
|
||||
method: "post",
|
||||
params:{
|
||||
allocationId:allocationId
|
||||
}
|
||||
@@ -54,3 +54,9 @@ export const editAllocation = (data) => {
|
||||
data
|
||||
});
|
||||
};
|
||||
export const deleteAllocation = (id) => {
|
||||
return request({
|
||||
url: `/workflow/mosr/cost/allocation/${id}`,
|
||||
method: "delete"
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user