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/usr', method: "get", params:params }); }; export const getResearchUser = () => { return request({ url: '/admin/mosr/user/research', method: "get" }); }; export const getProjectOption = () => { return request({ url: '/workflow/mosr/project/implementation/in/implementation/option', method: "get" }); }; export const getAllocationCollect = (allocationId) => { return request({ url: '/workflow/mosr/cost/allocation/collect', method: "get", params:{ allocationId:allocationId } }); }; export const editAllocation = (data) => { return request({ url: '/workflow/mosr/cost/allocation/edit', method: "post", data }); };