ipc-app/api/equip/equip.js

26 lines
463 B
JavaScript
Raw Normal View History

import request from "@/utils/request";
export function listAllInfo(query) {
return request({
url: "/equip/info/listAll",
method: "get",
params: query,
});
2024-06-11 10:38:49 +08:00
}
// 查询报警记录列表
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",
});
}