From 1e157c58bcdb21598bf90bda6bd3100a7d248563 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Tue, 30 Jan 2024 18:31:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/dict.js | 3 + api/manage.js | 31 +++++++ components/plant/breedInfo.vue | 38 +++++--- config/app.js | 2 +- pages/feed/sterilize.vue | 29 +++--- pages/feedDetail/expellingDetail.vue | 39 ++++---- pages/feedDetail/feedDetail.vue | 55 +++++++---- pages/jump/addJump.vue | 109 ++++++++++++---------- pages/jump/jump.vue | 80 +++++++++++++--- pages/jump/jumpDetail.vue | 31 ++++--- pages/leave/addLeave.vue | 102 +++++++++++++-------- pages/leave/leave.vue | 95 ++++++++++++++++--- pages/leave/leaveDetail.vue | 37 ++++---- pages/plantAdmin/breedDetail.vue | 131 ++++++++++++++------------- pages/plantAdmin/house.vue | 4 +- pages/plantAdmin/houseDetail.vue | 81 +++++++++++------ pages/plantAdmin/moreBreed.vue | 81 ++++++++++++----- pages/plantAdmin/moreFeed.vue | 126 +++++++++++++++++++++----- pages/record/record.vue | 110 +++++++++++++++++----- 19 files changed, 815 insertions(+), 369 deletions(-) diff --git a/api/dict.js b/api/dict.js index aca8587..5d74a78 100644 --- a/api/dict.js +++ b/api/dict.js @@ -18,3 +18,6 @@ export const animalTypeLists = () => syhttp.get('/common/dict_data_lists_by_type //饲料类型 export const feedingTypeLists = () => syhttp.get('/common/dict_data_lists_by_type_value', {type_value: 'feeding_type'}); +//离栏类型 +export const leaveFenceHouseTypeLists = () => syhttp.get('/common/dict_data_lists_by_type_value', {type_value: 'leave_fence_house_type'}); + diff --git a/api/manage.js b/api/manage.js index 6bee9d2..b13d6d2 100644 --- a/api/manage.js +++ b/api/manage.js @@ -14,6 +14,9 @@ export const fenceHouseDetail = (data) => syhttp.get('/fence_house/detail', data //新增养殖 export const animalInfoAdd = (data) => syhttp.post('/animal_info/add', data); +//养殖详情 +export const animalInfoDetail = (data) => syhttp.get('/animal_info/detail', data); + //新增驱虫 export const dewormingLogAdd = (data) => syhttp.post('/suyuan_operation.operation_deworming_log/add', data); @@ -29,8 +32,36 @@ export const waterLogAdd = (data) => syhttp.post('/suyuan_operation.operation_wa //新增打疫苗 export const vaccinumLogAdd = (data) => syhttp.post('/suyuan_operation.operation_vaccinum_log/add', data); +//驱虫列表 +export const dewormingLogLists = (data) => syhttp.get('/suyuan_operation.operation_deworming_log/lists', data); + +//消毒列表 +export const disinfectLogLists = (data) => syhttp.get('/suyuan_operation.operation_disinfect_log/lists', data); + +//喂食列表 +export const feedingLogLists = (data) => syhttp.get('/suyuan_operation.operation_feeding_log/lists', data); + +//喂水列表 +export const waterLogLists = (data) => syhttp.get('/suyuan_operation.operation_water_log/lists', data); + +//打疫苗列表 +export const vaccinumLogLists = (data) => syhttp.get('/suyuan_operation.operation_vaccinum_log/lists', data); + //养殖列表 export const animalInfoList = (data) => syhttp.get('/animal_info/lists', data); //喂养信息列表 export const operationLogIndex = (data) => syhttp.get('/operation_log/index', data); + +//离栏登记 +export const fenceHouseLeave = (data) => syhttp.post('/fence_house/leave', data); + +//离栏信息列表 +export const fenceHouseLeaveList = (data) => syhttp.get('/fence_house/leaveList', data); + +//转栏登记 +export const fenceHouseExchange = (data) => syhttp.post('/fence_house/exchange', data); + +//转栏信息列表 +export const fenceHouseExchangeList = (data) => syhttp.get('/fence_house/exchangeList', data); + diff --git a/components/plant/breedInfo.vue b/components/plant/breedInfo.vue index e4d4cac..59b34a0 100644 --- a/components/plant/breedInfo.vue +++ b/components/plant/breedInfo.vue @@ -1,47 +1,48 @@