import request from '@/utils/request' // 查询报警经验库分类分页 export function pagedeviceAlarmClass(query) { return request({ url: '/business/deviceAlarmClass/page', method: 'get', params: query }) } // 查询报警经验库分类列表 export function listdeviceAlarmClass(query) { return request({ url: '/business/deviceAlarmClass/list', method: 'get', params: query }) } // 查询报警经验库分类详细 export function getdeviceAlarmClass(id) { return request({ url: '/business/deviceAlarmClass/' + id, method: 'get' }) } // 新增报警经验库分类 export function adddeviceAlarmClass(data) { return request({ url: '/business/deviceAlarmClass/add', method: 'post', data: data }) } // 修改报警经验库分类 export function updatedeviceAlarmClass(data) { return request({ url: '/business/deviceAlarmClass/edit', method: 'put', data: data }) } // 删除报警经验库分类 export function deldeviceAlarmClass(id) { return request({ url: '/business/deviceAlarmClass/' + id, method: 'delete' }) }