羊群结构页面实现

This commit is contained in:
wyt
2025-07-24 16:56:23 +08:00
parent 8f86b99c7e
commit 923f336a92
2 changed files with 194 additions and 0 deletions

View File

@@ -25,3 +25,25 @@ export function delSheep_file(id) {
method: 'delete'
})
}
// 在群总数
export const getInGroupCount = () =>
request({ url: '/sheep_file/sheep_file/stat/inGroupCount', method: 'get' })
export function getSheepTypeStat() {
return request({ url: '/sheep_file/sheep_file/stat/sheepType', method: 'get' })
}
export function getBreedStatusStat() {
return request({ url: '/sheep_file/sheep_file/stat/breedStatus', method: 'get' })
}
export function getVarietyStat() {
return request({ url: '/sheep_file/sheep_file/stat/variety', method: 'get' })
}
export function getLactationParityStat() {
return request({ url: '/sheep_file/sheep_file/stat/lactationParity', method: 'get' })
}