Newer
Older
operation_web / src / util / project.js
@zhangqy zhangqy on 30 Nov 2019 1022 bytes 1
/**
 * 项目管理相关接口
 * @exports {Object}
 * 黄家林
 */
let host = '/warnApi';

let nozzle = {
  "sysPlatformListPlatform":"/sys/platform/listPlatform",//站点状况预览图-----获取所有的平台名称
  "sysPlatformGetSiteCountAndState":"/sys/platform/getSiteCountAndState",//站点状况预览图-----获取平台站点的数量和状态统计
  "sysPlatformGetAllSiteCount":"/sys/platform/getAllSiteCount",//站点状况预览图-----获取所有平台站点数目统计
  "platEquipmentGetEquipStatistics":"/plat/equipment/getEquipStatistics",//站点状况预览图-----获取平台拥有设备类型、数量统计
  "sysPlatformGetSiteStateStatistics":"/sys/platform/getSiteStateStatistics",//站点状况预览图-----平台近七日站点状态统计
  "warnLogGetWarnLogOfPlatform":"/warn/log/getWarnLogOfPlatform",//站点状况预览图-----查询该平台各站点各因子最新的报警数据
};

for (let item in nozzle) {
  nozzle[item] = host + nozzle[item];
}
export default nozzle;