fix : 修复分摊汇总及编辑功能

This commit is contained in:
2024-06-06 13:36:07 +08:00
parent 18806f13e4
commit 53ecadf315
6 changed files with 162 additions and 79 deletions

View File

@@ -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"
});
};