diff --git a/api/animal.js b/api/animal.js index 6655a2d..0f56c4c 100644 --- a/api/animal.js +++ b/api/animal.js @@ -17,4 +17,9 @@ export const animalPicListAPI = (data) => syhttp.get('/AnimalBreed/animalPicList // 上传动物图片 export const addAnimalPicAPI = (data) => syhttp.post('/AnimalBreed/addAnimalPic', data) // 更新动物饲养状态 -export const animalStatusAPI = (data) => syhttp.post('/AnimalBreed/animalStatus', data) \ No newline at end of file +export const animalStatusAPI = (data) => syhttp.post('/AnimalBreed/animalStatus', data) +// 动物历史养殖记录列表 +export const animalChangeListAPI = (data) => syhttp.get('/AnimalBreed/animalChangeList', data) +// 标记为出栏 +// +export const animalSellAPI = (data) => syhttp.post('/AnimalBreed/animalSell', data) \ No newline at end of file diff --git a/api/chick.js b/api/chick.js index 34634a0..a723da0 100644 --- a/api/chick.js +++ b/api/chick.js @@ -11,7 +11,7 @@ export const addAnimalAPI = (data) => syhttp.post('/PoultryBreed/addPoultry', da // 操作列表 export const actionsAPI = (data) => syhttp.get('/user/actions', data) // 操作列表 -export const animalInfoAPI = (data) => syhttp.get('/AnimalBreed/animalInfo', data) +export const animalInfoAPI = (data) => syhttp.get('/PoultryBreed/poultryInfo', data) // 图片列表 export const animalPicListAPI = (data) => syhttp.get('/PoultryBreed/poultryPicList', data) // 上传动物图片 diff --git a/components/animal/detailCard.vue b/components/animal/detailCard.vue new file mode 100644 index 0000000..fd8b413 --- /dev/null +++ b/components/animal/detailCard.vue @@ -0,0 +1,184 @@ + + + + + \ No newline at end of file diff --git a/components/animal/farmersCard.vue b/components/animal/farmersCard.vue new file mode 100644 index 0000000..712b88a --- /dev/null +++ b/components/animal/farmersCard.vue @@ -0,0 +1,79 @@ + + + + + \ No newline at end of file diff --git a/components/aquatic/pondCard.vue b/components/aquatic/pondCard.vue new file mode 100644 index 0000000..75614ba --- /dev/null +++ b/components/aquatic/pondCard.vue @@ -0,0 +1,114 @@ + + + + + \ No newline at end of file diff --git a/components/index/chick.vue b/components/index/chick.vue index 7d2c187..e4d0f0a 100644 --- a/components/index/chick.vue +++ b/components/index/chick.vue @@ -1,6 +1,6 @@