53 lines
1.1 KiB
JavaScript
53 lines
1.1 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询seg行政区域代码列表
|
|
export function listSegchk_district_info(query) {
|
|
return request({
|
|
url: '/segchk/segchk_district_info/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询seg行政区域代码详细
|
|
export function getSegchk_district_info(districtId) {
|
|
return request({
|
|
url: '/segchk/segchk_district_info/' + districtId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增seg行政区域代码
|
|
export function addSegchk_district_info(data) {
|
|
return request({
|
|
url: '/segchk/segchk_district_info',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改seg行政区域代码
|
|
export function updateSegchk_district_info(data) {
|
|
return request({
|
|
url: '/segchk/segchk_district_info',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除seg行政区域代码
|
|
export function delSegchk_district_info(districtId) {
|
|
return request({
|
|
url: '/segchk/segchk_district_info/' + districtId,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 导出seg行政区域代码
|
|
export function exportSegchk_district_info(query) {
|
|
return request({
|
|
url: '/segchk/segchk_district_info/export',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
} |