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
| import { createRouter, createWebHashHistory } from 'vue-router'
|
| const router = createRouter({
| history: createWebHashHistory(),
| routes: [
| {
| path: '/',
| component: () => import('../views/EnergyConsum.vue')
| },
| {
| path: '/PlatformCall', // 月台叫号大屏
| name: 'PlatformCall',
| meta: {
| title: '安泰物流月台叫号大屏'
| },
| component: () => import('../views/PlatformCall.vue')
| },
| {
| path: '/EnergyConsum', // 能耗看板 - 安泰智慧物流园区-绿色低碳运营
| name: 'EnergyConsum',
| meta: {
| title: '安泰智慧物流园区-绿色低碳运营'
| },
| component: () => import('../views/EnergyConsum.vue')
| },
| {
| path: '/LogisticsEfficiency', // 物流运行调度看板- 调度能效
| name: 'LogisticsEfficiency',
| meta: {
| title: '安泰智慧物流园区-调度能效跟踪'
| },
| component: () => import('../views/LogisticsEfficiency.vue')
| },
| {
| path: '/SecurityControl', // 安防管控大屏 -
| name: 'SecurityControl',
| meta: {
| title: '安泰智慧物流园区-安防智能监测'
| },
| component: () => import('../views/SecurityControl.vue')
| },
| {
| path: '/LogisticsCenter', //全省物流在途-物流中心
| name: 'LogisticsCenter',
| meta: {
| title: '安徽中烟成品集控大屏'
| },
| component: () => import('../views/LogisticsCenter.vue')
| },
| {
| path: '/FireFighting', //消防监控
| name: 'FireFighting',
| meta: {
| title: '安泰智慧物流园区-消防态势监控'
| },
| component: () => import('../views/FireFighting.vue')
| },
| {
| path: '/TaskEfficiency', //场内调度看板 -作业能效
| name: 'TaskEfficiency',
| meta: {
| title: '安泰智慧物流园区-作业效能统筹'
| },
| component: () => import('../views/TaskEfficiency.vue')
| },
| ]
| })
|
|
| router.beforeEach((to, from, next) => {
| window.document.title = to.meta.title
| next()
| })
|
| export default router
|
|