lrf402788946 5 years ago
parent
commit
b8a7fed4e1
1 changed files with 32 additions and 19 deletions
  1. 32 19
      config/menu-config.js

+ 32 - 19
config/menu-config.js

@@ -15,30 +15,43 @@ export const devMenu = [
     ],
   },
   {
-    path: '/teacher/index',
-    name: '教师管理',
-    module: 'center',
-  },
-  {
-    path: '/director/index',
-    name: '班主任管理',
-    module: 'center',
-  },
-  {
-    path: '/dept/index',
-    name: '部门管理',
-    module: 'center',
-  },
-  {
-    path: '/place/index',
-    name: '地点管理',
+    path: '',
+    name: '系统管理',
     module: 'center',
+    children: [
+      {
+        path: '/director/index',
+        name: '班主任管理',
+        module: 'center',
+      },
+      {
+        path: '/dept/index',
+        name: '部门管理',
+        module: 'center',
+      },
+      {
+        path: '/place/index',
+        name: '地点管理',
+        module: 'center',
+      },
+      {
+        path: '/bedroom/index',
+        name: '寝室管理',
+        module: 'center',
+      },
+      {
+        path: '/classes/index',
+        name: '班级管理',
+        module: 'center',
+      },
+    ],
   },
   {
-    path: '/bedroom/index',
-    name: '寝室管理',
+    path: '/teacher/index',
+    name: '教师管理',
     module: 'center',
   },
+
   {
     path: '/work/index',
     name: '作业管理',