Bella 2 tahun lalu
induk
melakukan
521068edf8

+ 3 - 3
src/components/auth/authAction.vue

@@ -1104,16 +1104,16 @@ export default {
           width: 98%;
           display: flex;
           align-items: center;
-          justify-content: center;
+          justify-content: flex-start;
           &-title {
-            width: 8%;
+            width: 100px;
             height: 100%;
             display: flex;
             align-items: center;
             justify-content: center;
           }
           &-select {
-            width: 87%;
+            width: calc(90% - 10px);
             height: 100%;
             display: flex;
             align-items: center;

+ 3 - 3
src/components/auth/authRole.vue

@@ -874,16 +874,16 @@ export default {
           width: 98%;
           display: flex;
           align-items: center;
-          justify-content: center;
+          justify-content: flex-start;
           &-title {
-            width: 8%;
+            width:100px;
             height: 100%;
             display: flex;
             align-items: center;
             justify-content: center;
           }
           &-select {
-            width: 87%;
+            width: calc(90% - 10px);
             height: 100%;
             display: flex;
             align-items: center;

+ 4 - 3
src/components/doubleCarbon/overview/charts/carbonQuotaChart.vue

@@ -133,9 +133,10 @@ export default {
           }
           arr.push(data[key])
         }
-        for (let i = 0; i < this.option.series.length; i++) {
-          this.option.series[i].data = arr[i]
-        }
+        // for (let i = 0; i < this.option.series.length; i++) {
+        //   this.option.series[i].data = arr[i]
+        // }
+        
         this.chart.setOption(this.option)
       })
     }

+ 5 - 10
src/data/json/menuList.json

@@ -90,6 +90,11 @@
     "router": "/business",
     "icon": "智慧运营.png",
     "children": [
+      {
+        "name": "运营分析",
+        "router": "/business/analysis",
+        "icon": "能源管理.png"
+      },
       {
         "name": "资产管理",
         "router": "/business/asset",
@@ -99,11 +104,6 @@
         "name": "空间管理",
         "router": "/business/space",
         "icon": "空间管理.png"
-      },
-      {
-        "name": "运营分析",
-        "router": "/business/analysis",
-        "icon": "能源管理.png"
       }
     ]
   },
@@ -165,11 +165,6 @@
             "name": "智慧会议",
             "router": "/scene/meeting/config",
             "icon": ""
-          },
-          {
-            "name": "统计分析",
-            "router": "/scene/meeting/overview",
-            "icon": ""
           }
         ]
       },

+ 323 - 270
src/router/index.js

@@ -1,416 +1,469 @@
-import Vue from 'vue'
-import VueRouter from 'vue-router'
-import HomeView from '../views/HomeView.vue'
-import LoginView from '@/views/LoginView.vue'
-import Notice from '@/components/notice/notice.vue'
-import Empty from '@/components/Empty.vue'
+import Vue from "vue";
+import VueRouter from "vue-router";
+import HomeView from "../views/HomeView.vue";
+import LoginView from "@/views/LoginView.vue";
+import Notice from "@/components/notice/notice.vue";
+import Empty from "@/components/Empty.vue";
 import IocDashboard from "@/components/dashboard/iocDashboard.vue";
 
-Vue.use(VueRouter)
+Vue.use(VueRouter);
 
 const router = new VueRouter({
-  mode: 'history',
+  mode: "history",
   base: import.meta.env.BASE_URL,
   routes: [
     {
-      path: '/',
-      name: 'home',
-      meta: {breadcrumb: '首页'},
+      path: "/",
+      name: "home",
+      meta: { breadcrumb: "首页" },
       component: HomeView,
       children: [
         {
-          path: '/empty',
-          name: 'empty',
-          meta: {breadcrumb: '空'},
+          path: "/empty",
+          name: "empty",
+          meta: { breadcrumb: "空" },
           component: Empty,
         },
         {
-          path: '/notice',
-          name: 'notice',
-          meta: {breadcrumb: '消息通知'},
+          path: "/notice",
+          name: "notice",
+          meta: { breadcrumb: "消息通知" },
           component: Notice,
         },
         {
-          path: '/dashboard',
-          name: 'dashboard',
-          meta: {breadcrumb: '智能看板'},
+          path: "/dashboard",
+          name: "dashboard",
+          meta: { breadcrumb: "智能看板" },
           component: IocDashboard,
         },
         {
-          path: '/life',
-          name: 'life',
-          meta: {breadcrumb: '智享生活'},
-          component: () => import('@/components/life/life.vue'),
+          path: "/life",
+          name: "life",
+          meta: { breadcrumb: "智享生活" },
+          component: () => import("@/components/life/life.vue"),
           children: [
             {
-              path: '/life/restaurant',
-              name: 'lifeRestaurant',
-              meta: {breadcrumb: '智慧餐厅'},
-              component: () => import('@/components/life/restaurant/lifeRestaurant.vue'),
+              path: "/life/restaurant",
+              name: "lifeRestaurant",
+              meta: { breadcrumb: "智慧餐厅" },
+              component: () =>
+                import("@/components/life/restaurant/lifeRestaurant.vue"),
             },
             {
-              path: '/life/parking',
-              name: 'lifeParking',
-              meta: {breadcrumb: '智慧停车'},
-              component: () => import('@/components/life/parking/lifeParking.vue'),
+              path: "/life/parking",
+              name: "lifeParking",
+              meta: { breadcrumb: "智慧停车" },
+              component: () =>
+                import("@/components/life/parking/lifeParking.vue"),
             },
             {
-              path: '/life/supermarket',
-              name: 'lifeSupermarket',
-              meta: {breadcrumb: '无人商超'},
-              component: () => import('@/components/life/supermarket/lifeSupermarket.vue'),
+              path: "/life/supermarket",
+              name: "lifeSupermarket",
+              meta: { breadcrumb: "无人商超" },
+              component: () =>
+                import("@/components/life/supermarket/lifeSupermarket.vue"),
             },
             {
-              path: '/life/healthyHome',
-              name: 'lifeHealthyHome',
-              meta: {breadcrumb: '健康小屋'},
-              component: () => import('@/components/life/healthyHome/lifeHealthyHome.vue'),
+              path: "/life/healthyHome",
+              name: "lifeHealthyHome",
+              meta: { breadcrumb: "健康小屋" },
+              component: () =>
+                import("@/components/life/healthyHome/lifeHealthyHome.vue"),
             },
-          ]
+          ],
         },
         {
-          path: '/work',
-          name: 'work',
-          meta: {breadcrumb: '智慧办公'},
-          component: () => import('@/components/work/work.vue'),
+          path: "/work",
+          name: "work",
+          meta: { breadcrumb: "智慧办公" },
+          component: () => import("@/components/work/work.vue"),
           children: [
             {
-              path: '/work/overview',
-              name: 'workOverview',
-              meta: {breadcrumb: '楼层概览'},
-              component: () => import('@/components/work/overview/workOverview.vue'),
+              path: "/work/overview",
+              name: "workOverview",
+              meta: { breadcrumb: "楼层概览" },
+              component: () =>
+                import("@/components/work/overview/workOverview.vue"),
             },
             {
-              path: '/work/meeting',
-              name: 'workMeeting',
-              meta: {breadcrumb: '会议管理'},
-              component: () => import('@/components/work/meeting/workMeeting.vue'),
+              path: "/work/meeting",
+              name: "workMeeting",
+              meta: { breadcrumb: "会议管理" },
+              component: () =>
+                import("@/components/work/meeting/workMeeting.vue"),
             },
             {
-              path: '/work/print',
-              name: 'workPrint',
-              meta: {breadcrumb: '文印管理'},
-              component: () => import('@/components/work/print/workPrint.vue'),
+              path: "/work/print",
+              name: "workPrint",
+              meta: { breadcrumb: "文印管理" },
+              component: () => import("@/components/work/print/workPrint.vue"),
             },
             {
-              path: '/work/bus',
-              name: 'workBus',
-              meta: {breadcrumb: '公车管理'},
-              component: () => import('@/components/work/bus/workBus.vue'),
+              path: "/work/bus",
+              name: "workBus",
+              meta: { breadcrumb: "公车管理" },
+              component: () => import("@/components/work/bus/workBus.vue"),
             },
-          ]
+          ],
         },
         {
-          path: '/doubleCarbon',
-          name: 'doubleCarbon',
-          meta: {breadcrumb: '数智双碳'},
-          component: () => import('@/components/doubleCarbon/doubleCarbon.vue'),
+          path: "/doubleCarbon",
+          name: "doubleCarbon",
+          meta: { breadcrumb: "数智双碳" },
+          component: () => import("@/components/doubleCarbon/doubleCarbon.vue"),
           children: [
             {
-              path: '/doubleCarbon/overview',
-              name: 'doubleCarbonOverview',
-              meta: {breadcrumb: '双碳概览'},
-              component: () => import('@/components/doubleCarbon/overview/doubleCarbonOverview.vue'),
+              path: "/doubleCarbon/overview",
+              name: "doubleCarbonOverview",
+              meta: { breadcrumb: "双碳概览" },
+              component: () =>
+                import(
+                  "@/components/doubleCarbon/overview/doubleCarbonOverview.vue"
+                ),
             },
             {
-              path: '/doubleCarbon/car',
-              name: 'doubleCarbonCar',
-              meta: {breadcrumb: '车辆排放'},
-              component: () => import('@/components/doubleCarbon/car/doubleCarbonCar.vue'),
+              path: "/doubleCarbon/car",
+              name: "doubleCarbonCar",
+              meta: { breadcrumb: "车辆排放" },
+              component: () =>
+                import("@/components/doubleCarbon/car/doubleCarbonCar.vue"),
             },
             {
-              path: '/doubleCarbon/print',
-              name: 'doubleCarbonPrint',
-              meta: {breadcrumb: '文印排放'},
-              component: () => import('@/components/doubleCarbon/print/doubleCarbonPrint.vue'),
+              path: "/doubleCarbon/print",
+              name: "doubleCarbonPrint",
+              meta: { breadcrumb: "文印排放" },
+              component: () =>
+                import("@/components/doubleCarbon/print/doubleCarbonPrint.vue"),
             },
             {
-              path: '/doubleCarbon/pv',
-              name: 'doubleCarbonPv',
-              meta: {breadcrumb: '光伏发电'},
-              component: () => import('@/components/doubleCarbon/PV/doubleCarbonPv.vue'),
+              path: "/doubleCarbon/pv",
+              name: "doubleCarbonPv",
+              meta: { breadcrumb: "光伏发电" },
+              component: () =>
+                import("@/components/doubleCarbon/PV/doubleCarbonPv.vue"),
             },
-          ]
+          ],
         },
         {
-          path: '/business',
-          name: 'business',
-          meta: {breadcrumb: '智慧运营'},
-          component: () => import('@/components/business/business.vue'),
+          path: "/business",
+          name: "business",
+          meta: { breadcrumb: "智慧运营" },
+          component: () => import("@/components/business/business.vue"),
           children: [
             {
-              path: '/business/asset',
-              name: 'businessAsset',
-              meta: {breadcrumb: '资产管理'},
-              component: () => import('@/components/business/asset/asset.vue'),
+              path: "/business/analysis",
+              name: "businessAnalysis",
+              meta: { breadcrumb: "运营分析" },
+              component: () =>
+                import("@/components/business/analysis/analysis.vue"),
             },
             {
-              path: '/business/space',
-              name: 'businessSpace',
-              meta: {breadcrumb: '空间管理'},
-              component: () => import('@/components/business/space/space.vue'),
+              path: "/business/asset",
+              name: "businessAsset",
+              meta: { breadcrumb: "资产管理" },
+              component: () => import("@/components/business/asset/asset.vue"),
             },
             {
-              path: '/business/analysis',
-              name: 'businessAnalysis',
-              meta: {breadcrumb: '运营分析'},
-              component: () => import('@/components/business/analysis/analysis.vue'),
-            }
-          ]
+              path: "/business/space",
+              name: "businessSpace",
+              meta: { breadcrumb: "空间管理" },
+              component: () => import("@/components/business/space/space.vue"),
+            },
+          ],
         },
         {
-          path: '/report',
-          name: 'report',
-          meta: {breadcrumb: '报表报告'},
-          component: () => import('@/components/report/report.vue'),
+          path: "/report",
+          name: "report",
+          meta: { breadcrumb: "报表报告" },
+          component: () => import("@/components/report/report.vue"),
           children: [
             {
-              path: '/report/table',
-              name: 'reportTable',
-              meta: {breadcrumb: '报表'},
-              component: () => import('@/components/report/reportTable.vue'),
+              path: "/report/table",
+              name: "reportTable",
+              meta: { breadcrumb: "报表" },
+              component: () => import("@/components/report/reportTable.vue"),
               children: [
                 {
-                  path: '/report/table/custom',
-                  name: 'reportTableCustom',
-                  meta: {breadcrumb: '能源报警报表'},
-                  component: () => import('@/components/report/table/reportTableCustom.vue')
+                  path: "/report/table/custom",
+                  name: "reportTableCustom",
+                  meta: { breadcrumb: "能源报警报表" },
+                  component: () =>
+                    import("@/components/report/table/reportTableCustom.vue"),
                 },
                 {
-                  path: '/report/table/life',
-                  name: 'reportTableLife',
-                  meta: {breadcrumb: '智享生活报表'},
-                  component: () => import('@/components/report/table/reportTableLife.vue')
+                  path: "/report/table/life",
+                  name: "reportTableLife",
+                  meta: { breadcrumb: "智享生活报表" },
+                  component: () =>
+                    import("@/components/report/table/reportTableLife.vue"),
                 },
                 {
-                  path: '/report/table/work',
-                  name: 'reportTableWork',
-                  meta: {breadcrumb: '智慧办公报表'},
-                  component: () => import('@/components/report/table/reportTableWork.vue')
+                  path: "/report/table/work",
+                  name: "reportTableWork",
+                  meta: { breadcrumb: "智慧办公报表" },
+                  component: () =>
+                    import("@/components/report/table/reportTableWork.vue"),
                 },
                 {
-                  path: '/report/table/carbon',
-                  name: 'reportTableCarbon',
-                  meta: {breadcrumb: '数智双碳报表'},
-                  component: () => import('@/components/report/table/reportTableCarbon.vue')
+                  path: "/report/table/carbon",
+                  name: "reportTableCarbon",
+                  meta: { breadcrumb: "数智双碳报表" },
+                  component: () =>
+                    import("@/components/report/table/reportTableCarbon.vue"),
                 },
                 {
-                  path: '/report/table/operation',
-                  name: 'reportTableOperation',
-                  meta: {breadcrumb: '智慧运营报表'},
-                  component: () => import('@/components/report/table/reportTableOperation.vue')
+                  path: "/report/table/operation",
+                  name: "reportTableOperation",
+                  meta: { breadcrumb: "智慧运营报表" },
+                  component: () =>
+                    import(
+                      "@/components/report/table/reportTableOperation.vue"
+                    ),
                 },
                 {
-                  path: '/report/table/reportTableSecurity',
-                  name: 'reportTableSecurity',
-                  meta: {breadcrumb: '智慧安防报表'},
-                  component: () => import('@/components/report/table/reportTableSecurity.vue')
+                  path: "/report/table/reportTableSecurity",
+                  name: "reportTableSecurity",
+                  meta: { breadcrumb: "智慧安防报表" },
+                  component: () =>
+                    import("@/components/report/table/reportTableSecurity.vue"),
                 },
-              ]
+              ],
             },
             {
-              path: '/report/data',
-              name: 'reportData',
-              meta: {breadcrumb: '报告'},
-              component: () => import('@/components/report/reportData.vue'),
+              path: "/report/data",
+              name: "reportData",
+              meta: { breadcrumb: "报告" },
+              component: () => import("@/components/report/reportData.vue"),
               children: [
                 {
-                  path: '/report/data/restaurant',
-                  name: 'reportDataRestaurant',
-                  meta: {breadcrumb: '餐厅消费报告'},
-                  component: () => import('@/components/report/data/reportDataRestaurant.vue')
-                }
-              ]
-            }
-          ]
+                  path: "/report/data/restaurant",
+                  name: "reportDataRestaurant",
+                  meta: { breadcrumb: "餐厅消费报告" },
+                  component: () =>
+                    import("@/components/report/data/reportDataRestaurant.vue"),
+                },
+              ],
+            },
+          ],
         },
         {
-          path: '/security',
-          name: 'security',
-          meta: {breadcrumb: '智慧安防'},
-          component: () => import('@/components/security/security.vue'),
+          path: "/security",
+          name: "security",
+          meta: { breadcrumb: "智慧安防" },
+          component: () => import("@/components/security/security.vue"),
           children: [
             {
-              path: '/security/person',
-              name: 'securityPerson',
-              meta: {breadcrumb: '安防人员', hideChild: true},
-              component: () => import('@/components/security/person/securityPerson.vue'),
+              path: "/security/person",
+              name: "securityPerson",
+              meta: { breadcrumb: "安防人员", hideChild: true },
+              component: () =>
+                import("@/components/security/person/securityPerson.vue"),
               children: [
                 {
-                  path: '/security/person/more',
-                  name: 'securityPersonMore',
-                  meta: {breadcrumb: '更多'},
-                  component: () => import('@/components/security/person/securityPersonMore.vue'),
-                }
-              ]
+                  path: "/security/person/more",
+                  name: "securityPersonMore",
+                  meta: { breadcrumb: "更多" },
+                  component: () =>
+                    import(
+                      "@/components/security/person/securityPersonMore.vue"
+                    ),
+                },
+              ],
             },
             {
-              path: '/security/alarm',
-              name: 'securityAlarm',
-              meta: {breadcrumb: '安消联动'},
-              component: () => import('@/components/security/alarm/securityAlarm.vue'),
+              path: "/security/alarm",
+              name: "securityAlarm",
+              meta: { breadcrumb: "安消联动" },
+              component: () =>
+                import("@/components/security/alarm/securityAlarm.vue"),
               children: [
                 {
-                  path: '/security/alarm/map',
-                  name: 'securityAlarmMap',
-                  meta: {breadcrumb: '地图模式'},
-                  component: () => import('@/components/security/alarm/securityAlarmMap.vue'),
+                  path: "/security/alarm/map",
+                  name: "securityAlarmMap",
+                  meta: { breadcrumb: "地图模式" },
+                  component: () =>
+                    import("@/components/security/alarm/securityAlarmMap.vue"),
                 },
                 {
-                  path: '/security/alarm/grid',
-                  name: 'securityAlarmGrid',
-                  meta: {breadcrumb: '宫格模式'},
-                  component: () => import('@/components/security/alarm/securityAlarmGrid.vue'),
+                  path: "/security/alarm/grid",
+                  name: "securityAlarmGrid",
+                  meta: { breadcrumb: "宫格模式" },
+                  component: () =>
+                    import("@/components/security/alarm/securityAlarmGrid.vue"),
                 },
                 {
-                  path: '/security/alarm/manage',
-                  name: 'securityAlarmManage',
-                  meta: {breadcrumb: '告警管理'},
-                  component: () => import('@/components/security/alarm/securityAlarmManage.vue'),
+                  path: "/security/alarm/manage",
+                  name: "securityAlarmManage",
+                  meta: { breadcrumb: "告警管理" },
+                  component: () =>
+                    import(
+                      "@/components/security/alarm/securityAlarmManage.vue"
+                    ),
                 },
                 {
-                  path: '/security/alarm/info',
-                  name: 'securityAlarmInfo',
-                  meta: {breadcrumb: '告警库'},
-                  component: () => import('@/components/security/alarm/securityAlarmInfo.vue'),
+                  path: "/security/alarm/info",
+                  name: "securityAlarmInfo",
+                  meta: { breadcrumb: "告警库" },
+                  component: () =>
+                    import("@/components/security/alarm/securityAlarmInfo.vue"),
                 },
-              ]
+              ],
             },
             {
-              path: '/security/device',
-              name: 'securityDevice',
-              meta: {breadcrumb: '设备交互'},
-              component: () => import('@/components/security/device/securityDevice.vue'),
+              path: "/security/device",
+              name: "securityDevice",
+              meta: { breadcrumb: "设备交互" },
+              component: () =>
+                import("@/components/security/device/securityDevice.vue"),
             },
-          ]
+          ],
         },
         {
-          path: '/scene',
-          name: 'scene',
-          meta: {breadcrumb: '智慧场景'},
-          component: () => import('@/components/scene/scene.vue'),
+          path: "/scene",
+          name: "scene",
+          meta: { breadcrumb: "智慧场景" },
+          component: () => import("@/components/scene/scene.vue"),
           children: [
             {
-              path: '/scene/meeting',
-              name: 'sceneMeeting',
-              meta: {breadcrumb: '智·会议'},
-              component: () => import('@/components/scene/meeting/sceneMeeting.vue'),
+              path: "/scene/meeting",
+              name: "sceneMeeting",
+              meta: { breadcrumb: "智·会议" },
+              component: () =>
+                import("@/components/scene/meeting/sceneMeeting.vue"),
               children: [
                 {
-                  path: '/scene/meeting/config',
-                  name: 'sceneMeetingConfig',
-                  meta: {breadcrumb: '智慧会议'},
-                  component: () => import('@/components/scene/meeting/sceneMeetingConfig.vue'),
+                  path: "/scene/meeting/config",
+                  name: "sceneMeetingConfig",
+                  meta: { breadcrumb: "智慧会议" },
+                  component: () =>
+                    import("@/components/scene/meeting/sceneMeetingConfig.vue"),
                 },
-                {
-                  path: '/scene/meeting/overview',
-                  name: 'sceneMeetingOverview',
-                  meta: {breadcrumb: '统计分析'},
-                  component: () => import('@/components/scene/meeting/sceneMeetingOverview.vue'),
-                },
-              ]
+                // {
+                //   path: "/scene/meeting/overview",
+                //   name: "sceneMeetingOverview",
+                //   meta: { breadcrumb: "统计分析" },
+                //   component: () =>
+                //     import(
+                //       "@/components/scene/meeting/sceneMeetingOverview.vue"
+                //     ),
+                // },
+              ],
             },
             {
-              path: '/scene/energy',
-              name: 'sceneEnergy',
-              meta: {breadcrumb: '智·能源'},
-              component: () => import('@/components/scene/energy/sceneEnergy.vue'),
+              path: "/scene/energy",
+              name: "sceneEnergy",
+              meta: { breadcrumb: "智·能源" },
+              component: () =>
+                import("@/components/scene/energy/sceneEnergy.vue"),
               children: [
                 {
-                  path: '/scene/energy/aircondition',
-                  name: 'sceneEnergyAircondition',
-                  meta: {breadcrumb: '智能空调'},
-                  component: () => import('@/components/scene/energy/sceneEnergyAircondition.vue'),
+                  path: "/scene/energy/aircondition",
+                  name: "sceneEnergyAircondition",
+                  meta: { breadcrumb: "智能空调" },
+                  component: () =>
+                    import(
+                      "@/components/scene/energy/sceneEnergyAircondition.vue"
+                    ),
                 },
                 {
-                  path: '/scene/energy/light',
-                  name: 'sceneEnergyLight',
-                  meta: {breadcrumb: '智能照明'},
-                  component: () => import('@/components/scene/energy/sceneEnergyLight.vue'),
+                  path: "/scene/energy/light",
+                  name: "sceneEnergyLight",
+                  meta: { breadcrumb: "智能照明" },
+                  component: () =>
+                    import("@/components/scene/energy/sceneEnergyLight.vue"),
                 },
                 {
-                  path: '/scene/energy/water',
-                  name: 'sceneEnergyWater',
-                  meta: {breadcrumb: '智能饮水机'},
-                  component: () => import('@/components/scene/energy/sceneEnergyWater.vue'),
+                  path: "/scene/energy/water",
+                  name: "sceneEnergyWater",
+                  meta: { breadcrumb: "智能饮水机" },
+                  component: () =>
+                    import("@/components/scene/energy/sceneEnergyWater.vue"),
                 },
-              ]
+              ],
             },
             {
-              path: '/scene/access',
-              name: 'sceneAccess',
-              meta: {breadcrumb: '智·安防'},
-              component: () => import('@/components/scene/access/sceneAccess.vue'),
+              path: "/scene/access",
+              name: "sceneAccess",
+              meta: { breadcrumb: "智·安防" },
+              component: () =>
+                import("@/components/scene/access/sceneAccess.vue"),
               children: [
                 {
-                  path: '/scene/access/manage',
-                  name: 'sceneAccessManage',
-                  meta: {breadcrumb: '门禁管理'},
-                  component: () => import('@/components/scene/access/sceneAccessManage.vue'),
+                  path: "/scene/access/manage",
+                  name: "sceneAccessManage",
+                  meta: { breadcrumb: "门禁管理" },
+                  component: () =>
+                    import("@/components/scene/access/sceneAccessManage.vue"),
                 },
                 {
-                  path: '/scene/access/guest',
-                  name: 'sceneAccessGuest',
-                  meta: {breadcrumb: '访客管理'},
-                  component: () => import('@/components/scene/access/sceneAccessGuestManage.vue'),
+                  path: "/scene/access/guest",
+                  name: "sceneAccessGuest",
+                  meta: { breadcrumb: "访客管理" },
+                  component: () =>
+                    import(
+                      "@/components/scene/access/sceneAccessGuestManage.vue"
+                    ),
                 },
                 {
-                  path: '/scene/access/park',
-                  name: 'sceneAccessPark',
-                  meta: {breadcrumb: '停车管理'},
-                  component: () => import('@/components/scene/access/sceneAccessParkManage.vue'),
+                  path: "/scene/access/park",
+                  name: "sceneAccessPark",
+                  meta: { breadcrumb: "停车管理" },
+                  component: () =>
+                    import(
+                      "@/components/scene/access/sceneAccessParkManage.vue"
+                    ),
                 },
                 {
-                  path: '/scene/access/action',
-                  name: 'sceneAccessAction',
-                  meta: {breadcrumb: '行为感知'},
-                  component: () => import('@/components/scene/access/sceneAccessAction.vue'),
-                }
-              ]
+                  path: "/scene/access/action",
+                  name: "sceneAccessAction",
+                  meta: { breadcrumb: "行为感知" },
+                  component: () =>
+                    import("@/components/scene/access/sceneAccessAction.vue"),
+                },
+              ],
             },
-          ]
+          ],
         },
         {
-          path: '/auth',
-          name: 'auth',
-          meta: {breadcrumb: '统一鉴权'},
-          component: () => import('@/components/auth/auth.vue'),
+          path: "/auth",
+          name: "auth",
+          meta: { breadcrumb: "统一鉴权" },
+          component: () => import("@/components/auth/auth.vue"),
           children: [
             {
-              path: '/auth/role',
-              name: 'authRole',
-              meta: {breadcrumb: '角色权限'},
-              component: () => import('@/components/auth/authRole.vue')
+              path: "/auth/role",
+              name: "authRole",
+              meta: { breadcrumb: "角色权限" },
+              component: () => import("@/components/auth/authRole.vue"),
             },
             {
-              path: '/auth/action',
-              name: 'authAction',
-              meta: {breadcrumb: '行为权限'},
-              component: () => import('@/components/auth/authAction.vue')
+              path: "/auth/action",
+              name: "authAction",
+              meta: { breadcrumb: "行为权限" },
+              component: () => import("@/components/auth/authAction.vue"),
             },
             {
-              path: '/auth/view',
-              name: 'authView',
-              meta: {breadcrumb: '权限查看'},
-              component: () => import('@/components/auth/authView.vue')
+              path: "/auth/view",
+              name: "authView",
+              meta: { breadcrumb: "权限查看" },
+              component: () => import("@/components/auth/authView.vue"),
             },
-          ]
+          ],
         },
-
       ],
     },
     {
-      path: '/login',
-      name: 'login',
-      meta: {breadcrumb: '登录'},
+      path: "/login",
+      name: "login",
+      meta: { breadcrumb: "登录" },
       component: LoginView,
     },
   ],
-})
+});
 
 let routerPush = VueRouter.prototype.push;
 VueRouter.prototype.push = function push(location) {
-  return routerPush.call(this, location).catch(err => err)
-}
+  return routerPush.call(this, location).catch((err) => err);
+};
 
-export default router
+export default router;