修改分组管理页面,新增羊只分组页面

This commit is contained in:
wyt
2025-07-16 18:24:18 +08:00
parent f64c59b2d5
commit 5f1a969db8
3 changed files with 337 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询羊只分组关联列表
export function listSheep_grouping(query) {
return request({
url: '/sheep_grouping/sheep_grouping/list',
method: 'get',
params: query
})
}
// 查询羊只分组关联详细
export function getSheep_grouping(id) {
return request({
url: '/sheep_grouping/sheep_grouping/' + id,
method: 'get'
})
}
// 新增羊只分组关联
export function addSheep_grouping(data) {
return request({
url: '/sheep_grouping/sheep_grouping',
method: 'post',
data: data
})
}
// 修改羊只分组关联
export function updateSheep_grouping(data) {
return request({
url: '/sheep_grouping/sheep_grouping',
method: 'put',
data: data
})
}
// 删除羊只分组关联
export function delSheep_grouping(id) {
return request({
url: '/sheep_grouping/sheep_grouping/' + id,
method: 'delete'
})
}