林火综合应急信息管理系统大屏
guanqb
2023-03-10 86b1f5115a3392e37c4e6d8669db47e5a433389e
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
import Vue from 'vue'
import VueRouter from 'vue-router'
import layout from '../../views/layout/index.vue'
 
Vue.use(VueRouter)
 
const routes = [
    {
        path: '/',
        redirect: '/layout'
    },
    {
        path: '/layout',
        redirect: '/layout/statistics',
        meta: {
        },
        component: layout,
        children: [
            {
                path: 'statistics',
                meta: {
                    title: '综合统计'
                },
                component: () => import('../../views/statistics/index.vue')
            },
            {
                path: 'fireWarning',
                meta: {
                    title: '防火预警'
                },
                component: () => import('../../views/fireWarning/index.vue')
            },
            {
                path: 'armyLocal',
                meta: {
                    title: '军地协同'
                },
                component: () => import('../../views/armyLocal/index.vue')
            },
            {
                path: 'management',
                meta: {
                    title: '运维管理'
                },
                component: () => import('../../views/management/index.vue')
            }
        ]
    },
]
 
const router = new VueRouter({
    routes
})
 
export default router