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