"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

// const mockRoutes = [
//   {
//     label: '运营总览',
//     shortName: 'BI',
//     icon: 'assets/images/menuNew/02二级图标/运营总览.svg',
//     url:
//       'productex/water/IOTPump/RunOverView/RunOverView|BIZoom=14&userAccess=true',
//     config: '',
//   },
//   {
//     widgets: [
//       {
//         label: '泵房监控',
//         shortName: '泵房',
//         icon: 'assets/images/menuNew/02二级图标/泵房监控.svg',
//         url:
//           'productex/water/IOTMonitor/DeviceMonitorPump/DeviceMonitorPump|device=二供泵房-二供机组&pageSize=20&showLegend=true',
//         config: '',
//       },
//       {
//         label: '泵房分布',
//         shortName: '地图',
//         icon: 'assets/images/menuNew/02二级图标/地图监控.svg',
//         url:
//           'productex/water/IOTMonitor/MapMonitor/MapMonitor|scales=10,14,15&device=二供泵房&zoom=11',
//         config: '',
//       },
//       {
//         label: '实时数据',
//         shortName: '实时',
//         icon: 'assets/images/menuNew/02二级图标/数据监控.svg',
//         url:
//           'productex/water/IOTMonitor/DataMonitor/DataMonitor|device=二供泵房-二供机组',
//         config: '',
//       },
//       {
//         label: '历史数据',
//         shortName: '日志',
//         icon: 'assets/images/menuNew/02二级图标/运行日志.svg',
//         url:
//           'productex/water/IOTMonitor/RunLogHistory/RunLogHistory|device=二供泵房-二供机组',
//         config: '',
//       },
//     ],
//     label: '数据监控',
//     shortName: '数据',
//     icon: 'assets/images/menuNew/02二级图标/经济性分析.svg',
//   },
//   {
//     widgets: [
//       {
//         label: '视频监控',
//         shortName: '视频',
//         icon: 'assets/images/menuNew/02二级图标/视频监控.svg',
//         url:
//           'product/oms/VideoListAll/VideoListAll|device=二供泵房&project=panda_egbf&control=true',
//         config: '',
//       },
//       {
//         label: '门禁监控',
//         shortName: '门禁',
//         icon: 'assets/images/menuNew/02二级图标/门禁监控.svg',
//         url:
//           'productex/water/IOTMonitor/SafetyMonitor/devicedoor/devicedoor|device=二供泵房',
//         config: '',
//       },
//       {
//         label: '红外监控',
//         shortName: '',
//         icon: 'assets/images/menuNew/02二级图标/报警监控.svg',
//         url:
//           'product/maintenance/AccountManage/AccountManage|name=红外监控&state=scan',
//         config: '',
//       },
//     ],
//     label: '安防监控',
//     shortName: '安防',
//     icon: 'assets/images/menuNew/02二级图标/安防监控.svg',
//   },
//   {
//     widgets: [
//       {
//         label: '泵房全景',
//         shortName: '全景',
//         icon: 'assets/images/menuNew/02二级图标/二供工艺.svg',
//         url: 'productex/water/IOTMonitor/panoramaMonitor/panoramaMonitor',
//         config: '',
//       },
//       {
//         label: '三维展示',
//         shortName: '三维',
//         icon: 'assets/images/menu/ps/监控管理.png',
//         url: 'threedimensional/product/ShowPumpGL/ShowPumpGL',
//         config: '',
//       },
//       {
//         label: '工艺绘制',
//         shortName: '组态',
//         icon: 'assets/images/menu/webgis/二级菜单/normal/大口径管段展示.png',
//         url: 'configuration/ConfigurationsSageView/ConfigurationsSageView',
//         config: '',
//       },
//     ],
//     label: '三维全景',
//     shortName: '全景',
//     icon: 'assets/images/menuNew/02二级图标/水源井巡视.svg',
//   },
//   {
//     widgets: [
//       {
//         label: '智能巡检',
//         shortName: '智检',
//         icon: 'assets/images/menu/webgis/二级菜单/功能窗口/条件查询.png',
//         url: 'productex/water/IOTPump/PumpPatrol/PumpPatrol',
//         config: '',
//       },
//       {
//         label: '异常诊断',
//         shortName: '报警',
//         icon: 'assets/images/menuNew/02二级图标/安防监控.svg',
//         url:
//           'productex/water/IOTMonitor/RealTimeAlarm/RealTimeAlarm|device=二供:二供泵房-二供机组',
//         config: '',
//       },
//       {
//         label: '报警记录',
//         shortName: '记录',
//         icon: 'assets/images/menuNew/02二级图标/台账管理.svg',
//         url:
//           'productex/water/IOTMonitor/AlarmRecord/AlarmRecord|device=二供:二供泵房-二供机组&dataDictionary=报警监控筛选条件',
//         config: '',
//       },
//       {
//         label: '报警方案',
//         shortName: '方案',
//         icon: 'assets/images/menuNew/02二级图标/工艺监控.svg',
//         url:
//           'productex/water/IOTMonitor/AlertInfoManage/AlertInfoManage|isDemo=true',
//         config: '',
//       },
//       {
//         label: '报警分析',
//         shortName: '分析',
//         icon: 'assets/images/menuNew/02二级图标/运行状态.svg',
//         url: 'product/bi/DemoWidget/DemoView|imgName=报警分析.png',
//         config: '',
//       },
//     ],
//     label: '故障诊断',
//     shortName: '报警',
//     icon: 'assets/images/menuNew/02二级图标/报警监控.svg',
//   },
//   {
//     widgets: [
//       {
//         label: '维保标准',
//         shortName: '标准',
//         icon: 'assets/images/menuNew/02二级图标/维保管理.svg',
//         url:
//           'product/introduction/deviceIntroduction/introductionFile|accountName=泵房维保标准表&nodeName=阀门,仪器仪表,控制柜,机组,其他设施&titleName=熊猫泵房维保标准',
//         config: '',
//       },
//       {
//         label: '管理制度',
//         shortName: '制度',
//         icon: 'assets/images/menu/合同管理.png',
//         url: 'product/pumpManageV3/BusinessManage/PumpRules/PumpRules',
//         config: '',
//       },
//       {
//         label: '维保日历',
//         shortName: '日历',
//         icon: 'assets/images/menuNew/02二级图标/调度日志.svg',
//         url: 'productex/water/IOTPump/MaintenanceCalendar/MaintenanceCalendar',
//         config: '',
//       },
//       {
//         label: '维保反馈',
//         shortName: '维保',
//         icon: 'assets/images/menuNew/02二级图标/维保管理.svg',
//         url:
//           'productex/water/IOTMonitor/BusinessManage/BusinessManage|device=二供泵房&plate=巡检:二供巡检,保养:二供维保,维修:二供维修,水箱清洗:二供水箱清洗',
//         config: '',
//       },
//       {
//         label: '业务总览',
//         shortName: '总览',
//         icon: 'assets/images/menuNew/02二级图标/运营总览.svg',
//         url:
//           'productex/water/IOTPump/BusinessOverview/BusinessOverview|businessType=',
//         config: '',
//       },
//       {
//         label: '生命周期',
//         shortName: '',
//         icon: 'assets/images/menuNew/02二级图标/运行状态.svg',
//         url: 'productex/water/IOTPump/MaintenanceRecords/MaintenanceRecords',
//         config: '',
//       },
//     ],
//     label: '生命周期',
//     shortName: '生命',
//     icon: 'assets/images/menuNew/OA/业绩总览.svg',
//   },
//   {
//     widgets: [
//       {
//         label: '维保总览',
//         shortName: '',
//         icon: 'assets/images/menu/统计3.0.png',
//         url: 'product/devicePlan/BusinessOverview/BusinessOverview',
//         config: '',
//       },
//       {
//         label: '维保模板',
//         shortName: '模板',
//         icon: 'assets/images/menu/工程管理.png',
//         url:
//           'product/devicePlan/TemplatesManage/TemplatesManage|businessType=&businessName=',
//         config: '',
//       },
//       {
//         label: '维保计划',
//         shortName: '计划',
//         icon: 'assets/images/menu/签证管理.png',
//         url: 'product/devicePlan/PlanManage/PlanManage',
//         config: '',
//       },
//       {
//         label: '维保任务',
//         shortName: '',
//         icon: 'assets/images/menuNew/02二级图标/水源井巡视.svg',
//         url:
//           'product/devicePlan/TaskOverview/TaskOverview|businessType=&businessName=',
//         config: '',
//       },
//       {
//         label: '维保轨迹',
//         shortName: '',
//         icon: 'assets/images/menuNew/02二级图标/地图监控.svg',
//         url: 'product/patrol/PatrolTrace/PatrolTrace',
//         config: '',
//       },
//     ],
//     label: '泵房维保',
//     shortName: '维保',
//     icon: 'assets/images/menuNew/02二级图标/报警方案.svg',
//   },
//   {
//     widgets: [
//       {
//         label: '专家方案库',
//         shortName: '方案库',
//         icon: 'assets/images/menuNew/02二级图标/设备管理.svg',
//         url: 'project/water/pandaDemo/ExpertPlanOverview/ExpertPlanOverview',
//         config: '',
//       },
//       {
//         label: '方案管理',
//         shortName: '管理',
//         icon: 'assets/images/menuNew/02二级图标/维保管理.svg',
//         url: 'project/water/pandaDemo/ProjectManageDemo/ProjectManageDemo',
//         config: '',
//       },
//       {
//         label: '抢维修总览',
//         shortName: '',
//         icon: 'assets/images/menu/工程查询.png',
//         url: 'Product/Maintenance/HomePage/HomePageCloud',
//         config: '',
//       },
//       {
//         label: '报警上报',
//         shortName: '',
//         icon: 'assets/images/menu/日志3.0.png',
//         url:
//           'product/maintenance/EventManage/EventReport/MenuEventReportView|eventType=系统报警',
//         config: '',
//       },
//       {
//         label: '抢修上报',
//         shortName: '',
//         icon: 'assets/images/menu/变更管理.png',
//         url:
//           'product/maintenance/EventManage/EventReport/MenuEventReportView|eventType=抢修上报',
//         config: '',
//       },
//       {
//         label: '检修上报',
//         shortName: '',
//         icon: 'assets/images/menu/监控3.0.png',
//         url:
//           'product/maintenance/EventManage/EventReport/MenuEventReportView|eventType=检修上报',
//         config: '',
//       },
//       {
//         label: '工单办理',
//         shortName: '',
//         icon: 'assets/images/menu/工程管理.png',
//         url:
//           'product/maintenance/CaseManage/CaseDoingBox/StardCaseDoingBoxView|isDelay=0',
//         config: '',
//       },
//       {
//         label: '工单总览',
//         shortName: '',
//         icon: 'assets/images/menu/合同管理.png',
//         url: 'product/maintenance/CaseManage/CaseOverviewBox/CaseOverviewBox',
//         config: '',
//       },
//       {
//         label: '事件总览',
//         shortName: '',
//         icon: 'assets/images/menu/任务管理.png',
//         url:
//           'product/maintenance/EventManage/EventOverviewBox/EventOverviewListView',
//         config: '',
//       },
//     ],
//     label: '泵房维修',
//     shortName: '工单',
//     icon: 'assets/images/menuNew/02二级图标/调度监控.svg',
//   },
//   {
//     widgets: [
//       {
//         label: '能耗统计',
//         shortName: '能耗',
//         icon: 'assets/images/menuNew/02二级图标/能耗分析.svg',
//         url:
//           'productex/water/IOTMonitor/EnergyAnalysis/EnergyAnalysis|device=二供泵房-二供机组&targetName=出水累计流量,累计电量',
//         config: '',
//       },
//       {
//         label: '运行评价',
//         shortName: '评价',
//         icon: 'assets/images/menuNew/02二级图标/运行评价.svg',
//         url:
//           'productex/water/IOTMonitor/OperationAnalysis/OperationAnalysis|device=二供泵房&deviceType=二供泵房&targetName=出水累计流量,累计电量&intervals=0,0.3,0.6,1.2',
//         config: '',
//       },
//       {
//         label: '比泵分析',
//         shortName: '比泵',
//         icon: 'assets/images/menuNew/02二级图标/经济性分析.svg',
//         url:
//           'productex/water/IOTRawWater/PumpEconomicAnalysis/PumpEconomicAnalysis|device=二供泵房&targetName=累计电量,出水累计流量&price=0.7&water=200',
//         config: '',
//       },
//       {
//         label: '运行概况',
//         shortName: '概况',
//         icon: 'assets/images/menuNew/02二级图标/运行概况.svg',
//         url:
//           'productex/water/IOTMonitor/RunStatus/RunStatus|device=二供泵房&targetName=出水累计流量,累计电量',
//         config: '',
//       },
//       {
//         label: '供水分析',
//         shortName: '供水',
//         icon: 'assets/images/menuNew/02二级图标/运行分析.svg',
//         url:
//           'productex/water/IOTMonitor/TrafficAnalysis/TrafficAnalysis|device=二供泵房&targetName=出水累计流量_供水量:Sub',
//         config: '',
//       },
//       {
//         label: '用电分析',
//         shortName: '用电',
//         icon: 'assets/images/menuNew/02二级图标/运行分析.svg',
//         url:
//           'productex/water/IOTMonitor/TrafficAnalysis/TrafficAnalysis|device=二供泵房&targetName=累计电量_用电量:Sub',
//         config: '',
//       },
//     ],
//     label: '能耗分析',
//     shortName: '能耗',
//     icon: 'assets/images/menuNew/02二级图标/能耗分析.svg',
//   },
//   {
//     widgets: [
//       {
//         label: '夜间小流量',
//         shortName: '小流量',
//         icon: 'assets/images/menuNew/02二级图标/运行日志.svg',
//         url:
//           'productex/water/IOTPump/NightLowFlow/NightLowFlow|device=二供泵房&flowName=出水瞬时流量',
//         config: '',
//       },
//       {
//         label: '漏损排行榜',
//         shortName: '漏损',
//         icon: 'assets/images/menuNew/02二级图标/运行状态.svg',
//         url:
//           'productex/water/IOTPump/LeakageAnalysis/LeakageAnalysis|device=二供泵房&flowName1=出水累计流量&flowName2=出水瞬时流量&leakRate=20&timeType=day',
//         config: '',
//       },
//       {
//         label: '等水压分布',
//         shortName: '水压',
//         icon: 'assets/images/menuNew/02二级图标/调度方案.svg',
//         url: 'project/water/qingpu/EquiscalarLine/EquiscalarLine',
//         config: '等水压线分布',
//       },
//     ],
//     label: '漏损分析',
//     shortName: '漏损',
//     icon: 'assets/images/menuNew/02二级图标/能耗分析.svg',
//   },
//   {
//     widgets: [
//       {
//         label: '泵房信息',
//         shortName: '',
//         icon: 'assets/images/menuNew/02二级图标/台账管理.svg',
//         url: 'product/maintenance/AccountManage/AccountManage|name=二供泵房',
//         config: '',
//       },
//       {
//         label: '机组信息',
//         shortName: '',
//         icon: 'assets/images/menuNew/02二级图标/台账管理.svg',
//         url: 'product/maintenance/AccountManage/AccountManage|name=二供机组',
//         config: '',
//       },
//       {
//         label: '门禁台账',
//         shortName: '',
//         icon: 'assets/images/menuNew/02二级图标/台账管理.svg',
//         url: 'product/maintenance/AccountManage/AccountManage|name=二供门禁',
//         config: '',
//       },
//       {
//         label: '维保标准',
//         shortName: '',
//         icon: 'assets/images/menuNew/02二级图标/台账管理.svg',
//         url:
//           'product/maintenance/AccountManage/AccountManage|name=泵房维保标准表',
//         config: '',
//       },
//     ],
//     label: '设施管理',
//     shortName: '资产',
//     icon: 'assets/images/menuNew/02二级图标/设备管理.svg',
//   },
//   {
//     widgets: [
//       {
//         label: '设备分组',
//         shortName: '分组',
//         icon: 'assets/images/menu/专项养护管理.png',
//         url: 'product/oms/deviceGroup/deviceGroup',
//         config: '',
//       },
//       {
//         label: '控制权限',
//         shortName: '控制',
//         icon: 'assets/images/menu/检漏计划.png',
//         url:
//           'product/pumpManageV3/MemberTaskStatistic/AuthorityConfig/AuthorityConfig',
//         config: '',
//       },
//       {
//         label: '展示配置',
//         shortName: '展示',
//         icon: 'assets/images/menu/工程管理.png',
//         url: 'productex/water/IOTConfSetting/EditMenu/EditMenu',
//         config: '',
//       },
//       {
//         label: '权限配置',
//         shortName: '权限',
//         icon: 'assets/images/menu/default.png',
//         url: 'product/oms/deviceGroup/deviceGroup',
//         config: '',
//       },
//       {
//         label: '视频配置',
//         shortName: '视频',
//         icon: 'assets/images/menu/监控3.0.png',
//         url: 'product/oms/VideoConfig/VideoConfig',
//         config: '',
//       },
//     ],
//     label: '系统设置',
//     shortName: '设置',
//     icon: 'assets/images/menu/巡检设置.png',
//   },
// ];
var mockRoutes = [{
  "widgets": [{
    "label": "运营总览",
    "shortName": "BI",
    "icon": "assets/images/menuNew/02二级图标/运营总览.svg",
    "url": "productex/water/IOTPump/RunOverView/RunOverView|BIZoom=14&userAccess=true",
    "config": ""
  }, {
    "widgets": [{
      "label": "泵房监控",
      "shortName": "泵房",
      "icon": "assets/images/menuNew/02二级图标/泵房监控.svg",
      "url": "productex/water/IOTMonitor/DeviceMonitorPump/DeviceMonitorPump|device=二供泵房-二供机组&pageSize=20&showLegend=true",
      "config": ""
    }, {
      "label": "泵房分布",
      "shortName": "地图",
      "icon": "assets/images/menuNew/02二级图标/地图监控.svg",
      "url": "productex/water/IOTMonitor/MapMonitor/MapMonitor|scales=10,14,15&device=二供泵房&zoom=11",
      "config": ""
    }, {
      "label": "实时数据",
      "shortName": "实时",
      "icon": "assets/images/menuNew/02二级图标/数据监控.svg",
      "url": "productex/water/IOTMonitor/DataMonitor/DataMonitor|device=二供泵房-二供机组",
      "config": ""
    }, {
      "label": "历史数据",
      "shortName": "日志",
      "icon": "assets/images/menuNew/02二级图标/运行日志.svg",
      "url": "productex/water/IOTMonitor/RunLogHistory/RunLogHistory|device=二供泵房-二供机组",
      "config": ""
    }],
    "label": "数据监控",
    "shortName": "数据",
    "icon": "assets/images/menuNew/02二级图标/经济性分析.svg"
  }, {
    "widgets": [{
      "label": "视频监控",
      "shortName": "视频",
      "icon": "assets/images/menuNew/02二级图标/视频监控.svg",
      "url": "product/oms/VideoListAll/VideoListAll|device=二供泵房&project=panda_egbf&control=true",
      "config": ""
    }, {
      "label": "门禁监控",
      "shortName": "门禁",
      "icon": "assets/images/menuNew/02二级图标/门禁监控.svg",
      "url": "productex/water/IOTMonitor/SafetyMonitor/devicedoor/devicedoor|device=二供泵房",
      "config": ""
    }, {
      "label": "红外监控",
      "shortName": "",
      "icon": "assets/images/menuNew/02二级图标/报警监控.svg",
      "url": "product/maintenance/AccountManage/AccountManage|name=红外监控&state=scan",
      "config": ""
    }],
    "label": "安防监控",
    "shortName": "安防",
    "icon": "assets/images/menuNew/02二级图标/安防监控.svg"
  }, {
    "widgets": [{
      "label": "泵房全景",
      "shortName": "全景",
      "icon": "assets/images/menuNew/02二级图标/二供工艺.svg",
      "url": "productex/water/IOTMonitor/panoramaMonitor/panoramaMonitor",
      "config": ""
    }, {
      "label": "三维展示",
      "shortName": "三维",
      "icon": "assets/images/menu/ps/监控管理.png",
      "url": "threedimensional/product/ShowPumpGL/ShowPumpGL",
      "config": ""
    }, {
      "label": "工艺绘制",
      "shortName": "组态",
      "icon": "assets/images/menu/webgis/二级菜单/normal/大口径管段展示.png",
      "url": "configuration/ConfigurationsSageView/ConfigurationsSageView",
      "config": ""
    }],
    "label": "三维全景",
    "shortName": "全景",
    "icon": "assets/images/menuNew/02二级图标/水源井巡视.svg"
  }, {
    "widgets": [{
      "label": "智能巡检",
      "shortName": "智检",
      "icon": "assets/images/menu/webgis/二级菜单/功能窗口/条件查询.png",
      "url": "productex/water/IOTPump/PumpPatrol/PumpPatrol",
      "config": ""
    }, {
      "label": "异常诊断",
      "shortName": "报警",
      "icon": "assets/images/menuNew/02二级图标/安防监控.svg",
      "url": "productex/water/IOTMonitor/RealTimeAlarm/RealTimeAlarm|device=二供:二供泵房-二供机组",
      "config": ""
    }, {
      "label": "报警记录",
      "shortName": "记录",
      "icon": "assets/images/menuNew/02二级图标/台账管理.svg",
      "url": "productex/water/IOTMonitor/AlarmRecord/AlarmRecord|device=二供:二供泵房-二供机组&dataDictionary=报警监控筛选条件",
      "config": ""
    }, {
      "label": "报警方案",
      "shortName": "方案",
      "icon": "assets/images/menuNew/02二级图标/工艺监控.svg",
      "url": "productex/water/IOTMonitor/AlertInfoManage/AlertInfoManage|isDemo=true",
      "config": ""
    }, {
      "label": "报警分析",
      "shortName": "分析",
      "icon": "assets/images/menuNew/02二级图标/运行状态.svg",
      "url": "product/bi/DemoWidget/DemoView|imgName=报警分析.png",
      "config": ""
    }],
    "label": "故障诊断",
    "shortName": "报警",
    "icon": "assets/images/menuNew/02二级图标/报警监控.svg"
  }, {
    "widgets": [{
      "label": "维保标准",
      "shortName": "标准",
      "icon": "assets/images/menuNew/02二级图标/维保管理.svg",
      "url": "product/introduction/deviceIntroduction/introductionFile|accountName=泵房维保标准表&nodeName=阀门,仪器仪表,控制柜,机组,其他设施&titleName=熊猫泵房维保标准",
      "config": ""
    }, {
      "label": "管理制度",
      "shortName": "制度",
      "icon": "assets/images/menu/合同管理.png",
      "url": "product/pumpManageV3/BusinessManage/PumpRules/PumpRules",
      "config": ""
    }, {
      "label": "维保日历",
      "shortName": "日历",
      "icon": "assets/images/menuNew/02二级图标/调度日志.svg",
      "url": "productex/water/IOTPump/MaintenanceCalendar/MaintenanceCalendar",
      "config": ""
    }, {
      "label": "维保反馈",
      "shortName": "维保",
      "icon": "assets/images/menuNew/02二级图标/维保管理.svg",
      "url": "productex/water/IOTMonitor/BusinessManage/BusinessManage|device=二供泵房&plate=巡检:二供巡检,保养:二供维保,维修:二供维修,水箱清洗:二供水箱清洗",
      "config": ""
    }, {
      "label": "业务总览",
      "shortName": "总览",
      "icon": "assets/images/menuNew/02二级图标/运营总览.svg",
      "url": "productex/water/IOTPump/BusinessOverview/BusinessOverview|businessType=",
      "config": ""
    }, {
      "label": "生命周期",
      "shortName": "",
      "icon": "assets/images/menuNew/02二级图标/运行状态.svg",
      "url": "productex/water/IOTPump/MaintenanceRecords/MaintenanceRecords",
      "config": ""
    }],
    "label": "生命周期",
    "shortName": "生命",
    "icon": "assets/images/menuNew/OA/业绩总览.svg"
  }, {
    "widgets": [{
      "label": "维保总览",
      "shortName": "",
      "icon": "assets/images/menu/统计3.0.png",
      "url": "product/devicePlan/BusinessOverview/BusinessOverview",
      "config": ""
    }, {
      "label": "维保模板",
      "shortName": "模板",
      "icon": "assets/images/menu/工程管理.png",
      "url": "product/devicePlan/TemplatesManage/TemplatesManage|businessType=&businessName=",
      "config": ""
    }, {
      "label": "维保计划",
      "shortName": "计划",
      "icon": "assets/images/menu/签证管理.png",
      "url": "product/devicePlan/PlanManage/PlanManage",
      "config": ""
    }, {
      "label": "维保任务",
      "shortName": "",
      "icon": "assets/images/menuNew/02二级图标/水源井巡视.svg",
      "url": "product/devicePlan/TaskOverview/TaskOverview|businessType=&businessName=",
      "config": ""
    }, {
      "label": "维保轨迹",
      "shortName": "",
      "icon": "assets/images/menuNew/02二级图标/地图监控.svg",
      "url": "product/patrol/PatrolTrace/PatrolTrace",
      "config": ""
    }],
    "label": "泵房维保",
    "shortName": "维保",
    "icon": "assets/images/menuNew/02二级图标/报警方案.svg"
  }, {
    "widgets": [{
      "label": "专家方案库",
      "shortName": "方案库",
      "icon": "assets/images/menuNew/02二级图标/设备管理.svg",
      "url": "project/water/pandaDemo/ExpertPlanOverview/ExpertPlanOverview",
      "config": ""
    }, {
      "label": "方案管理",
      "shortName": "管理",
      "icon": "assets/images/menuNew/02二级图标/维保管理.svg",
      "url": "project/water/pandaDemo/ProjectManageDemo/ProjectManageDemo",
      "config": ""
    }, {
      "label": "抢维修总览",
      "shortName": "",
      "icon": "assets/images/menu/工程查询.png",
      "url": "Product/Maintenance/HomePage/HomePageCloud",
      "config": ""
    }, {
      "label": "报警上报",
      "shortName": "",
      "icon": "assets/images/menu/日志3.0.png",
      "url": "product/maintenance/EventManage/EventReport/MenuEventReportView|eventType=系统报警",
      "config": ""
    }, {
      "label": "抢修上报",
      "shortName": "",
      "icon": "assets/images/menu/变更管理.png",
      "url": "product/maintenance/EventManage/EventReport/MenuEventReportView|eventType=抢修上报",
      "config": ""
    }, {
      "label": "检修上报",
      "shortName": "",
      "icon": "assets/images/menu/监控3.0.png",
      "url": "product/maintenance/EventManage/EventReport/MenuEventReportView|eventType=检修上报",
      "config": ""
    }, {
      "label": "工单办理",
      "shortName": "",
      "icon": "assets/images/menu/工程管理.png",
      "url": "product/maintenance/CaseManage/CaseDoingBox/StardCaseDoingBoxView|isDelay=0",
      "config": ""
    }, {
      "label": "工单总览",
      "shortName": "",
      "icon": "assets/images/menu/合同管理.png",
      "url": "product/maintenance/CaseManage/CaseOverviewBox/CaseOverviewBox",
      "config": ""
    }, {
      "label": "事件总览",
      "shortName": "",
      "icon": "assets/images/menu/任务管理.png",
      "url": "product/maintenance/EventManage/EventOverviewBox/EventOverviewListView",
      "config": ""
    }, {
      "label": "水箱清洗",
      "shortName": "",
      "icon": "assets/images/menuNew/DMA图标/02二级菜单/6-3漏点修复.svg",
      "url": "project/water/wenzhou/tankDetergent/tankDetergent",
      "config": ""
    }],
    "label": "泵房维修",
    "shortName": "工单",
    "icon": "assets/images/menuNew/02二级图标/调度监控.svg"
  }, {
    "widgets": [{
      "label": "能耗统计",
      "shortName": "能耗",
      "icon": "assets/images/menuNew/02二级图标/能耗分析.svg",
      "url": "productex/water/IOTMonitor/EnergyAnalysis/EnergyAnalysis|device=二供泵房-二供机组&targetName=出水累计流量,累计电量",
      "config": ""
    }, {
      "label": "运行评价",
      "shortName": "评价",
      "icon": "assets/images/menuNew/02二级图标/运行评价.svg",
      "url": "productex/water/IOTMonitor/OperationAnalysis/OperationAnalysis|device=二供泵房&deviceType=二供泵房&targetName=出水累计流量,累计电量&intervals=0,0.3,0.6,1.2",
      "config": ""
    }, {
      "label": "比泵分析",
      "shortName": "比泵",
      "icon": "assets/images/menuNew/02二级图标/经济性分析.svg",
      "url": "productex/water/IOTRawWater/PumpEconomicAnalysis/PumpEconomicAnalysis|device=二供泵房&targetName=累计电量,出水累计流量&price=0.7&water=200",
      "config": ""
    }, {
      "label": "运行概况",
      "shortName": "概况",
      "icon": "assets/images/menuNew/02二级图标/运行概况.svg",
      "url": "productex/water/IOTMonitor/RunStatus/RunStatus|device=二供泵房&targetName=出水累计流量,累计电量",
      "config": ""
    }, {
      "label": "供水分析",
      "shortName": "供水",
      "icon": "assets/images/menuNew/02二级图标/运行分析.svg",
      "url": "productex/water/IOTMonitor/TrafficAnalysis/TrafficAnalysis|device=二供泵房&targetName=出水累计流量_供水量:Sub",
      "config": ""
    }, {
      "label": "用电分析",
      "shortName": "用电",
      "icon": "assets/images/menuNew/02二级图标/运行分析.svg",
      "url": "productex/water/IOTMonitor/TrafficAnalysis/TrafficAnalysis|device=二供泵房&targetName=累计电量_用电量:Sub",
      "config": ""
    }],
    "label": "能耗分析",
    "shortName": "能耗",
    "icon": "assets/images/menuNew/02二级图标/能耗分析.svg"
  }, {
    "widgets": [{
      "label": "夜间小流量",
      "shortName": "小流量",
      "icon": "assets/images/menuNew/02二级图标/运行日志.svg",
      "url": "productex/water/IOTPump/NightLowFlow/NightLowFlow|device=二供泵房&flowName=出水瞬时流量",
      "config": ""
    }, {
      "label": "漏损排行榜",
      "shortName": "漏损",
      "icon": "assets/images/menuNew/02二级图标/运行状态.svg",
      "url": "productex/water/IOTPump/LeakageAnalysis/LeakageAnalysis|device=二供泵房&flowName1=出水累计流量&flowName2=出水瞬时流量&leakRate=20&timeType=day",
      "config": ""
    }, {
      "label": "等水压分布",
      "shortName": "水压",
      "icon": "assets/images/menuNew/02二级图标/调度方案.svg",
      "url": "project/water/qingpu/EquiscalarLine/EquiscalarLine",
      "config": "等水压线分布"
    }],
    "label": "漏损分析",
    "shortName": "漏损",
    "icon": "assets/images/menuNew/02二级图标/能耗分析.svg"
  }, {
    "widgets": [{
      "label": "泵房信息",
      "shortName": "",
      "icon": "assets/images/menuNew/02二级图标/台账管理.svg",
      "url": "product/maintenance/AccountManage/AccountManage|name=二供泵房",
      "config": ""
    }, {
      "label": "机组信息",
      "shortName": "",
      "icon": "assets/images/menuNew/02二级图标/台账管理.svg",
      "url": "product/maintenance/AccountManage/AccountManage|name=二供机组",
      "config": ""
    }, {
      "label": "门禁台账",
      "shortName": "",
      "icon": "assets/images/menuNew/02二级图标/台账管理.svg",
      "url": "product/maintenance/AccountManage/AccountManage|name=二供门禁",
      "config": ""
    }, {
      "label": "维保标准",
      "shortName": "",
      "icon": "assets/images/menuNew/02二级图标/台账管理.svg",
      "url": "product/maintenance/AccountManage/AccountManage|name=泵房维保标准表",
      "config": ""
    }],
    "label": "设施管理",
    "shortName": "资产",
    "icon": "assets/images/menuNew/02二级图标/设备管理.svg"
  }, {
    "widgets": [{
      "label": "设备分组",
      "shortName": "分组",
      "icon": "assets/images/menu/专项养护管理.png",
      "url": "product/oms/deviceGroup/deviceGroup",
      "config": ""
    }, {
      "label": "控制权限",
      "shortName": "控制",
      "icon": "assets/images/menu/检漏计划.png",
      "url": "product/pumpManageV3/MemberTaskStatistic/AuthorityConfig/AuthorityConfig",
      "config": ""
    }, {
      "label": "展示配置",
      "shortName": "展示",
      "icon": "assets/images/menu/工程管理.png",
      "url": "productex/water/IOTConfSetting/EditMenu/EditMenu",
      "config": ""
    }, {
      "label": "权限配置",
      "shortName": "权限",
      "icon": "assets/images/menu/default.png",
      "url": "product/oms/deviceGroup/deviceGroup",
      "config": ""
    }, {
      "label": "视频配置",
      "shortName": "视频",
      "icon": "assets/images/menu/监控3.0.png",
      "url": "product/oms/VideoConfig/VideoConfig",
      "config": ""
    }],
    "label": "系统设置",
    "shortName": "设置",
    "icon": "assets/images/menu/巡检设置.png"
  }],
  "label": "二供管理",
  "shortName": "二供",
  "icon": "assets/images/menuNew/01一级图标/泵房监控.svg"
}, {
  "widgets": [{
    "label": "业务总览",
    "shortName": "总览",
    "icon": "assets/images/menu/统计3.0.png",
    "url": "product/devicePlan/BusinessOverview/BusinessOverview",
    "config": ""
  }, {
    "label": "维保模板",
    "shortName": "模板",
    "icon": "assets/images/menu/工程管理.png",
    "url": "product/devicePlan/TemplatesManage/TemplatesManage|businessType=&businessName=",
    "config": ""
  }, {
    "label": "维保计划",
    "shortName": "计划",
    "icon": "assets/images/menu/签证管理.png",
    "url": "product/devicePlan/PlanManage/PlanManage",
    "config": ""
  }, {
    "label": "巡检任务",
    "shortName": "巡检",
    "icon": "assets/images/menu/流程管理.png",
    "url": "product/devicePlan/TaskManage/TaskManage|businessType=巡检&businessName=",
    "config": ""
  }, {
    "label": "维保任务",
    "shortName": "任务",
    "icon": "assets/images/menu/查询管理.png",
    "url": "product/devicePlan/TaskOverview/TaskOverview|businessType=&businessName=",
    "config": ""
  }, {
    "label": "任务审核",
    "shortName": "审核",
    "icon": "assets/images/menu/计划审核.png",
    "url": "product/maintenance/CaseManage/CaseDoingBox/StardCaseDoingBoxView|isDelay=0&flowName=计划任务送审",
    "config": ""
  }, {
    "label": "送审记录",
    "shortName": "记录",
    "icon": "assets/images/menu/工地建档管理.png",
    "url": "product/maintenance/CaseManage/CaseDoneBox/CaseDoneBox|flowName=计划任务送审",
    "config": ""
  }, {
    "label": "维保轨迹",
    "shortName": "轨迹",
    "icon": "assets/images/menu/巡检监控.png",
    "url": "product/patrol/PatrolTrace/PatrolTrace",
    "config": ""
  }],
  "label": "维保计划",
  "shortName": "维保",
  "icon": "assets/images/menu/竞赛管理.png"
}, {
  "widgets": [{
    "label": "总览",
    "shortName": "总览",
    "icon": "assets/images/menu/工程查询.png",
    "url": "Product/Maintenance/HomePage/HomePageCloud",
    "config": ""
  }, {
    "label": "事件总览",
    "shortName": "",
    "icon": "assets/images/menu/任务管理.png",
    "url": "product/maintenance/EventManage/EventOverviewBox/EventOverviewListView",
    "config": ""
  }, {
    "label": "工单总览",
    "shortName": "",
    "icon": "assets/images/menu/合同管理.png",
    "url": "product/maintenance/CaseManage/CaseOverviewBox/CaseOverviewBox",
    "config": ""
  }, {
    "label": "工单办理",
    "shortName": "",
    "icon": "assets/images/menu/工程管理.png",
    "url": "product/maintenance/CaseManage/CaseDoingBox/StardCaseDoingBoxView|isDelay=0",
    "config": ""
  }, {
    "label": "工单日志",
    "shortName": "",
    "icon": "assets/images/menu/巡检计划.png",
    "url": "product/maintenance/CaseManage/CaseDoneBox/CaseDoneBox",
    "config": ""
  }, {
    "label": "事件调度",
    "shortName": "",
    "icon": "assets/images/menu/工程管理.png",
    "url": "product/maintenance/EventManage/EventDispatchBox/EventDispatchBoxList",
    "config": ""
  }, {
    "widgets": [{
      "label": "报警上报",
      "shortName": "报警事件",
      "icon": "assets/images/menu/日志3.0.png",
      "url": "product/maintenance/EventManage/EventReport/MenuEventReportView|eventType=系统报警",
      "config": ""
    }, {
      "label": "事件总览",
      "shortName": "",
      "icon": "assets/images/menu/监控3.0.png",
      "url": "product/maintenance/EventManage/EventOverviewBox/EventOverviewListView|eventType=系统报警",
      "config": ""
    }, {
      "label": "工单办理",
      "shortName": "",
      "icon": "assets/images/menu/工程管理.png",
      "url": "product/maintenance/CaseManage/CaseDoingBox/StardCaseDoingBoxView|isDelay=0&flowName=报警处理流程",
      "config": ""
    }],
    "label": "报警事件",
    "shortName": "报警事件",
    "icon": "assets/images/menu/问题上报.png"
  }, {
    "widgets": [{
      "label": "事件上报",
      "shortName": "事件上报",
      "icon": "assets/images/menu/变更管理.png",
      "url": "product/maintenance/EventManage/EventReport/MenuEventReportView|eventType=抢修上报",
      "config": ""
    }, {
      "label": "事件总览",
      "shortName": "抢修事件",
      "icon": "assets/images/menu/检漏计划.png",
      "url": "product/maintenance/EventManage/EventOverviewBox/EventOverviewListView|eventType=抢修上报",
      "config": ""
    }, {
      "label": "工单办理",
      "shortName": "工单办理",
      "icon": "assets/images/menu/专项养护管理.png",
      "url": "product/maintenance/CaseManage/CaseDoingBox/StardCaseDoingBoxView|isDelay=0&flowName=抢修处理流程",
      "config": ""
    }],
    "label": "抢修事件",
    "shortName": "抢修事件",
    "icon": "assets/images/menu/接送气.png"
  }, {
    "widgets": [{
      "label": "事件上报",
      "shortName": "事件上报",
      "icon": "assets/images/menu/监控3.0.png",
      "url": "product/maintenance/EventManage/EventReport/MenuEventReportView|eventType=检修上报",
      "config": ""
    }, {
      "label": "事件总览",
      "shortName": "事件总览",
      "icon": "assets/images/menu/管网管理.png",
      "url": "product/maintenance/EventManage/EventOverviewBox/EventOverviewListView|eventType=检修上报",
      "config": ""
    }, {
      "label": "工单办理",
      "shortName": "工单办理",
      "icon": "assets/images/menu/合同管理.png",
      "url": "product/maintenance/CaseManage/CaseDoingBox/StardCaseDoingBoxView|isDelay=0&flowName=检修处理流程",
      "config": ""
    }],
    "label": "检修事件",
    "shortName": "检修事件",
    "icon": "assets/images/menu/工程施工.png"
  }],
  "label": "维修管理",
  "shortName": "",
  "icon": "assets/images/menu/ios/巡检养护.png"
}, {
  "widgets": [{
    "label": "调峰监控",
    "shortName": "设备",
    "icon": "assets/images/menu/pumpcare/一级菜单白色/6-远程监控.png",
    "url": "productex/water/IOTMonitor/DeviceMonitor/DeviceMonitor|device=调峰泵站-调峰机组",
    "config": ""
  }, {
    "label": "远程控制*",
    "shortName": "控制",
    "icon": "assets/images/menu/dark/7-综合调度.png",
    "url": "productex/water/IOTPump/PeakLoadMonitor/PeakLoadMonitor",
    "config": ""
  }, {
    "label": "地图监控",
    "shortName": "",
    "icon": "assets/images/menu/dark/9-管网GIS.png",
    "url": "productex/water/IOTMonitor/MapMonitor/MapMonitor|scales=1,2,4,8&device=调峰泵站",
    "config": ""
  }, {
    "label": "数据监控",
    "shortName": "数据",
    "icon": "assets/images/menu/统计3.0.png",
    "url": "productex/water/IOTMonitor/DataMonitor/DataMonitor|device=调峰泵站",
    "config": ""
  }, {
    "label": "视频监控",
    "shortName": "product/oms/VideoListAll/VideoListAll|project=panda_egbf&deviceType=调峰泵站&control=true",
    "icon": "assets/images/menu/pumpcare/一级菜单白色/1-视频监控.png",
    "url": "product/oms/VideoListAll/VideoListAll|device=调峰泵站&project=panda_egbf&control=true",
    "config": ""
  }, {
    "label": "门禁监控",
    "shortName": "门禁",
    "icon": "assets/images/menu/default.png",
    "url": "productex/water/IOTMonitor/SafetyMonitor/devicedoor/devicedoor|device=调峰泵站",
    "config": ""
  }, {
    "label": "能耗分析",
    "shortName": "",
    "icon": "assets/images/menu/pumpcare/一级菜单白色/4-数据分析.png",
    "url": "productex/water/IOTMonitor/EnergyAnalysis/EnergyAnalysis|accountName=调峰泵站&targetName=出水累计流量,累计电量",
    "config": ""
  }, {
    "label": "运行评价",
    "shortName": "",
    "icon": "assets/images/menu/统计分析.png",
    "url": "productex/water/IOTMonitor/OperationAnalysis/OperationAnalysis|deviceType=调峰泵站&targetName=出水累计流量,累计电量",
    "config": ""
  }, {
    "label": "运行概况",
    "shortName": "",
    "icon": "assets/images/menu/SCADA/一级菜单白色/报表统计.png",
    "url": "productex/water/IOTMonitor/RunStatus/RunStatus|deviceType=调峰泵站",
    "config": ""
  }, {
    "label": "运行时报",
    "shortName": "",
    "icon": "assets/images/menu/计划上报.png",
    "url": "productex/water/IOTMonitor/DataReportForHour/DataReportForHour|names=调峰机组;Max:出水实际压力",
    "config": ""
  }, {
    "label": "运行日志",
    "shortName": "",
    "icon": "assets/images/menu/工单3.0.png",
    "url": "productex/water/IOTMonitor/RunLogHistory/RunLogHistory|name=调峰泵站",
    "config": ""
  }, {
    "widgets": [{
      "label": "调峰信息",
      "shortName": "泵站",
      "icon": "assets/images/menu/webgis/二级菜单/功能窗口/事件展示.png",
      "url": "product/maintenance/AccountManage/AccountManage|name=调峰泵站",
      "config": ""
    }, {
      "label": "机组信息",
      "shortName": "机组",
      "icon": "assets/images/menu/webgis/二级菜单/功能窗口/事件展示.png",
      "url": "product/maintenance/AccountManage/AccountManage|name=调峰机组",
      "config": ""
    }],
    "label": "台账管理",
    "shortName": "台账",
    "icon": "assets/images/menu/巡检计划.png"
  }],
  "label": "调峰监控",
  "shortName": "调峰",
  "icon": "assets/images/menu/dark/4-泵房监控.png"
}, {
  "widgets": [{
    "label": "维修上报",
    "shortName": "维修",
    "icon": "assets/images/menu/查询管理.png",
    "url": "product/maintenance/EventManage/EventReport/MenuEventReportView|eventType=二供泵房维修",
    "config": ""
  }, {
    "label": "事件办理",
    "shortName": "维修",
    "icon": "assets/images/menu/合同管理.png",
    "url": "product/maintenance/EventManage/EventDispatchBox/EventDispatchBoxList|eventType=二供泵房维修",
    "config": ""
  }, {
    "label": "工单办理",
    "shortName": "维修",
    "icon": "assets/images/menu/工程管理.png",
    "url": "product/maintenance/CaseManage/CaseDoingBox/StardCaseDoingBoxView|isDelay=1&flowName=二供泵房维修",
    "config": ""
  }, {
    "label": "事件总览",
    "shortName": "维修",
    "icon": "assets/images/menu/dark/7-综合调度.png",
    "url": "product/maintenance/EventManage/EventOverviewBox/EventOverviewListView|eventType=二供泵房维修",
    "config": ""
  }, {
    "label": "工单总览",
    "shortName": "维修",
    "icon": "assets/images/menu/统计3.0.png",
    "url": "product/maintenance/CaseManage/CaseOverviewBox/CaseOverviewBox|flowName=二供泵房维修",
    "config": ""
  }, {
    "label": "事件上报历史",
    "shortName": "维修",
    "icon": "assets/images/menu/webgis/二级菜单/功能窗口/错误属性上报.png",
    "url": "product/maintenance/EventManage/EventReportHistory/EventReportHistory|isMe=1&eventType=二供泵房维修",
    "config": ""
  }, {
    "label": "工单办理日志",
    "shortName": "维修",
    "icon": "assets/images/menu/webgis/二级菜单/功能窗口/事件展示.png",
    "url": "product/maintenance/CaseManage/CaseDoneBox/CaseDoneBox|flowName=二供泵房维修",
    "config": ""
  }],
  "label": "维修管理旧",
  "shortName": "维修",
  "icon": "assets/images/menu/工程施工.png"
}, {
  "widgets": [{
    "label": "组态绘制",
    "shortName": "",
    "icon": "assets/images/menuNew/01一级图标/物联组态.svg",
    "url": "configuration/ConfigurationsSageView/ConfigurationsSageView",
    "config": ""
  }, {
    "label": "组态预览",
    "shortName": "",
    "icon": "assets/images/menuNew/一级/流程管理.svg",
    "url": "configuration/ConfigurationsInterface/ConfigurationsInterfaceView|title=二供泵房_箱式1_4_3&name=二供泵房_箱式1_4_3&devices=EGJZ00000001",
    "config": ""
  }],
  "label": "泵房工艺",
  "shortName": "泵房工艺",
  "icon": "assets/images/menuNew/02二级图标/二供工艺.svg"
}];
var timestamp = new Date().getTime();

var guid = function guid(prefix) {
  prefix = prefix || '';
  return prefix + (timestamp++).toString(36);
};

var generRotes = function generRotes(data) {
  var ret = [];
  data.forEach(function (item) {
    if (item.hasOwnProperty('widgets')) {
      ret.push({
        name: item.label,
        path: "/web4/".concat(guid('web_console')),
        component: 'BasicLayout',
        routes: generRotes(item.widgets),
        extData: _objectSpread({}, item)
      });
    } else {
      ret.push({
        name: item.label,
        component: 'BasicLayout',
        path: item.hasOwnProperty('url') ? "/web4/".concat(item.url) : guid('web_console'),
        extData: _objectSpread({}, item)
      });
    }
  });
  return ret;
};

var routes = generRotes(mockRoutes);
var _default = routes;
exports["default"] = _default;