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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
| import Layout from "@/layout/index.vue";
| const routes = [
| {
| path: '/redirect',
| component: Layout,
| hidden: true,
| children: [
| {
| path: '/redirect/:path(.*)',
| component: () => import('@/views/redirect/index')
| }
| ]
| },
| {
| path: '/login',
| component: () => import('@/views/login/index'),
| hidden: true
| },
| {
| path: "/",
| component: Layout,
| redirect: "/home",
| children: [
| {
| path: 'home',
| component: () => import('@/views/home/index'),
| name: 'home',
| meta: { title: '首页', icon: 'dashboard', affix: true }
| }
| ]
| },
| {
| path: "/realtime",
| component: Layout,
| meta: { title: "实时监控", icon: 'dashboard'},
| name: "realtime",
| children: [
| {
| path: '',
| component: () => import('@/views/realTime'),
| name: 'realtime',
| meta: {title: '实时监控', icon: 'dashboard'}
| },
| ]
| },
| {
| path: "/switchcontrol",
| component: Layout,
| meta: { title: "交流/直流微断测控", icon: 'dashboard'},
| name: "switchControl",
| children: [
| {
| path: '',
| component: () => import('@/views/switchControl'),
| name: 'switchControl',
| meta: {title: '交流/直流微断测控', icon: 'dashboard'}
| },
| ]
| },
| {
| path: "/power-cabinet-control",
| component: Layout,
| meta: { title: "通信电源柜测控", icon: 'dashboard'},
| name: "powerCabinetControl",
| children: [
| {
| path: '',
| component: () => import('@/views/powerCabinetControl'),
| name: 'powerCabinetControl',
| meta: {title: '通信电源柜测控', icon: 'dashboard'}
| },
| ]
| },
| {
| path: "/power-cabinet-rtalarm",
| component: Layout,
| meta: { title: "电源柜实时告警", icon: 'dashboard'},
| name: "powerCabinetRtalarm",
| children: [
| {
| path: '',
| component: () => import('@/views/powerCabinetRtalarm'),
| name: 'powerCabinetRtalarm',
| meta: {title: '电源柜实时告警', icon: 'dashboard'}
| },
| ]
| },
| {
| path: "/power-cabinet-hisalarm",
| component: Layout,
| meta: { title: "电源柜历史告警", icon: 'dashboard'},
| name: "powerCabinetHisalarm",
| children: [
| {
| path: '',
| component: () => import('@/views/powerCabinetHisalarm'),
| name: 'powerCabinetHisalarm',
| meta: {title: '电源柜历史告警', icon: 'dashboard'}
| },
| ]
| },
| {
| path: "/test-record",
| component: Layout,
| meta: { title: "交直流断路测控记录", icon: 'dashboard'},
| name: "testRecord",
| children: [
| {
| path: '',
| component: () => import('@/views/testRecord'),
| name: 'testRecord',
| meta: {title: '交直流断路测控记录', icon: 'dashboard'}
| },
| {
| path: 'details',
| component: () => import('@/views/testRecord/details'),
| name: 'testDetails',
| hidden: true,
| meta: {title: '交直流断路测控详情', icon: 'dashboard'}
| },
| ]
| },
| {
| path: "/user",
| component: Layout,
| redirect: '/user/list',
| meta: { title: "用户", icon: 'dashboard'},
| name: "users",
| children: [
| {
| path: 'list',
| component: () => import('@/views/user/list'),
| name: 'userList',
| meta: {title: '用户', icon: 'dashboard'}
| },
| ]
| },
| ];
| export default routes;
|
|