You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.2 KiB

import request from '@/utils/request'
1 week ago
// 查询住户管理列表
export function listHouse(query) {
return request({
url: '/taicangpop/house/list',
method: 'get',
params: query,
})
1 week ago
}
// 查询住户管理详细
export function getHouse(id) {
return request({
url: '/taicangpop/house/' + id,
method: 'get',
})
1 week ago
}
// 新增住户管理
export function addHouse(data) {
return request({
url: '/taicangpop/house',
method: 'post',
data: data,
})
1 week ago
}
// 修改住户管理
export function updateHouse(data) {
return request({
url: '/taicangpop/house',
method: 'put',
data: data,
})
1 week ago
}
// 删除住户管理
export function delHouse(id) {
return request({
url: '/taicangpop/house/' + id,
method: 'delete',
})
1 week ago
}
// 导出住户管理
export function exportHouse(query) {
return request({
url: '/taicangpop/house/export',
method: 'get',
params: query,
})
1 week ago
}
// 查询住户管理排摸
// export function listPaimoHouse(id) {
// return request({
// url: '/taicangpop/house/getweigengxin?buildingid=' + id,
// method: 'get',
// })
// }
export function listPaimoHouse(id) {
return request({
url: '/taicangpop/house/getweigengxinnew?buildingid=' + id,
method: 'get',
})
}