import request from '@/utils/request' // 创建设备分组报警明细 export function createEquipmentGroupAlarm(data) { return request({ url: '/base/equipment-group-alarm/create', method: 'post', data: data }) } // 更新设备分组报警明细 export function updateEquipmentGroupAlarm(data) { return request({ url: '/base/equipment-group-alarm/update', method: 'put', data: data }) } // 删除设备分组报警明细 export function deleteEquipmentGroupAlarm(id) { return request({ url: '/base/equipment-group-alarm/delete?id=' + id, method: 'delete' }) } // 获得设备分组报警明细 export function getEquipmentGroupAlarm(id) { return request({ url: '/base/equipment-group-alarm/get?id=' + id, method: 'get' }) } // 获得设备分组报警明细分页 export function getEquipmentGroupAlarmPage(query) { return request({ url: '/base/equipment-group-alarm/page', method: 'get', params: query }) } // 导出设备分组报警明细 Excel export function exportEquipmentGroupAlarmExcel(query) { return request({ url: '/base/equipment-group-alarm/export-excel', method: 'get', params: query, responseType: 'blob' }) }