// 远程监控 import type { Route } from '@/global' const Layout = () => import('@/layouts/index.vue') const routes: Route.recordRaw[] = [ { path: '/realTime', component: Layout, redirect: '/realTime/page', name: 'RealTime', meta: { title: '实时监控', icon: 'icon-camera', auth: '/realTime', }, children: [ { path: 'page', name: 'page', component: () => // import('@/views/monitor/realTime/index-noPlugin-single.vue'), // SDK单路 // import('@/views/monitor/realTime/index-noPlugin.vue'), // SDK4路 // import('@/views/monitor/realTime/index-isc-single.vue'), // isc // import('@/views/monitor/realTime/index-media-single.vue'), // 商流媒体单路 import('@/views/monitor/realTime/index-new-gm-plugin.vue'), // 国 meta: { title: '实时监控', auth: '/realTime', sidebar: false, breadcrumb: false, activeMenu: '/realTime', }, }, { path: 'control', name: 'control', // component: () => import('@/views/monitor/realTime/control-noPlugin.vue'), // SDK // component: () => import('@/views/monitor/realTime/control-isc.vue'), // isc component: () => import('@/views/monitor/realTime/control-media.vue'), // 流媒体 // component: () => import('@/views/monitor/realTime/control-new-gm-plugin.vue'), // 国 meta: { title: '实时监控', auth: '/realTime', sidebar: false, breadcrumb: false, breadHide: true, activeMenu: '/realTime', }, }, ], }, // { // path: '/broadcast', // component: Layout, // redirect: '/broadcast/list', // name: 'broadcast', // meta: { // title: '安全播报', // icon: 'icon-bb', // auth: '/broadcast', // }, // children: [ // { // path: 'list', // name: 'list', // component: () => import('@/views/monitor/broadcast/list.vue'), // meta: { // title: '安全播报', // auth: '/broadcast', // sidebar: false, // breadcrumb: false, // activeMenu: '/broadcast', // }, // }, // ], // }, { path: '/playback', component: Layout, redirect: '/playback/home', name: 'Playback', meta: { title: '场景回放', icon: 'icon-hf', auth: '/playback', }, children: [ { path: 'home', name: 'home', // component: () => import('@/views/monitor/playback/index.vue'), // SDK // component: () => import('@/views/monitor/playback/index-isc.vue'), // isc component: () => import('@/views/monitor/playback/index-media.vue'), // 流媒体 meta: { title: '场景回放', auth: '/playback', sidebar: false, breadcrumb: false, activeMenu: '/playback', }, }, ], }, { path: '/deviceManage', component: Layout, redirect: '/deviceManage/device', name: 'DeviceManage', meta: { title: '设备管理', icon: 'icon-device', auth: '/device', }, children: [ { path: 'device', name: 'device', component: () => import('@/views/monitor/deviceManage/listDevice.vue'), meta: { title: '设备管理', auth: '/device', sidebar: false, breadcrumb: false, activeMenu: '/deviceManage', }, }, ], }, { path: '/deviceGroup', component: Layout, redirect: '/deviceGroup/list', name: 'DeviceGroup', meta: { title: '设备分组管理', icon: 'icon-device', auth: '/deviceGroup', }, children: [ { path: 'list', name: 'DeviceGroupList', component: () => import('@/views/monitor/group/list.vue'), meta: { title: '设备分组管理', auth: '/deviceGroup', sidebar: false, breadcrumb: false, activeMenu: '/deviceGroup', }, }, ], }, { path: '/groupEmpower', component: Layout, redirect: '/groupEmpower/list', name: 'GroupEmpower', meta: { title: '分组授权', icon: 'icon-sq', auth: '/empower', }, children: [ { path: 'list', name: 'list', component: () => import('@/views/monitor/groupEmpower/list.vue'), meta: { title: '分组授权', auth: '/empower', sidebar: false, breadcrumb: false, activeMenu: '/groupEmpower', }, }, ], }, { path: '/statistics', component: Layout, redirect: '/statistics', name: 'Statistics', meta: { title: '数据统计', icon: 'icon-line', auth: '/statistics', }, children: [ { path: '/statistics', name: 'statistics', component: () => import('@/views/monitor/statistics/statistics.vue'), meta: { title: '数据统计', auth: '/statistics', sidebar: false, breadcrumb: false, activeMenu: '/statistics', }, }, ], }, ] export default routes