27 lines
925 B
TypeScript
27 lines
925 B
TypeScript
import http from "@/api";
|
|
const BASEURL = import.meta.env.VITE_API_URL;
|
|
|
|
// 项目信息
|
|
export const getProjectInfoBySnApi = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/projectExtend/getProjectExtendInfo`, params);
|
|
};
|
|
|
|
// 今日统计
|
|
export const getLocationTunnelApi = (params: {}) => {
|
|
return http.get(BASEURL + `/xmgl/locationTunnel/list`, params);
|
|
};
|
|
|
|
// 报警信息
|
|
export const getTagLowVoltageAlarmApi = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/locationTagLowVoltageAlarm/countLocationTagLowVoltageAlarmEveryDay`, params);
|
|
};
|
|
|
|
// 地图上的人(场内人员名单)
|
|
export const getRealTimeLocationWorkerApi = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/locationData/getRealTimeLocationWorker`, params);
|
|
};
|
|
|
|
// 班组统计
|
|
export const getCountRealTimeLocationWorkerApi = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/locationData/countRealTimeLocationWorker`, params);
|
|
}; |