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.

78 lines
1.4 KiB

import request from '@/utils/request'
// 查询楼栋管理列表
export function listBuilding(query) {
return request({
url: '/taicangpop/building/list',
method: 'get',
params: query,
})
}
// 查询楼栋管理详细
export function getBuilding(id) {
return request({
url: '/taicangpop/building/' + id,
method: 'get',
})
}
// 新增楼栋管理
export function addBuilding(data) {
return request({
url: '/taicangpop/building',
method: 'post',
data: data,
})
}
// 修改楼栋管理
export function updateBuilding(data) {
return request({
url: '/taicangpop/building',
method: 'put',
data: data,
})
}
// 删除楼栋管理
export function delBuilding(id) {
return request({
url: '/taicangpop/building/' + id,
method: 'delete',
})
}
// 导出楼栋管理
export function exportBuilding(query) {
return request({
url: '/taicangpop/building/export',
method: 'get',
params: query,
})
}
// 查询楼栋管理排摸
// export function listPaimoBuilding(id) {
// return request({
// url: '/taicangpop/building/getListNew?deptid=' + id,
// method: 'get',
// })
// }
// 查询楼栋管理排摸
export function listPaimoBuilding(id) {
return request({
url: '/taicangpop/building/getListNew2?deptId=' + id,
method: 'get',
})
}
// 查询用户小区下的部门
export function appDeptname(params) {
return request({
url: "/taicangpop/tc/appDeptname",
method: "get",
params
})
}