feat(views) 饲喂量统计

添加了饲喂量统计功能
完善了其他两个页面的若干逻辑错误
This commit is contained in:
2025-08-24 23:36:58 +08:00
parent 7b4518b9ee
commit e7a0c1d274
4 changed files with 681 additions and 2 deletions

View File

@@ -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
})
}