南昌市物联网技防平台-前端
zengh
2023-01-16 8aa3edd56c279100c9053576f3e90fa55459fe77
src/router/views/index.js
@@ -11,18 +11,33 @@
                i18n: 'dashboard'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/home/home')
        }, {
            path: 'dashboard',
            name: '控制台',
            meta: {
                i18n: 'dashboard',
                menu: false,
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
                import ( /* webpackChunkName: "views" */ '@/views/dataL/homeL')
        }]
    },
    // {
    //     path: '/wel',
    //     component: Layout,
    //     redirect: '/wel/index',
    //     children: [{
    //         path: 'index',
    //         name: '首页',
    //         meta: {
    //             i18n: 'dashboard'
    //         },
    //         component: () =>
    //             import ( /* webpackChunkName: "views" */ '@/views/home/home')
    //     }, {
    //         path: 'dashboard',
    //         name: '控制台',
    //         meta: {
    //             i18n: 'dashboard',
    //             menu: false,
    //         },
    //         component: () =>
    //             import ( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
    //     }]
    // },
    {
        path: '/distribution',
        component: Layout,
@@ -89,7 +104,8 @@
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/system/userinfo')
        }]
    }, {
    },
    {
        path: '/real',
        component: Layout,
        redirect: '/real/video',
@@ -110,7 +126,39 @@
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/realTimePolice/realHistory')
        }]
    }, {
    },
    {
        path: '/welcomeData',
        component: Layout,
        redirect: '/welcomeData/data',
        children: [{
            path: 'data',
            name: '数据模式',
            meta: {
                i18n: 'data'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/supervisoryConsole/data')
        }, {
            path: 'map',
            name: '地图模式',
            meta: {
                i18n: 'map'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/supervisoryConsole/map')
        }, {
            path: 'card',
            name: '卡片模式',
            meta: {
                i18n: 'card'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/supervisoryConsole/card')
        }]
    },
    {
        path: '/work/process/leave',
        component: Layout,
        redirect: '/work/process/leave/form',
@@ -155,6 +203,20 @@
        }]
    },
    {
        path: '/home',
        component: Layout,
        redirect: '/home/index',
        children: [{
            path: 'index',
            name: '研判洞察',
            meta: {
                i18n: 'home'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/home/home')
        }]
    },
    {
        path: '/attendance',
        component: Layout,
        redirect: '/attendance/attendance',
@@ -184,9 +246,23 @@
        }]
    },
    {
        path: '/equipmentInfo',
        component: Layout,
        redirect: '/equipmentInfo/equipmentInfo',
        children: [{
            path: 'index',
            name: '设备管理',
            meta: {
                i18n: 'equipmentInfo'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/equipmentInfo/equipmentInfo')
        }]
    },
    {
        path: '/suser',
        component: Layout,
        redirect: '/suser/suser',
        redirect: '/suser',
        children: [{
            path: 'index',
            name: '客户管理',
@@ -194,7 +270,7 @@
                i18n: 'suser'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/suser/suser')
                import ( /* webpackChunkName: "views" */ '@/views/system/cs')
        }]
    }, {
        path: '/policeTracking',
@@ -254,14 +330,122 @@
        redirect: '/parcel/index',
        children: [{
            path: 'index',
            name: '实时警情',
            name: '安检包裹',
            meta: {
                i18n: 'parcel'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/parcel/parcel')
        }]
    }
    }, {
        path: '/parcelKind',
        component: Layout,
        redirect: '/parcelKind/index',
        children: [{
            path: 'index',
            name: '违禁品',
            meta: {
                i18n: 'parcelKind'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/parcel/parcelKind')
        }]
    }, {
        path: '/dataL',
        component: Layout,
        redirect: '/dataL/dataL',
        children: [{
            path: 'dataL',
            name: '详情页',
            meta: {
                i18n: 'dataL'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/dataL/dataL')
        }]
    }, { //路由占位
        path: '/dataL',
        redirect: '/dataL/hFive',
        component: Layout,
        children: [{
            path: 'hFive',
            name: '提交激活路口',
            meta: {
                i18n: 'dataL'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/dataL/hFive')
        }]
    },
    {
        path: '/patrolManagement',
        redirect: '/policeInformationDistribution/patrolManagement',
        component: Layout,
        children: [{
            path: 'patrolManagement',
            name: '巡逻管理',
            meta: {
                i18n: 'policeInformationDistribution'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/policeInformationDistribution/patrolManagement')
        }]
    }, {
        path: '/policeInformationDistribution',
        redirect: '/policeInformationDistribution/policeManagementTeam',
        component: Layout,
        children: [{
            path: 'policeManagementTeam',
            name: '处警队伍管理',
            meta: {
                i18n: 'policeInformationDistribution'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/policeInformationDistribution/policeManagementTeam')
        }]
    }, {
        path: '/report',
        redirect: '/report/reportConfiguration',
        component: Layout,
        children: [{
            path: 'reportConfiguration',
            name: '报表配置',
            meta: {
                i18n: 'report'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/report/reportConfiguration')
        }]
    }, {
        path: '/report',
        redirect: '/report/announcementReport',
        component: Layout,
        children: [{
            path: 'announcementReport',
            name: '公告报表',
            meta: {
                i18n: 'report'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/views/report/announcementReport')
        }]
    },
    {
        path: '/real-popup',
        redirect: '/real-popup/kongbai',
        component: Layout,
        children: [{
            path: 'kongbai',
            name: '首页',
            meta: {
                i18n: 'report'
            },
            component: () =>
                import ( /* webpackChunkName: "views" */ '@/components/real-popup/kongbai')
        }]
    },
]
]