1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- import request from '@/utils/request'
- export function listAllocation(query) {
- return request({
- url: '/ams/allocation/list',
- method: 'get',
- params: query
- })
- }
- export function getAllocation(allocationId) {
- return request({
- url: '/ams/allocation/' + allocationId,
- method: 'get'
- })
- }
- export function addAllocation(data) {
- return request({
- url: '/ams/allocation',
- method: 'post',
- data: data
- })
- }
- export function updateAllocation(data) {
- return request({
- url: '/ams/allocation',
- method: 'put',
- data: data
- })
- }
- export function delAllocation(allocationId) {
- return request({
- url: '/ams/allocation/' + allocationId,
- method: 'delete'
- })
- }
|