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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
| 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: "/controls",
| component: Layout,
| meta: { title: "主站测控", icon: 'dashboard'},
| name: "controls",
| children: [
| {
| path: 'switch',
| component: () => import('@/views/switchControl'),
| name: 'switchControl',
| meta: {title: '交流/直流微断测控', icon: 'dashboard'}
| },
| {
| path: 'power-cabinet',
| component: () => import('@/views/powerCabinetControl'),
| name: 'powerCabinetControl',
| meta: {title: '通信电源柜测控', icon: 'dashboard'}
| },
| {
| path: 'hr-cabinet',
| component: () => import('@/views/hrControl'),
| name: 'hrControl',
| meta: {title: '核容装置模拟测控', icon: 'dashboard'}
| },
| ]
| },
| {
| path: "/data-record",
| component: Layout,
| meta: { title: "数据管理", icon: 'dashboard'},
| name: "dataRecord",
| children: [
| {
| path: 'disjunctor',
| component: () => import('@/views/disjunctorTestRecord'),
| name: 'disjunctorTestRecord',
| meta: {title: '交直流断路测控记录', icon: 'dashboard'}
| },
| {
| path: 'disjunctor-details',
| component: () => import('@/views/disjunctorTestRecord/details'),
| name: 'disjunctorTestDetails',
| // hidden: true,
| meta: {title: '交直流断路测控详情', icon: 'dashboard'}
| },
| {
| path: 'power',
| component: () => import('@/views/powerTestRecord'),
| name: 'powerTestRecord',
| meta: {title: '通信电源测控记录', icon: 'dashboard'}
| },
| {
| path: 'power-details',
| component: () => import('@/views/powerTestRecord/details'),
| name: 'powerTestDetails',
| // hidden: true,
| meta: {title: '通信电源测控详情', icon: 'dashboard'}
| },
| {
| path: 'hr',
| component: () => import('@/views/hrTestRecord'),
| name: 'hrTestRecord',
| meta: {title: '核容装置模拟测控记录', icon: 'dashboard'}
| },
| // {
| // path: 'hr-details',
| // component: () => import('@/views/hrTestRecord/details'),
| // name: 'hrTestDetails',
| // hidden: true,
| // meta: {title: '通信电源测控详情', icon: 'dashboard'}
| // },
| ]
| },
| {
| path: "/alarms",
| component: Layout,
| meta: { title: "告警管理", icon: 'dashboard'},
| name: "alarms",
| children: [
| // {
| // path: 'switch-rt',
| // component: () => import('@/views/disjunctorRtalarm'),
| // name: 'disjunctorRtalarm',
| // meta: {title: '交直流断路器实时告警', icon: 'dashboard'}
| // },
| // {
| // path: 'switch-his',
| // component: () => import('@/views/disjunctorHisalarm'),
| // name: 'disjunctorHisalarm',
| // meta: {title: '交直流断路器历史告警', icon: 'dashboard'}
| // },
| // {
| // path: 'switch-settings',
| // component: () => import('@/views/disjunctorSettings'),
| // name: 'disjunctorSettings',
| // meta: {title: '交直流断路器告警设置', icon: 'dashboard'}
| // },
| {
| path: 'power-rt',
| component: () => import('@/views/powerCabinetRtalarm'),
| name: 'powerCabinetRtalarm',
| meta: {title: '电源柜实时告警', icon: 'dashboard'}
| },
| {
| path: 'power-his',
| component: () => import('@/views/powerCabinetHisalarm'),
| name: 'powerCabinetHisalarm',
| meta: {title: '电源柜历史告警', icon: 'dashboard'}
| },
| // {
| // path: 'hr-rt',
| // component: () => import('@/views/devRtalarm'),
| // name: 'devRtalarm',
| // meta: {title: '核容装置实时告警', icon: 'dashboard'}
| // },
| // {
| // path: 'hr-his',
| // component: () => import('@/views/devHisalarm'),
| // name: 'devHisalarm',
| // meta: {title: '核容装置历史告警', icon: 'dashboard'}
| // },
| ]
| },
| {
| path: "/device-management",
| component: Layout,
| meta: { title: "设备管理", icon: 'dashboard'},
| name: "dataRecord",
| children: [
| {
| path: 'gateway',
| component: () => import('@/views/devManager/gateway'),
| name: 'gateway',
| meta: {title: '网关信息管理', icon: 'dashboard'}
| },
| {
| path: 'switch',
| component: () => import('@/views/devManager/switch'),
| name: 'devSwitch',
| meta: {title: '交直流微断信息管理', icon: 'dashboard'}
| },
| ]
| },
| {
| path: "/system",
| component: Layout,
| // redirect: '/user/list',
| meta: { title: "系统管理", icon: 'dashboard'},
| name: "users",
| children: [
| {
| path: 'user',
| component: () => import('@/views/user/list'),
| name: 'userList',
| meta: {title: '用户信息管理', icon: 'dashboard'}
| },
| {
| path: 'logs',
| component: () => import('@/views/logs'),
| name: 'logs',
| meta: {title: '日志事件管理', icon: 'dashboard'}
| },
| ]
| },
| ];
| export default routes;
|
|