import http from "@/api"; const BASEURL = import.meta.env.VITE_API_URL; // 今日累积运行次数 export const getLifterWorkCycleApi = (params: {}) => { return http.get(BASEURL + `/xmgl/lifterWorkCycle/queryStatisticsElevatorOperationsNum`, params); }; // 今日违章次数 export const getLifterViolationApi = (params: {}) => { return http.get(BASEURL + `/xmgl/lifterViolation/queryStatisticsViolationNum`, params); }; // 设备列表 export const getLifterListApi = (params: {}) => { return http.post(BASEURL + `/xmgl/lifter/list`, params); }; // 电梯报警分析 export const getAlarmTypeApi = (params: {}) => { return http.post(BASEURL + `/xmgl/lifterAlarm/queryAlarmsDistinguishedNumberByAlarmType`, params); }; // 右中下数据 export const getNewestLifterApi = (params: {}) => { return http.post(BASEURL + `/xmgl/lifterCurrentData/getNewestLifterCurrentData`, params); }; // 运行状态 export const getQueryTodayOperatingApi = (params: {}) => { return http.get(BASEURL + `/xmgl/lifter/queryTodayOperatingStatusStatistics`, params); }; // 司机信息 export const getRelatedInfoApi = (params: {}) => { return http.get(BASEURL + `/xmgl/lifter/getRelatedInfo`, params); }; // 通过id查询升降机基本信息信息 export const getLifterQueryByIdApi = (params: {}) => { return http.post(BASEURL + `/xmgl/lifter/queryById`, params); };