import request from '@/utils/request' // 查询防汛易涝点信息分页 export function pagefloodPoint (query) { return request({ url: '/business/floodPoint/page', method: 'get', params: query }) } // 查询防汛易涝点信息列表 export function listfloodPoint (query) { return request({ url: '/business/floodPoint/list', method: 'get', params: query }) } // 查询防汛易涝点信息详细 export function getfloodPoint (id) { return request({ url: '/business/floodPoint/' + id, method: 'get' }) } // 新增防汛易涝点信息 export function addfloodPoint (data) { return request({ url: '/business/floodPoint/add', method: 'post', data: data }) } // 修改防汛易涝点信息 export function updatefloodPoint (data) { return request({ url: '/business/floodPoint/edit', method: 'put', data: data }) } // 删除防汛易涝点信息 export function delfloodPoint (id) { return request({ url: '/business/floodPoint/' + id, method: 'delete' }) } // 查询树形结构数据 export function gettree () { return request({ url: '/business/floodControlDepartment/tree', method: 'get' }) } // 查询树形结构数据(值守的时候) export function getpointTrees () { return request({ url: '/business/floodPoint/pointTree', method: 'get' }) } // 查看站点数据 export function getGroupsNo () { return request({ url: '/business/stationBaseView/selectSiteNoByGroupsNo', method: 'get' }) }