he wei
2025-05-21 4f2e7984e3f63ac3b869f7301cda7e74914922a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
const Layout = () => import('@/layout/index.vue');
 
const generalRouter = {
  path: '/general',
  component: Layout,
  redirect: 'noRedirect',
  name: 'General',
  meta: {
    title: '通用管理',
    icon: 'general-hdw',
  },
  children: [
    // {
    //   path: 'authorize',
    //   component: () => import('@/views/general/authorize/index.vue'),
    //   name: 'AuthManage',
    //   meta: { title: '授权管理', icon: 'auth-hdw', noCache: false }
    // },
    // {
    //   path: 'log',
    //   component: () => import('@/views/general/log/index.vue'),
    //   name: 'LogManage',
    //   meta: { title: '锁具日志', icon: 'log-hdw', noCache: false }
    // },
    {
      path: 'alarm-rt',
      component: () => import('@/views/general/alarm/alarmRt.vue'),
      name: 'alarmRt',
      meta: { title: '实时告警', icon: 'log-hdw', noCache: false }
    },
    // {
    //   path: 'alarm-his',
    //   component: () => import('@/views/general/alarm/alarmHis.vue'),
    //   name: 'alarmHis',
    //   meta: { title: '历史告警', icon: 'log-hdw', noCache: false }
    // },
    // {
    //   path: 'map',
    //   component: () => import('@/views/general/map/index.vue'),
    //   name: 'MapManage',
    //   meta: { title: '地图定位', icon: 'map-hdw', noCache: false, }
    // }
  ]
};
 
export default generalRouter;