import request from "@/utils/request"; export function listAllInfo(query) { return request({ url: "/equip/info/listAll", method: "get", params: query, }); } // 查询报警记录列表 export function getEquipTree(query) { return request({ url: "/equip/info/equipTree", method: "get", params: query, }); } // 查询设备详情 export function getEquipInfoById(id) { return request({ url: "/equip/info/" + id, method: "get", }); } // 查询设备详情 export function getEquipCount() { return request({ url: "/equip/info/equipCount", method: "get", }); }