guhongwei 4 年之前
父节点
当前提交
41f27fdedc
共有 1 个文件被更改,包括 12 次插入7 次删除
  1. 12 7
      config/menu-config.js

+ 12 - 7
config/menu-config.js

@@ -82,7 +82,7 @@ const teacher = [
   {
     path: '',
     name: '班级管理',
-    module: 'teacher|director',
+    module: 'teacher',
     children: [
       {
         path: '/lesson/index',
@@ -92,18 +92,13 @@ const teacher = [
       {
         path: '/task/index',
         name: '作业管理',
-        module: 'teacher|director',
+        module: 'teacher',
       },
       {
         path: '/class/classStuList',
         name: '学生名单',
         module: 'teacher',
       },
-      {
-        path: '/stuscore/index',
-        name: '评分管理',
-        module: 'director',
-      },
     ],
   },
   {
@@ -368,6 +363,16 @@ export const menu = [
       // },
       //班主任针对自己班,管理员看所有的
       { path: '/statistics/question/index', name: '问卷统计', module: 'center|director' },
+      {
+        path: '/task/index',
+        name: '作业管理',
+        module: 'director',
+      },
+      {
+        path: '/stuscore/index',
+        name: '评分管理',
+        module: 'director',
+      },
     ],
   },
   {