// 远程监控 import type { Route } from '@/global' const Layout = () => import('@/layouts/index.vue') const routes: Route.recordRaw[] = [ // 远程监管 // { // path: '/ycjg', // component: Layout, // redirect: '/ssjk/page', // name: 'ycjg', // meta: { // title: '远程监管', // icon: 'icon-yc', // auth: '/monitor', // }, // children: [ { path: '/ssjk', component: Layout, redirect: '/ssjk/page', name: 'ssjk', meta: { title: '实时监控', icon: 'icon-camera', auth: '/realTime', }, children: [ { path: 'page', name: 'page', component: () => import('@/views/ycjg/ssjk/index-noPlugin-single.vue'), // SDK单路 // import('@/views/ycjg/ssjk/index-noPlugin.vue'), // SDK4路 // import('@/views/ycjg/ssjk/index-isc-single.vue'), // isc // import('@/views/ycjg/ssjk/index-media-single.vue'), // 商流媒体单路 // import('@/views/ycjg/ssjk/index-new-gm-plugin.vue'), // 国 meta: { title: '实时监控', auth: '/realTime', sidebar: false, breadcrumb: false, activeMenu: '/ssjk', }, }, { path: 'control', name: 'control', component: () => import('@/views/ycjg/ssjk/control-noPlugin.vue'), // SDK // component: () => import('@/views/ycjg/ssjk/control-isc.vue'), // isc // component: () => import('@/views/ycjg/ssjk/control-media.vue'), // 流媒体 // component: () => import('@/views/ycjg/ssjk/control-new-gm-plugin.vue'), // 国 meta: { title: '实时监控', auth: '/realTime', sidebar: false, breadcrumb: false, breadHide: true, activeMenu: '/ssjk', }, }, ], }, // { // path: '/aqbb', // component: Layout, // redirect: '/aqbb/list', // name: 'aqbb', // meta: { // title: '安全播报', // icon: 'icon-bb', // auth: '/broadcast', // }, // children: [ // { // path: 'list', // name: 'list', // component: () => import('@/views/ycjg/aqbb/list.vue'), // meta: { // title: '安全播报', // auth: '/broadcast', // sidebar: false, // breadcrumb: false, // activeMenu: '/aqbb', // }, // }, // ], // }, { path: '/cjhf', component: Layout, redirect: '/cjhf/home', name: 'cjhf', meta: { title: '场景回放', icon: 'icon-hf', auth: '/playback', }, children: [ { path: 'home', name: 'home', component: () => import('@/views/ycjg/sjhf/index.vue'), // SDK // component: () => import('@/views/ycjg/sjhf/index-isc.vue'), // isc // component: () => import('@/views/ycjg/sjhf/index-media.vue'), // 流媒体 meta: { title: '场景回放', auth: '/playback', sidebar: false, breadcrumb: false, activeMenu: '/cjhf', }, }, ], }, { path: '/sbgl', component: Layout, redirect: '/sbgl/device', name: 'sbgl', meta: { title: '设备管理', icon: 'icon-device', auth: '/device', }, children: [ { path: 'device', name: 'device', component: () => import('@/views/ycjg/sbgl/listDevice.vue'), meta: { title: '设备管理', auth: '/device', sidebar: false, breadcrumb: false, activeMenu: '/sbgl', }, }, ], }, { path: '/fzsq', component: Layout, redirect: '/fzsq/list', name: 'fzsq', meta: { title: '分组授权', icon: 'icon-sq', auth: '/empower', }, children: [ { path: 'list', name: 'list', component: () => import('@/views/ycjg/fzsq/list.vue'), meta: { title: '分组授权', auth: '/empower', sidebar: false, breadcrumb: false, activeMenu: '/fzsq', }, }, ], }, // ], // }, ] export default routes