|
@@ -1,39 +1,58 @@
|
|
|
-export default file => {
|
|
|
+export default (file) => {
|
|
|
// console.log(file);
|
|
|
- return map[file] || null
|
|
|
-}
|
|
|
+ return map[file] || null;
|
|
|
+};
|
|
|
const map = {
|
|
|
- Layout: () => import('@/layout'),
|
|
|
- Dashboard: () => import('@/views/currentSystem/dashboard'), // 首页
|
|
|
- currentSystem: () => import('@/views/currentSystem/index'), // 当前系统的路由
|
|
|
- Map: () => import('@/views/zhpt/index'),
|
|
|
- funMap: () => import('@/views/currentSystem/map/funCom/index'),
|
|
|
+ Layout: () => import("@/layout"),
|
|
|
+ Dashboard: () => import("@/views/currentSystem/dashboard"), // 首页
|
|
|
+ currentSystem: () => import("@/views/currentSystem/index"), // 当前系统的路由
|
|
|
+ Map: () => import("@/views/zhpt/index"),
|
|
|
+ funMap: () => import("@/views/currentSystem/map/funCom/index"),
|
|
|
// 系统权限
|
|
|
- userManage: () => import('@/views/currentSystem/authorityManagement/userRights/index'), // 用户管理
|
|
|
- roleManage: () => import('@/views/currentSystem/authorityManagement/rolePermission/index'), // 角色管理
|
|
|
- journalManage: () => import('@/views/currentSystem/authorityManagement/journal/index'), // 日志管理
|
|
|
- userAnalysis: () => import('@/views/currentSystem/authorityManagement/userAnalysis/index'), // 用户分析
|
|
|
- appManage: () => import('@/views/currentSystem/authorityManagement/APPV/index'), // APP管理
|
|
|
- ModulesManage: () => import('@/views/currentSystem/authorityManagement/modulesManage/index'), // 模块管理
|
|
|
- departmentManage: () => import('@/views/currentSystem/authorityManagement/section/index'), // 单位管理
|
|
|
- serviceManage: () => import('@/views/currentSystem/authorityManagement/serviceConfig/index'), // 服务配置
|
|
|
- moduleAnalysis: () => import('@/views/currentSystem/authorityManagement/moduleAnalysis/index'), // 模块分析
|
|
|
+ userManage: () =>
|
|
|
+ import("@/views/currentSystem/authorityManagement/userRights/index"), // 用户管理
|
|
|
+ roleManage: () =>
|
|
|
+ import("@/views/currentSystem/authorityManagement/rolePermission/index"), // 角色管理
|
|
|
+ journalManage: () =>
|
|
|
+ import("@/views/currentSystem/authorityManagement/journal/index"), // 日志管理
|
|
|
+ userAnalysis: () =>
|
|
|
+ import("@/views/currentSystem/authorityManagement/userAnalysis/index"), // 用户分析
|
|
|
+ appManage: () =>
|
|
|
+ import("@/views/currentSystem/authorityManagement/APPV/index"), // APP管理
|
|
|
+ ModulesManage: () =>
|
|
|
+ import("@/views/currentSystem/authorityManagement/modulesManage/index"), // 模块管理
|
|
|
+ departmentManage: () =>
|
|
|
+ import("@/views/currentSystem/authorityManagement/section/index"), // 单位管理
|
|
|
+ serviceManage: () =>
|
|
|
+ import("@/views/currentSystem/authorityManagement/serviceConfig/index"), // 服务配置
|
|
|
+ moduleAnalysis: () =>
|
|
|
+ import("@/views/currentSystem/authorityManagement/moduleAnalysis/index"), // 模块分析
|
|
|
|
|
|
// 区域计量
|
|
|
- zoningManage: () => import('@/views/currentSystem/regionalMetering/DMAManage'), // DMA分区
|
|
|
-
|
|
|
+ zoningManage: () =>
|
|
|
+ import("@/views/currentSystem/regionalMetering/DMAManage"), // DMA分区
|
|
|
|
|
|
//DMA分区子系统 /shiYuan//leakageRate
|
|
|
- DMAHomePage: () => import('@/views/currentSystem/regionalMetering/DMAHomePage'), // DMA分区首页
|
|
|
- sheetsForObserve: () => import('@/views/currentSystem/regionalMetering/zone/sheetsForObserve'), // 区域视察表
|
|
|
- minStroomAnalyse: () => import('@/views/shiYuan/statisticalAnalysis/minStroomAnalyse/widget'), // 夜间最小流量
|
|
|
- minuteWaterReport: () => import('@/views/currentSystem/regionalMetering/statisticalReport/minuteWaterReport'), // 统计报表-分时用水统计
|
|
|
- waterSupplyReport:()=> import('@/views/shiYuan/statisticalAnalysis/waterSupplyReport/widget'), // 供水量报表
|
|
|
- leakageRate: () => import('@/views/shiYuan/statisticalAnalysis/leakageRate/widget'), // 统计分析-漏损率指标分析
|
|
|
- dayilyReport: () => import('@/views/shiYuan/monitoringCenter/dayilyReport/widget'), // 监测日报
|
|
|
-
|
|
|
+ DMAHomePage: () =>
|
|
|
+ import("@/views/currentSystem/regionalMetering/DMAHomePage"), // DMA分区首页
|
|
|
+ sheetsForObserve: () =>
|
|
|
+ import("@/views/currentSystem/regionalMetering/zone/sheetsForObserve"), // 区域视察表
|
|
|
+ minStroomAnalyse: () =>
|
|
|
+ import("@/views/shiYuan/statisticalAnalysis/minStroomAnalyse/widget"), // 夜间最小流量
|
|
|
+ minuteWaterReport: () =>
|
|
|
+ import(
|
|
|
+ "@/views/currentSystem/regionalMetering/statisticalReport/minuteWaterReport"
|
|
|
+ ), // 统计报表-分时用水统计
|
|
|
+ waterSupplyReport: () =>
|
|
|
+ import("@/views/shiYuan/statisticalAnalysis/waterSupplyReport/widget"), // 供水量报表
|
|
|
+ leakageRate: () =>
|
|
|
+ import("@/views/shiYuan/statisticalAnalysis/leakageRate/widget"), // 统计分析-漏损率指标分析
|
|
|
+ dayilyReport: () =>
|
|
|
+ import("@/views/shiYuan/monitoringCenter/dayilyReport/widget"), // 监测日报
|
|
|
|
|
|
//配置管理
|
|
|
- indicatorsManage: () => import('@/views/shiYuan/configManage/indicatorsManage/widget'), // 指标类型管理
|
|
|
- waringTypeManage: () => import('@/views/shiYuan/configManage/waringTypeManage/widget'), // 报警类型管理
|
|
|
-}
|
|
|
+ indicatorsManage: () =>
|
|
|
+ import("@/views/shiYuan/configManage/indicatorsManage/widget"), // 指标类型管理
|
|
|
+ waringTypeManage: () =>
|
|
|
+ import("@/views/shiYuan/configManage/waringTypeManage/widget"), // 报警类型管理
|
|
|
+};
|