import request from '@/utils/request' // 创建后端用 设备状态实时 export function createEquipmentStatusRealtime(data) { return request({ url: '/base/equipment-status-realtime/create', method: 'post', data: data }) } // 更新后端用 设备状态实时 export function updateEquipmentStatusRealtime(data) { return request({ url: '/base/equipment-status-realtime/update', method: 'put', data: data }) } // 删除后端用 设备状态实时 export function deleteEquipmentStatusRealtime(id) { return request({ url: '/base/equipment-status-realtime/delete?id=' + id, method: 'delete' }) } // 获得后端用 设备状态实时 export function getEquipmentStatusRealtime(id) { return request({ url: '/base/equipment-status-realtime/get?id=' + id, method: 'get' }) } // 获得后端用 设备状态实时分页 export function getEquipmentStatusRealtimePage(query) { return request({ url: '/base/equipment-status-realtime/page', method: 'get', params: query }) } // 导出后端用 设备状态实时 Excel export function exportEquipmentStatusRealtimeExcel(query) { return request({ url: '/base/equipment-status-realtime/export-excel', method: 'get', params: query, responseType: 'blob' }) }