whychdw
2025-06-06 d0f98ad8e1047e3161a458399ad3005404ed87b8
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
const Layout = () => import('@/layout/index.vue');
 
const systemRouter = {
  path: '/alarm',
  component: Layout,
  redirect: 'noRedirect',
  name: 'alarm',
  meta: {
    title: '告警管理',
    icon: 'alarm'
  },
  children: [
    {
      path: 'batt',
      component: () => import('@/views/alarm/battAlarm.vue'),
      name: 'battAlarm',
      meta: { title: '电池实时告警', icon: 'alarm', noCache: false }
    },
    {
      path: 'batt-his',
      component: () => import('@/views/alarm/battHisAlarm.vue'),
      name: 'battHisAlarm',
      meta: { title: '电池历史告警', icon: 'alarm', noCache: false }
    },
    {
      path: 'dev',
      component: () => import('@/views/alarm/devAlarm.vue'),
      name: 'devAlarm',
      meta: { title: '设备实时告警', icon: 'alarm', noCache: false }
    },
    {
      path: 'pwr',
      component: () => import('@/views/alarm/pwrAlarm.vue'),
      name: 'pwrAlarm',
      meta: { title: '电源实时告警', icon: 'alarm', noCache: false }
    },
  ]
};
 
export default systemRouter;