animal_health_protection_inventory.js
1.1 KB
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_health_protection_inventory(query) {
return request({
url: '/admin/dbkb/animal_health_protection_inventory/list',
method: 'get',
params: query
})
}
// 查询动保进出存详细
export function getAnimal_health_protection_inventory(id) {
return request({
url: '/admin/dbkb/animal_health_protection_inventory/' + id,
method: 'get'
})
}
// 新增动保进出存
export function addAnimal_health_protection_inventory(data) {
return request({
url: '/admin/dbkb/animal_health_protection_inventory',
method: 'post',
data: data
})
}
// 修改动保进出存
export function updateAnimal_health_protection_inventory(data) {
return request({
url: '/admin/dbkb/animal_health_protection_inventory',
method: 'put',
data: data
})
}
// 删除动保进出存
export function delAnimal_health_protection_inventory(id) {
return request({
url: '/admin/dbkb/animal_health_protection_inventory/' + id,
method: 'delete'
})
}