liuqiao vor 2 Jahren
Ursprung
Commit
c54b02139d
3 geänderte Dateien mit 2008 neuen und 1386 gelöschten Zeilen
  1. 79 79
      src/router/index.js
  2. 737 319
      src/views/index/HCFDLab/index.vue
  3. 1192 988
      src/views/index/index.vue

+ 79 - 79
src/router/index.js

@@ -28,99 +28,99 @@ export const constantRoutes = [
   {
     path: '/indexLayout/index',
     component: Layout,
-    children:[{
+    children: [{
       path: '/indexLayout/index',
       name: '/indexLayout/index',
       component: () => import('@/views/indexLayout/index'),
       meta: { title: '首页', icon: '' },
       hidden: true,
     }]
-  
+
   },
-    //CDA的路由
-    {
+  //CDA的路由
+  {
+    path: '/home',
+    component: Layout,
+    hidden: true,
+    redirect: 'noRedirect',
+    children: [{
       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',
           name: 'Modify',
           component: () =>
-              import ('@/views/home/modify/index'),
+            import('@/views/home/modify/index'),
           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: '实名验证',
             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',
-      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
   // {
   //   path: 'HCFDLab/index',
@@ -132,7 +132,7 @@ export const constantRoutes = [
   //     meta: { title: '项目新建', icon: '' },
   //     hidden: true,
   //   }]
-  
+
   // },
   // 登陆
   {
@@ -155,7 +155,7 @@ export const constantRoutes = [
     redirect: 'noRedirect',
     children: [{
       path: 'index',
-      name: 'Index',
+      name: 'forget',
       component: () => import('@/views/forget/index'),
       meta: { title: '忘记密码', icon: '' }
     }]
@@ -167,7 +167,7 @@ export const constantRoutes = [
     redirect: 'noRedirect',
     children: [{
       path: 'index',
-      name: 'Index',
+      name: 'register',
       component: () => import('@/views/register/index'),
       meta: { title: '免费注册', icon: '' }
     }]
@@ -179,7 +179,7 @@ export const constantRoutes = [
     redirect: 'noRedirect',
     children: [{
       path: 'index',
-      name: 'Index',
+      name: 'protocol',
       component: () => import('@/views/protocol/index'),
       meta: { title: '注册协议', icon: '' }
     }]

Datei-Diff unterdrückt, da er zu groß ist
+ 737 - 319
src/views/index/HCFDLab/index.vue


Datei-Diff unterdrückt, da er zu groß ist
+ 1192 - 988
src/views/index/index.vue


Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.