animal_protection_allocation.js
993 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import request from '@/utils/request'
// 查询动保调拨列表
export function listAnimal_protection_allocation(query) {
return request({
url: '/admin/db/animal_protection_allocation/list',
method: 'get',
params: query
})
}
// 查询动保调拨详细
export function getAnimal_protection_allocation(id) {
return request({
url: '/admin/db/animal_protection_allocation/' + id,
method: 'get'
})
}
// 新增动保调拨
export function addAnimal_protection_allocation(data) {
return request({
url: '/admin/db/animal_protection_allocation',
method: 'post',
data: data
})
}
// 修改动保调拨
export function updateAnimal_protection_allocation(data) {
return request({
url: '/admin/db/animal_protection_allocation',
method: 'put',
data: data
})
}
// 删除动保调拨
export function delAnimal_protection_allocation(id) {
return request({
url: '/admin/db/animal_protection_allocation/' + id,
method: 'delete'
})
}