jsy-app/api/system/land.js

59 lines
921 B
JavaScript
Raw Normal View History

2024-11-20 18:20:46 +08:00
import request from '@/utils/request'
// 查询列表
export function getLandList(data) {
return request({
url: '/system/land/app/getLandList',
method: 'get',
data:data
})
}
2024-11-25 09:23:51 +08:00
// 根据用户id查询列表
export function getLandByUserId(data) {
return request({
url: '/system/land/app/getLandByUserId',
method: 'get',
data:data
})
}
2024-11-20 18:20:46 +08:00
2024-11-20 19:09:37 +08:00
//查询地块详情
export function getLandInfo(param) {
return request({
url: '/system/land/'+param,
method: 'get'
})
}
2024-11-22 11:18:50 +08:00
//查询地块编码排序
export function getLandNum() {
return request({
url: '/system/land/getLandNum',
method: 'get'
})
}
2024-11-22 10:38:49 +08:00
// 新增地块
export function addLand (data) {
return request({
url: '/system/land',
method: 'post',
data: data
})
}
// 修改地块
export function updateLand (data) {
return request({
url: '/system/land',
method: 'put',
data: data
})
}
2024-11-20 19:09:37 +08:00
2024-11-20 18:20:46 +08:00