|
@@ -28,99 +28,99 @@ export const constantRoutes = [
|
|
{
|
|
{
|
|
path: '/indexLayout/index',
|
|
path: '/indexLayout/index',
|
|
component: Layout,
|
|
component: Layout,
|
|
- children:[{
|
|
|
|
|
|
+ children: [{
|
|
path: '/indexLayout/index',
|
|
path: '/indexLayout/index',
|
|
name: '/indexLayout/index',
|
|
name: '/indexLayout/index',
|
|
component: () => import('@/views/indexLayout/index'),
|
|
component: () => import('@/views/indexLayout/index'),
|
|
meta: { title: '首页', icon: '' },
|
|
meta: { title: '首页', icon: '' },
|
|
hidden: true,
|
|
hidden: true,
|
|
}]
|
|
}]
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
- //CDA的路由
|
|
|
|
- {
|
|
|
|
|
|
+ //CDA的路由
|
|
|
|
+ {
|
|
|
|
+ path: '/home',
|
|
|
|
+ component: Layout,
|
|
|
|
+ hidden: true,
|
|
|
|
+ redirect: 'noRedirect',
|
|
|
|
+ children: [{
|
|
path: '/home',
|
|
path: '/home',
|
|
- component: Layout,
|
|
|
|
- hidden: true,
|
|
|
|
- redirect: 'noRedirect',
|
|
|
|
- children: [{
|
|
|
|
- path: '/home',
|
|
|
|
- name: 'home',
|
|
|
|
- component: () => import('@/views/home/index'),
|
|
|
|
- meta: { title: 'CDA首页', icon: '' },
|
|
|
|
- children: [
|
|
|
|
- {
|
|
|
|
- path: '/home/myproject',
|
|
|
|
- component: () => import('@/views/home/myproject/index'),
|
|
|
|
- meta: { title: '我的项目', icon: '' },
|
|
|
|
- hidden: true
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/home/openproject',
|
|
|
|
- component: () => import('@/views/home/openproject/index'),
|
|
|
|
- meta: { title: '公开项目', icon: '' },
|
|
|
|
- hidden: true
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/user-info',
|
|
|
|
- name: 'userInfo',
|
|
|
|
- component: () => import('@/views/home/user-info/index'),
|
|
|
|
- meta: { title: '用户信息', icon: '' },
|
|
|
|
- hidden: true
|
|
|
|
|
|
+ name: 'home',
|
|
|
|
+ component: () => import('@/views/home/index'),
|
|
|
|
+ meta: { title: 'CDA首页', icon: '' },
|
|
|
|
+ children: [
|
|
|
|
+ {
|
|
|
|
+ path: '/home/myproject',
|
|
|
|
+ component: () => import('@/views/home/myproject/index'),
|
|
|
|
+ meta: { title: '我的项目', icon: '' },
|
|
|
|
+ hidden: true
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/home/openproject',
|
|
|
|
+ component: () => import('@/views/home/openproject/index'),
|
|
|
|
+ meta: { title: '公开项目', icon: '' },
|
|
|
|
+ hidden: true
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/user-info',
|
|
|
|
+ name: 'userInfo',
|
|
|
|
+ component: () => import('@/views/home/user-info/index'),
|
|
|
|
+ meta: { title: '用户信息', icon: '' },
|
|
|
|
+ hidden: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/modify',
|
|
path: '/modify',
|
|
name: 'Modify',
|
|
name: 'Modify',
|
|
component: () =>
|
|
component: () =>
|
|
- import ('@/views/home/modify/index'),
|
|
|
|
|
|
+ import('@/views/home/modify/index'),
|
|
meta: {
|
|
meta: {
|
|
- title: '修改密码',
|
|
|
|
- icon: ''
|
|
|
|
|
|
+ title: '修改密码',
|
|
|
|
+ icon: ''
|
|
}
|
|
}
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/real',
|
|
|
|
- name: 'real',
|
|
|
|
- component: () =>
|
|
|
|
- import ('@/views/home/real/index'),
|
|
|
|
- meta: {
|
|
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/real',
|
|
|
|
+ name: 'real',
|
|
|
|
+ component: () =>
|
|
|
|
+ import('@/views/home/real/index'),
|
|
|
|
+ meta: {
|
|
title: '实名验证',
|
|
title: '实名验证',
|
|
icon: ''
|
|
icon: ''
|
|
- }
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- ]
|
|
|
|
- }]
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- {
|
|
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ ]
|
|
|
|
+ }]
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ path: '/index',
|
|
|
|
+ component: Layout,
|
|
|
|
+ children: [{
|
|
|
|
+ path: '/index',
|
|
|
|
+ name: 'index2',
|
|
|
|
+ component: () => import('@/views/index/index'),
|
|
|
|
+ meta: { title: '项目新建', icon: '' },
|
|
|
|
+ hidden: true,
|
|
|
|
+ }]
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ path: '/HCFDLab/chart',
|
|
|
|
+ component: Layout,
|
|
|
|
+ children: [{
|
|
path: '/index',
|
|
path: '/index',
|
|
- component: Layout,
|
|
|
|
- children:[{
|
|
|
|
- path: '/index',
|
|
|
|
- name: 'index',
|
|
|
|
- component: () => import('@/views/index/index'),
|
|
|
|
- meta: { title: '项目新建', icon: '' },
|
|
|
|
- hidden: true,
|
|
|
|
- }]
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/HCFDLab/chart',
|
|
|
|
- component: Layout,
|
|
|
|
- children:[{
|
|
|
|
- path: '/index',
|
|
|
|
- name: 'index',
|
|
|
|
- component: () => import('@/views/index/HCFDLab/chart'),
|
|
|
|
- meta: { title: '项目新建', icon: '' },
|
|
|
|
- hidden: true,
|
|
|
|
- }]
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ name: 'index',
|
|
|
|
+ component: () => import('@/views/index/HCFDLab/chart'),
|
|
|
|
+ meta: { title: '项目新建', icon: '' },
|
|
|
|
+ hidden: true,
|
|
|
|
+ }]
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
//HCFD
|
|
//HCFD
|
|
// {
|
|
// {
|
|
// path: 'HCFDLab/index',
|
|
// path: 'HCFDLab/index',
|
|
@@ -132,7 +132,7 @@ export const constantRoutes = [
|
|
// meta: { title: '项目新建', icon: '' },
|
|
// meta: { title: '项目新建', icon: '' },
|
|
// hidden: true,
|
|
// hidden: true,
|
|
// }]
|
|
// }]
|
|
-
|
|
|
|
|
|
+
|
|
// },
|
|
// },
|
|
// 登陆
|
|
// 登陆
|
|
{
|
|
{
|
|
@@ -155,7 +155,7 @@ export const constantRoutes = [
|
|
redirect: 'noRedirect',
|
|
redirect: 'noRedirect',
|
|
children: [{
|
|
children: [{
|
|
path: 'index',
|
|
path: 'index',
|
|
- name: 'Index',
|
|
|
|
|
|
+ name: 'forget',
|
|
component: () => import('@/views/forget/index'),
|
|
component: () => import('@/views/forget/index'),
|
|
meta: { title: '忘记密码', icon: '' }
|
|
meta: { title: '忘记密码', icon: '' }
|
|
}]
|
|
}]
|
|
@@ -167,7 +167,7 @@ export const constantRoutes = [
|
|
redirect: 'noRedirect',
|
|
redirect: 'noRedirect',
|
|
children: [{
|
|
children: [{
|
|
path: 'index',
|
|
path: 'index',
|
|
- name: 'Index',
|
|
|
|
|
|
+ name: 'register',
|
|
component: () => import('@/views/register/index'),
|
|
component: () => import('@/views/register/index'),
|
|
meta: { title: '免费注册', icon: '' }
|
|
meta: { title: '免费注册', icon: '' }
|
|
}]
|
|
}]
|
|
@@ -179,7 +179,7 @@ export const constantRoutes = [
|
|
redirect: 'noRedirect',
|
|
redirect: 'noRedirect',
|
|
children: [{
|
|
children: [{
|
|
path: 'index',
|
|
path: 'index',
|
|
- name: 'Index',
|
|
|
|
|
|
+ name: 'protocol',
|
|
component: () => import('@/views/protocol/index'),
|
|
component: () => import('@/views/protocol/index'),
|
|
meta: { title: '注册协议', icon: '' }
|
|
meta: { title: '注册协议', icon: '' }
|
|
}]
|
|
}]
|