From 923f336a92a5d1ac3265a21d913d7b64af283206 Mon Sep 17 00:00:00 2001 From: wyt <414651037@qq.com> Date: Thu, 24 Jul 2025 16:56:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=8A=E7=BE=A4=E7=BB=93=E6=9E=84=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/fileManagement/sheep_file.js | 22 +++ .../fileManagement/sheep_structure/index.vue | 172 ++++++++++++++++++ 2 files changed, 194 insertions(+) create mode 100644 src/views/fileManagement/sheep_structure/index.vue diff --git a/src/api/fileManagement/sheep_file.js b/src/api/fileManagement/sheep_file.js index 892580a..c0bb7f1 100644 --- a/src/api/fileManagement/sheep_file.js +++ b/src/api/fileManagement/sheep_file.js @@ -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' }) +} diff --git a/src/views/fileManagement/sheep_structure/index.vue b/src/views/fileManagement/sheep_structure/index.vue new file mode 100644 index 0000000..bb72b4d --- /dev/null +++ b/src/views/fileManagement/sheep_structure/index.vue @@ -0,0 +1,172 @@ + + + + + \ No newline at end of file