26 lines
463 B
JavaScript
26 lines
463 B
JavaScript
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",
|
|
});
|
|
} |