import request from '@/utils/request' // 查询防汛通知分页 export function pagefloodControlInform (query) { return request({ url: '/business/floodControlInform/page', method: 'get', params: query }) } // 查询防汛通知列表 export function listfloodControlInform (query) { return request({ url: '/business/floodControlInform/list', method: 'get', params: query }) } // 查询防汛通知详细 export function getfloodControlInform (id) { return request({ url: '/business/floodControlInform/' + id, method: 'get' }) } // 新增防汛通知 export function addfloodControlInform (data) { return request({ url: '/business/floodControlInform/add', method: 'post', data: data }) } // 修改防汛通知 export function updatefloodControlInform (data) { return request({ url: '/business/floodControlInform/edit', method: 'put', data: data }) } // 删除防汛通知 export function delfloodControlInform (id) { return request({ url: '/business/floodControlInform/' + id, method: 'delete' }) } export function selectBySgin (data) { return request({ url: '/business/floodControlInformDetail/selectBySgin', method: 'post', data: data }) }