|
|
|
|
export default [
|
|
|
|
|
{
|
|
|
|
|
path: '/view',
|
|
|
|
|
component: '../layouts/BasicLayout',
|
|
|
|
|
routes: [
|
|
|
|
|
{ path: '/view', redirect: '/view/monitor' },
|
|
|
|
|
{ path: '/view/monitor', component: './Monitor' },
|
|
|
|
|
{ path: '/view/traffic', component: './Traffic' },
|
|
|
|
|
{ path: '/view/commonscene', component: './CommonScene' },
|
|
|
|
|
{ path: '/view/ddm', component: './DDM' },
|
|
|
|
|
{ path: '/view/bdcommon', component: './BaoDingCommon' },
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/footprints',
|
|
|
|
|
routes: [{ path: '/footprints/policefootprints', component: './DDM/PoliceFootprints' }],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/baseconfig',
|
|
|
|
|
component: '../layouts/BaseConfigLayout',
|
|
|
|
|
routes: [
|
|
|
|
|
{
|
|
|
|
|
name: '路段基础信息配置',
|
|
|
|
|
path: '/baseconfig/SectionConfig',
|
|
|
|
|
component: './SectionConfig',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: '关注点配置',
|
|
|
|
|
path: '/baseconfig/ConcernConfig',
|
|
|
|
|
component: './ConcernConfig',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/layer',
|
|
|
|
|
component: '../layouts/BaseConfigLayout',
|
|
|
|
|
routes: [
|
|
|
|
|
{
|
|
|
|
|
name: '图层',
|
|
|
|
|
path: '/layer/LayerController',
|
|
|
|
|
component: './LayerController',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/command',
|
|
|
|
|
component: '../layouts/BaseCommandPlatformLayout',
|
|
|
|
|
routes: [
|
|
|
|
|
{
|
|
|
|
|
name: '平台1',
|
|
|
|
|
path: '/command/one',
|
|
|
|
|
component: './CommandPlatform/One',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: '平台2',
|
|
|
|
|
path: '/command/two',
|
|
|
|
|
component: './CommandPlatform/Two',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/',
|
|
|
|
|
component: '../layouts/SingalLayout',
|
|
|
|
|
routes: [
|
|
|
|
|
/* { path: '/', redirect: '/view/monitor' }, */
|
|
|
|
|
{
|
|
|
|
|
name: 'demo',
|
|
|
|
|
icon: 'warning',
|
|
|
|
|
path: '/demo',
|
|
|
|
|
component: './demolist',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'cartypeconfig',
|
|
|
|
|
icon: 'warning',
|
|
|
|
|
path: '/cartypeconfig',
|
|
|
|
|
component: './cartypeconfig',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'switch',
|
|
|
|
|
path: '/switch',
|
|
|
|
|
component: './Switch',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'exception',
|
|
|
|
|
icon: 'warning',
|
|
|
|
|
path: '/exception',
|
|
|
|
|
routes: [
|
|
|
|
|
// exception
|
|
|
|
|
{
|
|
|
|
|
path: '/exception/403',
|
|
|
|
|
name: 'not-permission',
|
|
|
|
|
component: './Exception/403',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/exception/404',
|
|
|
|
|
name: 'not-find',
|
|
|
|
|
component: './Exception/404',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/exception/500',
|
|
|
|
|
name: 'server-error',
|
|
|
|
|
component: './Exception/500',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '/exception/trigger',
|
|
|
|
|
name: 'trigger',
|
|
|
|
|
hideInMenu: true,
|
|
|
|
|
component: './Exception/TriggerException',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
];
|