import request from '@/utils/request' // 查询防汛-险情上报分页 export function pagedangerReport(query) { return request({ url: '/business/dangerReport/page', method: 'get', params: query }) } // 查询防汛-险情上报列表 export function listdangerReport(query) { return request({ url: '/business/dangerReport/list', method: 'get', params: query }) } // 查询防汛-险情上报详细 export function getdangerReport(id) { return request({ url: '/business/dangerReport/' + id, method: 'get' }) } // 新增防汛-险情上报 export function adddangerReport(data) { return request({ url: '/business/dangerReport/add', method: 'post', data: data }) } // 修改防汛-险情上报 export function updatedangerReport(data) { return request({ url: '/business/dangerReport/edit', method: 'put', data: data }) } // 删除防汛-险情上报 export function deldangerReport(id) { return request({ url: '/business/dangerReport/' + id, method: 'delete' }) }