新增羊只,转场,转群,改耳号,改品种,改备注,体尺测量,体况评分,乳况评分,修蹄,去势初版
This commit is contained in:
44
src/api/produce/bodyManage/body_score.js
Normal file
44
src/api/produce/bodyManage/body_score.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询体况评分列表
|
||||
export function listBody_score(query) {
|
||||
return request({
|
||||
url: '/body_score/body_score/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询体况评分详细
|
||||
export function getBody_score(id) {
|
||||
return request({
|
||||
url: '/body_score/body_score/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增体况评分
|
||||
export function addBody_score(data) {
|
||||
return request({
|
||||
url: '/body_score/body_score',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改体况评分
|
||||
export function updateBody_score(data) {
|
||||
return request({
|
||||
url: '/body_score/body_score',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除体况评分
|
||||
export function delBody_score(id) {
|
||||
return request({
|
||||
url: '/body_score/body_score/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user