Forráskód Böngészése

提交route文件

zlwu 1 éve
szülő
commit
b0e2cbe467
1 módosított fájl, 1 hozzáadás és 48 törlés
  1. 1 48
      web/src/router/index.ts

+ 1 - 48
web/src/router/index.ts

@@ -89,57 +89,10 @@ export const constantRoutes: RouteRecordRaw[] = [
       }
     ]
   },
-
-  {
-    path: '/xljk',
-    component: Layout,
-    hidden: true,
-    children: [
-      {
-        path: 'evaluation/detail/:id',
-        component: () => import('@/views/xljk/evaluation/detail.vue'),
-        name: 'XljkEvaluationDetail',
-        meta: { title: '心理健康测评详情', icon: 'form', activeMenu: '/xljk/evaluation', noCache: true }
-      },
-      {
-        path: 'evaluation/add',
-        component: () => import('@/views/xljk/evaluation/add.vue'),
-        name: 'XljkEvaluationAdd',
-        meta: { title: '新增心理健康测评', icon: 'form', activeMenu: '/xljk/evaluation', noCache: true }
-      },
-      {
-        path: 'evaluation/edit/:id',
-        component: () => import('@/views/xljk/evaluation/edit.vue'),
-        name: 'XljkEvaluationEdit',
-        meta: { title: '编辑心理健康测评', icon: 'form', activeMenu: '/xljk/evaluation', noCache: true }
-      },
-      {
-        path: 'evaluation/fill/:id',
-        component: () => import('@/views/xljk/evaluation/fill.vue'),
-        name: 'XljkEvaluationFill',
-        meta: { title: '填写心理健康测评', icon: 'form', activeMenu: '/xljk/evaluation', noCache: true }
-      }
-    ]
-  }
 ];
 
 // 动态路由,基于用户权限动态去加载
-export const dynamicRoutes: RouteRecordRaw[] = [
-  {
-    path: '/xljk',
-    component: Layout,
-    name: 'Xljk',
-    meta: { title: '学工管理', icon: 'education' },
-    children: [
-      {
-        path: 'evaluation',
-        component: () => import('@/views/xljk/evaluation/index.vue'),
-        name: 'XljkEvaluation',
-        meta: { title: '心理健康测评', icon: 'heart', permissions: ['xljk:evaluation:list'], noCache: true }
-      }
-    ]
-  }
-];
+export const dynamicRoutes: RouteRecordRaw[] = [];
 
 /**
  * 创建路由