deviceMonitorWarn.api.ts 448 B

123456789101112
  1. import { defHttp } from '/@/utils/http/axios';
  2. enum Api {
  3. // totalList = '/safety/ventanalyAlarmLog/total',
  4. totalList = '/safety/ventanalyDevice/homedata2',
  5. getAlarmLogList = '/monitor/groupCompany/getAlarmLogList', //获取各矿预警统计信息
  6. }
  7. //预警列表接口
  8. export const getTotalList = () => defHttp.post({ url: Api.totalList });
  9. export const getAlarmLogList = (params) => defHttp.post({ url: Api.getAlarmLogList, params });