|
|
@@ -231,93 +231,6 @@ const iot = {
|
|
|
]
|
|
|
}
|
|
|
|
|
|
-const datacenter = {
|
|
|
- path: '/datacenter',
|
|
|
- name: '数据中台',
|
|
|
- meta: {
|
|
|
- title: '数据中台'
|
|
|
- },
|
|
|
- component: () => import('@/layout/layout.vue'),
|
|
|
- redirect: '/dataSource',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/dataSource',
|
|
|
- name: '数据源',
|
|
|
- icon: 'DatabaseOutlined',
|
|
|
- redirect: '/dataSource/manage',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/dataSource/manage',
|
|
|
- name: '数据源管理',
|
|
|
- component: () => import('@/pages/datacenter/dataSource/manage/index.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/dataSource/metaTool',
|
|
|
- name: '元数据管理',
|
|
|
- component: () => import('@/pages/datacenter/dataSource/metaTool/index.vue')
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/dataLake',
|
|
|
- name: '数据湖',
|
|
|
- icon: 'LaptopOutlined',
|
|
|
- redirect: '/dataLake/dataTool',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/dataLake/dataTool',
|
|
|
- name: '数据湖工具',
|
|
|
- component: () => import('@/pages/datacenter/dataLake/dataTool/index.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/dataLake/dataIsland',
|
|
|
- name: '数据岛',
|
|
|
- component: () => import('@/pages/datacenter/dataLake/dataTool/index.vue')
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/APICenter',
|
|
|
- name: '数据编排',
|
|
|
- icon: 'ApiOutlined',
|
|
|
- component: () => import('@/pages/datacenter/APICenter/index.vue')
|
|
|
- }
|
|
|
- ]
|
|
|
-}
|
|
|
-
|
|
|
-const view = {
|
|
|
- path: 'http://172.28.0.3:28080/#/project/items',
|
|
|
- name: '可视化',
|
|
|
- meta: {
|
|
|
- title: '可视化'
|
|
|
- },
|
|
|
- link: true
|
|
|
-}
|
|
|
-
|
|
|
-const user = {
|
|
|
- path: '/user',
|
|
|
- name: '用户权限',
|
|
|
- meta: {
|
|
|
- title: '用户群组'
|
|
|
- },
|
|
|
- component: () => import('@/layout/layout.vue'),
|
|
|
- redirect: '/manage',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/manage',
|
|
|
- name: '用户管理',
|
|
|
- icon: 'TeamOutlined',
|
|
|
- component: () => import('@/pages/user/manage/index.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/resource',
|
|
|
- name: '资源管理',
|
|
|
- icon: 'FolderOpenOutlined',
|
|
|
- component: () => import('@/pages/user/resource/index.vue')
|
|
|
- }
|
|
|
- ]
|
|
|
-}
|
|
|
-
|
|
|
const login = {
|
|
|
path: '/login',
|
|
|
name: '登录',
|
|
|
@@ -327,157 +240,7 @@ const login = {
|
|
|
component: () => import('@/pages/login/index.vue')
|
|
|
}
|
|
|
|
|
|
-const cvs = {
|
|
|
- path: '/cvs',
|
|
|
- name: '视联网',
|
|
|
- meta: {
|
|
|
- title: '视联网'
|
|
|
- },
|
|
|
- component: () => import('@/layout/layout.vue'),
|
|
|
- redirect: '/cvs/video/space',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/cvs/csys',
|
|
|
- name: '系统概览 ',
|
|
|
- icon: 'PieChartOutlined',
|
|
|
- component: () => import('@/pages/cvs/csys/index.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/video',
|
|
|
- name: '视频接入',
|
|
|
- icon: 'VideoCameraAddOutlined',
|
|
|
- redirect: '/cvs/video/space',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/cvs/video/space',
|
|
|
- name: '空间',
|
|
|
- icon: '',
|
|
|
- component: () => import('@/pages/cvs/video/space.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/video/device',
|
|
|
- name: '设备',
|
|
|
- icon: '',
|
|
|
- component: () => import('@/pages/cvs/video/device.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/video/tree',
|
|
|
- name: '设备组织树',
|
|
|
- icon: '',
|
|
|
- component: () => import('@/pages/cvs/video/orgtree.vue')
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/project',
|
|
|
- name: '项目管理',
|
|
|
- icon: 'GroupOutlined',
|
|
|
- component: () => import('@/pages/cvs/project/index.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/operator',
|
|
|
- name: '算子仓库',
|
|
|
- icon: 'CloudServerOutlined',
|
|
|
- redirect: '/cvs/operator/manage',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/cvs/operator/manage',
|
|
|
- name: '算子管理',
|
|
|
- icon: '',
|
|
|
- component: () => import('@/pages/cvs/operator/manage.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/operator/version',
|
|
|
- name: '算子版本',
|
|
|
- icon: '',
|
|
|
- hidden: true,
|
|
|
- component: () => import('@/pages/cvs/operator/version.vue')
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/cvsSever',
|
|
|
- name: '数据管理',
|
|
|
- icon: 'AppstoreOutlined',
|
|
|
- component: () => import('@/pages/cvs/dataServer/dataServer.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/edge',
|
|
|
- name: '边缘设备',
|
|
|
- icon: 'ApiOutlined',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '/cvs/edge/list',
|
|
|
- name: '设备列表',
|
|
|
- icon: '',
|
|
|
- component: () => import('@/pages/cvs/edge/list.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/edge/flow',
|
|
|
- name: '设备视频流',
|
|
|
- icon: '',
|
|
|
- component: () => import('@/pages/cvs/edge/flow.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/edge/aiTask',
|
|
|
- name: '设备任务',
|
|
|
- icon: '',
|
|
|
- component: () => import('@/pages/cvs/edge/aiTask.vue')
|
|
|
- },
|
|
|
- // {
|
|
|
- // path: '/cvs/edge/aig',
|
|
|
- // name: '设备算法',
|
|
|
- // icon: '',
|
|
|
- // component: () => import('@/pages/cvs/edge/aig.vue')
|
|
|
- // },
|
|
|
- {
|
|
|
- path: '/cvs/edge/arg',
|
|
|
- name: '设备参数',
|
|
|
- icon: '',
|
|
|
- component: () => import('@/pages/cvs/edge/arg.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/edge/plan',
|
|
|
- name: '设备计划',
|
|
|
- icon: '',
|
|
|
- component: () => import('@/pages/cvs/edge/plan.vue')
|
|
|
- },
|
|
|
- // {
|
|
|
- // path: '/cvs/edge/task',
|
|
|
- // name: '设备任务',
|
|
|
- // icon: '',
|
|
|
- // component: () => import('@/pages/cvs/edge/task.vue')
|
|
|
- // },
|
|
|
- // {
|
|
|
- // path: '/cvs/dataSever/video',
|
|
|
- // name: '设备视频',
|
|
|
- // icon: '',
|
|
|
- // component: () => import('@/pages/cvs/edge/video.vue')
|
|
|
- // },
|
|
|
- {
|
|
|
- path: '/cvs/edge/manage',
|
|
|
- name: 'AI事件管理',
|
|
|
- icon: '',
|
|
|
- component: () => import('@/pages/cvs/edge/manage.vue')
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/edge/forward',
|
|
|
- name: 'AI事件转发',
|
|
|
- icon: '',
|
|
|
- component: () => import('@/pages/cvs/edge/forward.vue')
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: '/cvs/nodes',
|
|
|
- name: '节点管理 ',
|
|
|
- icon: 'DeploymentUnitOutlined',
|
|
|
- component: () => import('@/pages/cvs/nodes/index.vue')
|
|
|
- }
|
|
|
- ]
|
|
|
-}
|
|
|
-
|
|
|
-const _routes = [iot, cvs] as any
|
|
|
+const _routes = [iot] as any
|
|
|
|
|
|
if (_routes[0].link) {
|
|
|
window.open(_routes[0].path)
|