xnzt/xnzt-h5/api/enterprise/landManagement.js
2024-11-11 10:27:27 +08:00

45 lines
838 B
JavaScript

import request from '@/utils/request'
// 查询土地经营情况列表
export function listLandManagement(query) {
return request({
url: '/landManagement/list',
method: 'get',
params: query
})
}
// 查询土地经营情况详细
export function getLandManagement(id) {
return request({
url: '/landManagement/' + id,
method: 'get'
})
}
// 新增土地经营情况
export function addLandManagement(data) {
return request({
url: '/landManagement',
method: 'post',
data: data
})
}
// 修改土地经营情况
export function updateLandManagement(data) {
return request({
url: '/landManagement',
method: 'put',
data: data
})
}
// 删除土地经营情况
export function delLandManagement(id) {
return request({
url: '/landManagement/' + id,
method: 'delete'
})
}