|
@@ -1,39 +1,58 @@
|
|
|
-export default file => {
|
|
|
+export default (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'),
|
|
|
- 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"),
|
|
|
+ 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'),
|
|
|
-
|
|
|
+ zoningManage: () =>
|
|
|
+ import("@/views/currentSystem/regionalMetering/DMAManage"),
|
|
|
|
|
|
|
|
|
- DMAHomePage: () => import('@/views/currentSystem/regionalMetering/DMAHomePage'),
|
|
|
- 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"),
|
|
|
+ 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"),
|
|
|
+};
|