|
|
|
|
@ -25,57 +25,57 @@ VueRouter.prototype.push = function push(location) {
|
|
|
|
|
const routes = [{
|
|
|
|
|
path: '/',
|
|
|
|
|
redirect: {
|
|
|
|
|
name: 'realTimeMonitoring'
|
|
|
|
|
name: 'checkManage'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/index'),
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: 'videoWall1`',
|
|
|
|
|
name: 'videoWall1`',
|
|
|
|
|
meta: {
|
|
|
|
|
icon: 'desktop',
|
|
|
|
|
name: '视频墙1'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/videoWall/index'),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'videoWall2',
|
|
|
|
|
name: 'videoWall2',
|
|
|
|
|
meta: {
|
|
|
|
|
icon: 'desktop',
|
|
|
|
|
name: '视频墙2'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/videoWall2/index'),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'realTimeMonitoring',
|
|
|
|
|
name: 'realTimeMonitoring',
|
|
|
|
|
meta: {
|
|
|
|
|
icon: 'video-camera',
|
|
|
|
|
name: '实时视频流'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/realTimeMonitoring/index'),
|
|
|
|
|
// {
|
|
|
|
|
// path: 'videoWall1`',
|
|
|
|
|
// name: 'videoWall1`',
|
|
|
|
|
// meta: {
|
|
|
|
|
// icon: 'desktop',
|
|
|
|
|
// name: '视频墙1'
|
|
|
|
|
// },
|
|
|
|
|
// component: () => import('@/views/videoWall/index'),
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: 'videoWall2',
|
|
|
|
|
// name: 'videoWall2',
|
|
|
|
|
// meta: {
|
|
|
|
|
// icon: 'desktop',
|
|
|
|
|
// name: '视频墙2'
|
|
|
|
|
// },
|
|
|
|
|
// component: () => import('@/views/videoWall2/index'),
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: 'realTimeMonitoring',
|
|
|
|
|
// name: 'realTimeMonitoring',
|
|
|
|
|
// meta: {
|
|
|
|
|
// icon: 'video-camera',
|
|
|
|
|
// name: '实时视频流'
|
|
|
|
|
// },
|
|
|
|
|
// component: () => import('@/views/realTimeMonitoring/index'),
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
path: 'historyMonitoring',
|
|
|
|
|
name: 'historyMonitoring',
|
|
|
|
|
meta: {
|
|
|
|
|
icon: 'book',
|
|
|
|
|
name: '历史数据'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/historyMonitoring/index')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'alarmLog',
|
|
|
|
|
name: 'alarmLog',
|
|
|
|
|
meta: {
|
|
|
|
|
icon: 'eye',
|
|
|
|
|
name: '告警日志'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/alarmVideos/alarmLog')
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// path: 'historyMonitoring',
|
|
|
|
|
// name: 'historyMonitoring',
|
|
|
|
|
// meta: {
|
|
|
|
|
// icon: 'book',
|
|
|
|
|
// name: '历史数据'
|
|
|
|
|
// },
|
|
|
|
|
// component: () => import('@/views/historyMonitoring/index')
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: 'alarmLog',
|
|
|
|
|
// name: 'alarmLog',
|
|
|
|
|
// meta: {
|
|
|
|
|
// icon: 'eye',
|
|
|
|
|
// name: '告警日志'
|
|
|
|
|
// },
|
|
|
|
|
// component: () => import('@/views/alarmVideos/alarmLog')
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
path: 'checkManage',
|
|
|
|
|
name: 'checkManage',
|
|
|
|
|
@ -128,66 +128,66 @@ const routes = [{
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/roadwayManage/index')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'cameraManage',
|
|
|
|
|
name: 'cameraManage',
|
|
|
|
|
meta: {
|
|
|
|
|
icon: 'camera',
|
|
|
|
|
name: '球机管理'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/cameraManage/index')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'cameraManage/model',
|
|
|
|
|
name: 'cameraManageModel',
|
|
|
|
|
meta: {
|
|
|
|
|
name: '球机管理测试or配置'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/cameraManage/model')
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// path: 'productSpecManage',
|
|
|
|
|
// name: 'productSpecManage',
|
|
|
|
|
// path: 'cameraManage',
|
|
|
|
|
// name: 'cameraManage',
|
|
|
|
|
// meta: {
|
|
|
|
|
// icon: 'pushpin',
|
|
|
|
|
// name: '品规管理'
|
|
|
|
|
// icon: 'camera',
|
|
|
|
|
// name: '球机管理'
|
|
|
|
|
// },
|
|
|
|
|
// component: () => import('@/views/productSpecManage/index')
|
|
|
|
|
// component: () => import('@/views/cameraManage/index')
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: 'repertoryManage',
|
|
|
|
|
// name: 'repertoryManage',
|
|
|
|
|
// path: 'cameraManage/model',
|
|
|
|
|
// name: 'cameraManageModel',
|
|
|
|
|
// meta: {
|
|
|
|
|
// icon: 'wallet',
|
|
|
|
|
// name: '库存管理'
|
|
|
|
|
// name: '球机管理测试or配置'
|
|
|
|
|
// },
|
|
|
|
|
// component: () => import('@/views/repertoryManage/index')
|
|
|
|
|
// component: () => import('@/views/cameraManage/model')
|
|
|
|
|
// },
|
|
|
|
|
// // {
|
|
|
|
|
// // path: 'productSpecManage',
|
|
|
|
|
// // name: 'productSpecManage',
|
|
|
|
|
// // meta: {
|
|
|
|
|
// // icon: 'pushpin',
|
|
|
|
|
// // name: '品规管理'
|
|
|
|
|
// // },
|
|
|
|
|
// // component: () => import('@/views/productSpecManage/index')
|
|
|
|
|
// // },
|
|
|
|
|
// // {
|
|
|
|
|
// // path: 'repertoryManage',
|
|
|
|
|
// // name: 'repertoryManage',
|
|
|
|
|
// // meta: {
|
|
|
|
|
// // icon: 'wallet',
|
|
|
|
|
// // name: '库存管理'
|
|
|
|
|
// // },
|
|
|
|
|
// // component: () => import('@/views/repertoryManage/index')
|
|
|
|
|
// // },
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
path: 'cameraManage/ioTable',
|
|
|
|
|
name: 'ioTable',
|
|
|
|
|
meta: {
|
|
|
|
|
name: 'IO表配置'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/cameraManage/ioTable')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'center',
|
|
|
|
|
name: 'center',
|
|
|
|
|
meta: {
|
|
|
|
|
name: '个人中心'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/center')
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'plcStatus',
|
|
|
|
|
name: 'plcStatus',
|
|
|
|
|
meta: {
|
|
|
|
|
name: 'PLC状态'
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/plcStatus')
|
|
|
|
|
}
|
|
|
|
|
// {
|
|
|
|
|
// path: 'cameraManage/ioTable',
|
|
|
|
|
// name: 'ioTable',
|
|
|
|
|
// meta: {
|
|
|
|
|
// name: 'IO表配置'
|
|
|
|
|
// },
|
|
|
|
|
// component: () => import('@/views/cameraManage/ioTable')
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: 'center',
|
|
|
|
|
// name: 'center',
|
|
|
|
|
// meta: {
|
|
|
|
|
// name: '个人中心'
|
|
|
|
|
// },
|
|
|
|
|
// component: () => import('@/views/center')
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// path: 'plcStatus',
|
|
|
|
|
// name: 'plcStatus',
|
|
|
|
|
// meta: {
|
|
|
|
|
// name: 'PLC状态'
|
|
|
|
|
// },
|
|
|
|
|
// component: () => import('@/views/plcStatus')
|
|
|
|
|
// }
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
|