| 1234567891011121314 |
- import { defHttp } from '/@/utils/http/axios';
- enum Api {
- subStationList = '/safety/ventanalySubStation/alllist',
- deviceTypeList = '/safety/ventanalyDeviceInfo/DeviceKind/queryBySystem',
- deviceList = '/compute/deviceData/getDeviceAll',
- devMonitorList = '/compute/deviceData/getDeviceMonitorInfo',
- }
- // 分站查询接口
- export const subStationList = (params) => defHttp.get({ url: Api.subStationList, params });
- //根据设备类型获取设备列表
- export const getDeviceListByType = (params) => defHttp.post({ url: Api.deviceList, params });
- //根据设备id获取设备监控数据
- export const getDevMonitorListById = (params) => defHttp.post({ url: Api.devMonitorList, params });
|