import request from '@/utils/request' // 查询防汛避难场所分页 export function pagerefugePlace(query) { return request({ url: '/business/refugePlace/page', method: 'get', params: query }) } // 查询防汛避难场所列表 export function listrefugePlace(query) { return request({ url: '/business/refugePlace/list', method: 'get', params: query }) } // 查询防汛避难场所详细 export function getrefugePlace(id) { return request({ url: '/business/refugePlace/' + id, method: 'get' }) } // 新增防汛避难场所 export function addrefugePlace(data) { return request({ url: '/business/refugePlace/add', method: 'post', data: data }) } // 修改防汛避难场所 export function updaterefugePlace(data) { return request({ url: '/business/refugePlace/edit', method: 'put', data: data }) } // 删除防汛避难场所 export function delrefugePlace(id) { return request({ url: '/business/refugePlace/' + id, method: 'delete' }) }