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'
- })
- }
|