From c007d5392692b68a7e9305fb2d80089d64f713db Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Thu, 26 Oct 2023 20:18:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/chick.js | 7 ++++- pages/feedIng/SingleDetail.vue | 13 +++++++-- pages/feedIng/feedDetail.vue | 1 - pages/feedIng/feedList.vue | 3 +- pages/feedIng/histroyFeed.vue | 19 ++++++++----- pages/poultry/SingleDetail.vue | 14 ++++++++-- pages/poultry/feedDetail.vue | 51 ++++++++++++++++++++++------------ pages/poultry/feedList.vue | 23 +++++++-------- pages/poultry/histroyFeed.vue | 26 ++++++++++------- 9 files changed, 105 insertions(+), 52 deletions(-) diff --git a/api/chick.js b/api/chick.js index 867f9dd..34634a0 100644 --- a/api/chick.js +++ b/api/chick.js @@ -15,4 +15,9 @@ export const animalInfoAPI = (data) => syhttp.get('/AnimalBreed/animalInfo', dat // 图片列表 export const animalPicListAPI = (data) => syhttp.get('/PoultryBreed/poultryPicList', data) // 上传动物图片 -export const addAnimalPicAPI = (data) => syhttp.post('/PoultryBreed/addPoultryPic', data) \ No newline at end of file +export const addAnimalPicAPI = (data) => syhttp.post('/PoultryBreed/addPoultryPic', data) +// 家禽详情 +export const poultryInfoAPI = (data) => syhttp.get('/PoultryBreed/poultryInfo', data) +// 更新状态 +export const poultryStatusAPI = (data) => syhttp.post('/PoultryBreed/poultryStatus', data) +// /api/PoultryBreed/poultryPicList \ No newline at end of file diff --git a/pages/feedIng/SingleDetail.vue b/pages/feedIng/SingleDetail.vue index b5abbc5..5808bcc 100644 --- a/pages/feedIng/SingleDetail.vue +++ b/pages/feedIng/SingleDetail.vue @@ -7,7 +7,7 @@ 刷新时间:{{dateFn()}} - + 查看历史条件 @@ -67,6 +67,12 @@