|
@ -114,9 +114,9 @@ export default [
|
114
|
114
|
name: 'index',
|
115
|
115
|
path: '/',
|
116
|
116
|
component: () =>
|
117
|
|
import(
|
118
|
|
/* webpackChunkName: "welcome" */ './modules/layouts/BasicLayout.vue'
|
119
|
|
),
|
|
117
|
import(
|
|
118
|
/* webpackChunkName: "welcome" */ './modules/layouts/BasicLayout.vue'
|
|
119
|
),
|
120
|
120
|
redirect: '/orientation',
|
121
|
121
|
meta: { title: '首页' },
|
122
|
122
|
children: [
|
|
@ -124,30 +124,30 @@ export default [
|
124
|
124
|
{
|
125
|
125
|
path: '/orientation',
|
126
|
126
|
component: () =>
|
127
|
|
import(
|
128
|
|
/* webpackChunkName: "welcome" */ '@/modules/orientation/orientation.vue'
|
129
|
|
),
|
|
127
|
import(
|
|
128
|
/* webpackChunkName: "welcome" */ '@/modules/orientation/orientation.vue'
|
|
129
|
),
|
130
|
130
|
name: 'orientation',
|
131
|
|
meta: { title: '人员定位', keepAlive: true, icon: 'heart-outline', hiddenHeaderContent: true }
|
|
131
|
meta: { title: '人员定位', keepAlive: true, icon: 'map-marker', hiddenHeaderContent: true }
|
132
|
132
|
},
|
133
|
133
|
// 报警救援
|
134
|
134
|
{
|
135
|
135
|
path: '/call-help',
|
136
|
136
|
component: () =>
|
137
|
|
import(
|
138
|
|
/* webpackChunkName: "call-help" */ '@/modules/layouts/RouteView.vue'
|
139
|
|
),
|
|
137
|
import(
|
|
138
|
/* webpackChunkName: "call-help" */ '@/modules/layouts/RouteView.vue'
|
|
139
|
),
|
140
|
140
|
name: 'callHelp',
|
141
|
|
meta: { title: '报警救援', icon: 'heart-outline' },
|
|
141
|
meta: { title: '报警救援', icon: 'alert-circle-outline' },
|
142
|
142
|
redirect: '/call-help/current',
|
143
|
143
|
children: [
|
144
|
144
|
{
|
145
|
145
|
path: '/call-help/current',
|
146
|
146
|
name: 'CallHelpOne',
|
147
|
147
|
component: () =>
|
148
|
|
import(
|
149
|
|
/* webpackChunkName: "call-help" */ '@/modules/call-help/current.vue'
|
150
|
|
),
|
|
148
|
import(
|
|
149
|
/* webpackChunkName: "call-help" */ '@/modules/call-help/current.vue'
|
|
150
|
),
|
151
|
151
|
meta: {
|
152
|
152
|
title: '实时报警',
|
153
|
153
|
hiddenHeaderContent: true,
|
|
@ -158,9 +158,9 @@ export default [
|
158
|
158
|
path: '/call-help/history',
|
159
|
159
|
name: 'CallHelpTwo',
|
160
|
160
|
component: () =>
|
161
|
|
import(
|
162
|
|
/* webpackChunkName: "call-help" */ '@/modules/call-help/history.vue'
|
163
|
|
),
|
|
161
|
import(
|
|
162
|
/* webpackChunkName: "call-help" */ '@/modules/call-help/history.vue'
|
|
163
|
),
|
164
|
164
|
meta: {
|
165
|
165
|
title: '历史报警',
|
166
|
166
|
hiddenHeaderContent: true,
|
|
@ -173,20 +173,20 @@ export default [
|
173
|
173
|
{
|
174
|
174
|
path: '/attendance',
|
175
|
175
|
component: () =>
|
176
|
|
import(
|
177
|
|
/* webpackChunkName: "attendance" */ '@/modules/layouts/RouteView.vue'
|
178
|
|
),
|
|
176
|
import(
|
|
177
|
/* webpackChunkName: "attendance" */ '@/modules/layouts/RouteView.vue'
|
|
178
|
),
|
179
|
179
|
name: 'attendance',
|
180
|
|
meta: { title: '考勤管理', icon: 'heart-outline' },
|
|
180
|
meta: { title: '考勤管理', icon: 'calendar-outline' },
|
181
|
181
|
redirect: '/attendance/attendance',
|
182
|
182
|
children: [
|
183
|
183
|
{
|
184
|
184
|
path: '/attendance/attendance',
|
185
|
185
|
name: 'attendanceWork',
|
186
|
186
|
component: () =>
|
187
|
|
import(
|
188
|
|
/* webpackChunkName: "attendance" */ '@/modules/attendance/attendance.vue'
|
189
|
|
),
|
|
187
|
import(
|
|
188
|
/* webpackChunkName: "attendance" */ '@/modules/attendance/attendance.vue'
|
|
189
|
),
|
190
|
190
|
meta: {
|
191
|
191
|
title: '作业考勤',
|
192
|
192
|
hiddenHeaderContent: true,
|
|
@ -197,9 +197,9 @@ export default [
|
197
|
197
|
path: '/attendance/track',
|
198
|
198
|
name: 'track',
|
199
|
199
|
component: () =>
|
200
|
|
import(
|
201
|
|
/* webpackChunkName: "attendance" */ '@/modules/attendance/track.vue'
|
202
|
|
),
|
|
200
|
import(
|
|
201
|
/* webpackChunkName: "attendance" */ '@/modules/attendance/track.vue'
|
|
202
|
),
|
203
|
203
|
meta: {
|
204
|
204
|
title: '轨迹分析',
|
205
|
205
|
hiddenHeaderContent: true,
|
|
@ -212,20 +212,20 @@ export default [
|
212
|
212
|
{
|
213
|
213
|
path: '/system-management',
|
214
|
214
|
component: () =>
|
215
|
|
import(
|
216
|
|
/* webpackChunkName: "system-management" */ '@/modules/layouts/RouteView.vue'
|
217
|
|
),
|
|
215
|
import(
|
|
216
|
/* webpackChunkName: "system-management" */ '@/modules/layouts/RouteView.vue'
|
|
217
|
),
|
218
|
218
|
name: 'systemManagement',
|
219
|
|
meta: { title: '系统管理', icon: 'heart-outline' },
|
|
219
|
meta: { title: '系统管理', icon: 'setting-outline' },
|
220
|
220
|
redirect: '/system-management/terminal-management',
|
221
|
221
|
children: [
|
222
|
222
|
{
|
223
|
223
|
path: '/system-management/terminal-management',
|
224
|
224
|
name: 'terminalManagement',
|
225
|
225
|
component: () =>
|
226
|
|
import(
|
227
|
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/terminal-management.vue'
|
228
|
|
),
|
|
226
|
import(
|
|
227
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/terminal-management.vue'
|
|
228
|
),
|
229
|
229
|
meta: {
|
230
|
230
|
title: '终端管理',
|
231
|
231
|
hiddenHeaderContent: true,
|
|
@ -236,9 +236,9 @@ export default [
|
236
|
236
|
path: '/system-management/map-mark',
|
237
|
237
|
name: 'mapMark',
|
238
|
238
|
component: () =>
|
239
|
|
import(
|
240
|
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/map-mark.vue'
|
241
|
|
),
|
|
239
|
import(
|
|
240
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/map-mark.vue'
|
|
241
|
),
|
242
|
242
|
meta: {
|
243
|
243
|
title: '地图标记',
|
244
|
244
|
hiddenHeaderContent: true,
|
|
@ -249,9 +249,9 @@ export default [
|
249
|
249
|
path: '/system-management/default-map',
|
250
|
250
|
name: 'defaultMap',
|
251
|
251
|
component: () =>
|
252
|
|
import(
|
253
|
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/default-map.vue'
|
254
|
|
),
|
|
252
|
import(
|
|
253
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/default-map.vue'
|
|
254
|
),
|
255
|
255
|
meta: {
|
256
|
256
|
title: '默认地图',
|
257
|
257
|
hiddenHeaderContent: true,
|
|
@ -262,9 +262,9 @@ export default [
|
262
|
262
|
path: '/system-management/equipment-management',
|
263
|
263
|
name: 'equipmentManagement',
|
264
|
264
|
component: () =>
|
265
|
|
import(
|
266
|
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/equipment-management.vue'
|
267
|
|
),
|
|
265
|
import(
|
|
266
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/equipment-management.vue'
|
|
267
|
),
|
268
|
268
|
meta: {
|
269
|
269
|
title: '设备管理',
|
270
|
270
|
hiddenHeaderContent: true,
|
|
@ -275,9 +275,9 @@ export default [
|
275
|
275
|
path: '/system-management/user-management',
|
276
|
276
|
name: 'userManagement',
|
277
|
277
|
component: () =>
|
278
|
|
import(
|
279
|
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/user-management.vue'
|
280
|
|
),
|
|
278
|
import(
|
|
279
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/user-management.vue'
|
|
280
|
),
|
281
|
281
|
meta: {
|
282
|
282
|
title: '用户管理',
|
283
|
283
|
hiddenHeaderContent: true,
|
|
@ -288,9 +288,9 @@ export default [
|
288
|
288
|
path: '/system-management/role-management',
|
289
|
289
|
name: 'roleManagement',
|
290
|
290
|
component: () =>
|
291
|
|
import(
|
292
|
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/role-management.vue'
|
293
|
|
),
|
|
291
|
import(
|
|
292
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/role-management.vue'
|
|
293
|
),
|
294
|
294
|
meta: {
|
295
|
295
|
title: '角色管理',
|
296
|
296
|
hiddenHeaderContent: true,
|
|
@ -301,9 +301,9 @@ export default [
|
301
|
301
|
path: '/system-management/menu-management',
|
302
|
302
|
name: 'menuManagement',
|
303
|
303
|
component: () =>
|
304
|
|
import(
|
305
|
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/menu-management.vue'
|
306
|
|
),
|
|
304
|
import(
|
|
305
|
/* webpackChunkName: "system-management" */ '@/modules/system-management/menu-management.vue'
|
|
306
|
),
|
307
|
307
|
meta: {
|
308
|
308
|
title: '菜单管理',
|
309
|
309
|
hiddenHeaderContent: true,
|
|
@ -316,20 +316,20 @@ export default [
|
316
|
316
|
{
|
317
|
317
|
path: '/authorization',
|
318
|
318
|
component: () =>
|
319
|
|
import(
|
320
|
|
/* webpackChunkName: "authorization" */ '@/modules/layouts/RouteView.vue'
|
321
|
|
),
|
|
319
|
import(
|
|
320
|
/* webpackChunkName: "authorization" */ '@/modules/layouts/RouteView.vue'
|
|
321
|
),
|
322
|
322
|
name: 'authorization',
|
323
|
|
meta: { title: '授权管理', icon: 'heart-outline' },
|
|
323
|
meta: { title: '授权管理', icon: 'user-outline' },
|
324
|
324
|
redirect: '/authorization/menu-authorization',
|
325
|
325
|
children: [
|
326
|
326
|
{
|
327
|
327
|
path: '/authorization/menu-authorization',
|
328
|
328
|
name: 'menuAuthorization',
|
329
|
329
|
component: () =>
|
330
|
|
import(
|
331
|
|
/* webpackChunkName: "call-help-One" */ '@/modules/authorization/menu-authorization.vue'
|
332
|
|
),
|
|
330
|
import(
|
|
331
|
/* webpackChunkName: "call-help-One" */ '@/modules/authorization/menu-authorization.vue'
|
|
332
|
),
|
333
|
333
|
meta: {
|
334
|
334
|
title: '菜单授权',
|
335
|
335
|
hiddenHeaderContent: true,
|
|
@ -340,9 +340,9 @@ export default [
|
340
|
340
|
path: '/authorization/role-authorization',
|
341
|
341
|
name: 'roleAuthorization',
|
342
|
342
|
component: () =>
|
343
|
|
import(
|
344
|
|
/* webpackChunkName: "call-help-Two" */ '@/modules/authorization/role-authorization.vue'
|
345
|
|
),
|
|
343
|
import(
|
|
344
|
/* webpackChunkName: "call-help-Two" */ '@/modules/authorization/role-authorization.vue'
|
|
345
|
),
|
346
|
346
|
meta: {
|
347
|
347
|
title: '角色授权',
|
348
|
348
|
hiddenHeaderContent: true,
|
|
@ -357,6 +357,6 @@ export default [
|
357
|
357
|
path: '*',
|
358
|
358
|
hidden: true,
|
359
|
359
|
component: () =>
|
360
|
|
import(/* webpackChunkName: "fail" */ './modules/ootb/exception/404.vue')
|
|
360
|
import(/* webpackChunkName: "fail" */ './modules/ootb/exception/404.vue')
|
361
|
361
|
}
|
362
|
362
|
]
|