17 lines
580 B
TypeScript
Raw Normal View History

import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 左上,今日塔机工作情况
export const getTowerNumAndAlarmApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/tower/selectTowerNumAndAlarmCount`, params);
};
// 左中 群塔报警对比分析
export const getDistinguishedNumApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/towerAlarm/queryAlarmsDistinguishedNumberByAlarmType`, params);
};
// 中间 塔吊信息
export const getQueryByIdApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/tower/queryById`, params);
};