routes.js
1.42 KB
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
const baseRoutes = [
{
path: "/",
redirect: "/index",
},
{
path: "/index",
name: "index",
meta: {
title: "找车",
},
component: () => import("../views/index.vue"),
},
{
path: "/info",
name: "info",
meta: {
title: "找车",
},
component: () => import("../views/info.vue"),
},
{
path: "/search/equipment",
name: "searchEquipment",
meta: {
title: "业务支撑查询系统",
},
component: () => import("../views/searchEquipment.vue"),
},
{
path: "/search/pc/equipment",
name: "searchEquipmentPc",
meta: {
title: "业务支撑查询系统",
},
component: () => import("../views/searchEquipmentPc.vue"),
},
];
const tabRoutes = [
{
name: "replay",
title: "轨迹回放",
component: () => import("../views/replay.vue"),
},
{
name: "resident",
title: "常驻地",
component: () => import("../views/resident.vue"),
},
{
name: "monitor",
title: "实时监控",
component: () => import("../views/monitor.vue"),
},
{
name: "freq",
title: "设备调频",
component: () => import("../views/monitor.vue"),
},
{
name: "fence",
title: "电子围栏",
component: () => import("../views/monitor.vue"),
},
{
name: "share",
title: "分享找车",
component: () => import("../views/monitor.vue"),
},
];
export default {
tabRoutes,
baseRoutes,
};