|  |  | 
 |  |  | import VueRouter from 'vue-router' | 
 |  |  | import Layout from "../layout/index.vue" | 
 |  |  |  | 
 |  |  | import control from '../components/control.vue' | 
 |  |  | import console from '../components/console.vue' | 
 |  |  | import deviceList from '../components/DeviceList.vue' | 
 |  |  | import channelList from '../components/channelList.vue' | 
 |  |  | import gbRecordDetail from '../components/GBRecordDetail.vue' | 
 |  |  | import pushVideoList from '../components/PushVideoList.vue' | 
 |  |  | import streamProxyList from '../components/StreamProxyList.vue' | 
 |  |  | import map from '../components/map.vue' | 
 |  |  | 
 |  |  |       path: '/', | 
 |  |  |       name: 'home', | 
 |  |  |       component: Layout, | 
 |  |  |       redirect: '/control', | 
 |  |  |       redirect: '/console', | 
 |  |  |       children: [ | 
 |  |  |         { | 
 |  |  |           path: '/control', | 
 |  |  |           component: control, | 
 |  |  |           path: '/console', | 
 |  |  |           component: console, | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           path: '/live', | 
 |  |  | 
 |  |  |           component: channelList, | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           path: '/gbRecordDetail/:deviceId/:channelId/', | 
 |  |  |           name: 'gbRecordDetail', | 
 |  |  |           component: gbRecordDetail, | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |           path: '/parentPlatformList/:count/:page', | 
 |  |  |           name: 'parentPlatformList', | 
 |  |  |           component: parentPlatformList, |