From e7a0c1d274be38d17f40dac3c4f00072298835ee Mon Sep 17 00:00:00 2001 From: HashMap Date: Sun, 24 Aug 2025 23:36:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(views)=20=E9=A5=B2=E5=96=82=E9=87=8F?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=20=E6=B7=BB=E5=8A=A0=E4=BA=86=E9=A5=B2?= =?UTF-8?q?=E5=96=82=E9=87=8F=E7=BB=9F=E8=AE=A1=E5=8A=9F=E8=83=BD=20?= =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BA=86=E5=85=B6=E4=BB=96=E4=B8=A4=E4=B8=AA?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=9A=84=E8=8B=A5=E5=B9=B2=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/feed/FeedStatistic.js | 53 +++ src/views/feed/FeedList/index.vue | 8 +- src/views/feed/FeedPlan/index.vue | 3 +- src/views/feed/FeedStatistic/index.vue | 619 +++++++++++++++++++++++++ 4 files changed, 681 insertions(+), 2 deletions(-) create mode 100644 src/api/feed/FeedStatistic.js create mode 100644 src/views/feed/FeedStatistic/index.vue diff --git a/src/api/feed/FeedStatistic.js b/src/api/feed/FeedStatistic.js new file mode 100644 index 0000000..9ba9f49 --- /dev/null +++ b/src/api/feed/FeedStatistic.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询饲喂量统计列表 +export function listFeedStatistic(query) { + return request({ + url: '/feed/FeedStatistic/list', + method: 'get', + params: query + }) +} + +// 查询饲喂量统计详细 +export function getFeedStatistic(id) { + return request({ + url: '/feed/FeedStatistic/' + id, + method: 'get' + }) +} + +// 新增饲喂量统计 +export function addFeedStatistic(data) { + return request({ + url: '/feed/FeedStatistic', + method: 'post', + data: data + }) +} + +// 修改饲喂量统计 +export function updateFeedStatistic(data) { + return request({ + url: '/feed/FeedStatistic', + method: 'put', + data: data + }) +} + +// 删除饲喂量统计 +export function delFeedStatistic(id) { + return request({ + url: '/feed/FeedStatistic/' + id, + method: 'delete' + }) +} + +// 查询饲喂量统计列表 +export function initFeedStatistic(query) { + return request({ + url: '/feed/FeedStatistic/init', + method: 'get', + params: query + }) +} diff --git a/src/views/feed/FeedList/index.vue b/src/views/feed/FeedList/index.vue index 5b1f464..0af5624 100644 --- a/src/views/feed/FeedList/index.vue +++ b/src/views/feed/FeedList/index.vue @@ -43,6 +43,12 @@ + + +