From d26bd861fd069e46695458892f9eedbdc90e2c66 Mon Sep 17 00:00:00 2001 From: zyh <2066096076@qq.com> Date: Mon, 14 Jul 2025 16:40:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=B9=84=EF=BC=8C=E5=8E=BB=E5=8A=BF?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=8C=E6=96=B0=E5=A2=9E=E7=BE=8A=E5=8F=AA?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage_sheep/trans_group/trans_group.js | 8 ++ src/api/produce/other/fixHoof/fixHoof.js | 46 +------ .../produce/manage_sheep/add_sheep/index.vue | 39 ++++-- .../manage_sheep/trans_group/index.vue | 51 +++++-- src/views/produce/other/fixHoof/index.vue | 128 ++++++++---------- 5 files changed, 128 insertions(+), 144 deletions(-) diff --git a/src/api/produce/manage_sheep/trans_group/trans_group.js b/src/api/produce/manage_sheep/trans_group/trans_group.js index 9e174a5..e29e992 100644 --- a/src/api/produce/manage_sheep/trans_group/trans_group.js +++ b/src/api/produce/manage_sheep/trans_group/trans_group.js @@ -42,3 +42,11 @@ export function delTrans_group(id) { method: 'delete' }) } + +// 获取羊舍列表 +export function listSheepfold() { + return request({ + url: '/produce/sheepfold/list', + method: 'get', + }); +} diff --git a/src/api/produce/other/fixHoof/fixHoof.js b/src/api/produce/other/fixHoof/fixHoof.js index 6512d2a..ed0a56c 100644 --- a/src/api/produce/other/fixHoof/fixHoof.js +++ b/src/api/produce/other/fixHoof/fixHoof.js @@ -1,48 +1,4 @@ -// import request from '@/utils/request' -// // 查询修蹄列表 -// export function listFixHoof(query) { -// return request({ -// url: '/produce/other/fixHoof/list', -// method: 'get', -// params: query -// }) -// } - -// // 查询修蹄详细 -// export function getFixHoof(id) { -// return request({ -// url: '/produce/other/fixHoof' + id, -// method: 'get' -// }) -// } - -// // 新增修蹄 -// export function addFixHoof(data) { -// return request({ -// url: '/produce/other/fixHoof', -// method: 'post', -// data: data -// }) -// } - -// // 修改修蹄 -// export function updateFixHoof(data) { -// return request({ -// url: '/produce/other/fixHoof/', -// method: 'put', -// data: data -// }) -// } - -// // 删除修蹄 -// export function delFixHoof(id) { -// return request({ -// url: '/produce/other/fixHoof/' + id, -// method: 'delete' -// }) -// } -// fixHoof.js import request from '@/utils/request' // 查询修蹄列表 export function listFixHoof(query) { @@ -55,7 +11,7 @@ export function listFixHoof(query) { // 查询修蹄详细 export function getFixHoof(id) { return request({ - url: '/produce/other/fixHoof/${id}', + url: `/produce/other/fixHoof/${id}`, method: 'get' }) } diff --git a/src/views/produce/manage_sheep/add_sheep/index.vue b/src/views/produce/manage_sheep/add_sheep/index.vue index b9797f1..9ac7adf 100644 --- a/src/views/produce/manage_sheep/add_sheep/index.vue +++ b/src/views/produce/manage_sheep/add_sheep/index.vue @@ -1,18 +1,20 @@