/** * 项目管理相关接口 * @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", //站点状况预览图-----查询该平台各站点报警数据 listStationBase: "/sys/site/listStationBase", //所有站点 getTempData: "/sys/site/getTempData", //单个站点 listStationBase: "/sys/site/listStationBase", //所有站点无分页 sysSiteListStationBaseWithPage: "/sys/site/listStationBaseWithPage", //所有站点有分页 warnConfigListNonConfig: "/warn/config/listNonConfig", //获取选择站点未配置但已分配的因子 warnConfigListWarnConfig: "/warn/config/listWarnConfig", //查询站点已配置的预警报警线 warnConfigGetSiteWarn: "/warn/config/getSiteWarn", //获取站点预警线 warnConfigInsertWarnConfig: "/warn/config/insertWarnConfig", //新增报警线 warnConfigUpdateWarnConfig: "/warn/config/updateWarnConfig", //修改警戒线 warnConfigDeleteWarnConfig: "/warn/config/deleteWarnConfig", //删除警戒线 warnLogListWarnLog: "/warn/log/listWarnLog", //查询报警日志 warnRuleListPushRule: "/warn/rule/listPushRule", //查询报警推送规则 warnRuleListNonConfigPlatform: "/warn/rule/listNonConfigPlatform", //查询未配置规则得平台 warnRuleInsertWarnPushRule: "/warn/rule/insertWarnPushRule", //新增推送规则 warnRuleInsertUpdateWarnPushRule: "/warn/rule/updateWarnPushRule", //修改推送规则 warnRuleInsertDeleteWarnPushRule: "/warn/rule/deleteWarnPushRule" //删除推送规则 }; for (let item in nozzle) { nozzle[item] = host + nozzle[item]; } export default nozzle;