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.

54 lines
956 B

1 week ago
import { request } from '@/api/request.js'
// 查询居民管理列表
export function listPerson(query) {
return request({
url: '/taicangpop/person/list',
method: 'get',
params: query,
})
}
// 查询居民管理详细
export function getPerson(id) {
return request({
url: '/taicangpop/person/' + id,
method: 'get',
})
}
// 新增居民管理
export function addPerson(data) {
return request({
url: '/taicangpop/person',
method: 'post',
data: data,
})
}
// 修改居民管理
export function updatePerson(data) {
return request({
url: '/taicangpop/person',
method: 'put',
data: data,
})
}
// 删除居民管理
export function delPerson(id) {
return request({
url: '/taicangpop/person/' + id,
method: 'delete',
})
}
// 导出居民管理
export function exportPerson(query) {
return request({
url: '/taicangpop/person/export',
method: 'get',
params: query,
})
}