import request from '@/utils/request' // 查询内涝点报警配置分页 export function pagesiteWaterlogPointConfig (query) { return request({ url: '/business/siteWaterlogPointConfig/page', method: 'get', params: query }) } // 查询内涝点报警配置列表 export function listsiteWaterlogPointConfig (query) { return request({ url: '/business/siteWaterlogPointConfig/list', method: 'get', params: query }) } // 查询内涝点报警配置详细 export function getsiteWaterlogPointConfig (id) { return request({ url: '/business/siteWaterlogPointConfig/' + id, method: 'get' }) } // 新增内涝点报警配置 export function addsiteWaterlogPointConfig (data) { return request({ url: '/business/siteWaterlogPointConfig/add', method: 'post', data: data }) } // 修改内涝点报警配置 export function updatesiteWaterlogPointConfig (data) { return request({ url: '/business/siteWaterlogPointConfig/edit', method: 'put', data: data }) } // 删除内涝点报警配置 export function delsiteWaterlogPointConfig (id) { return request({ url: '/business/siteWaterlogPointConfig/' + id, method: 'delete' }) } // 查询出易涝点站点列表 post 无参 export function getselectSiteList (id) { return request({ url: '/business/siteWaterlogPointConfig/selectSiteList', method: 'post' }) }