Browse Source

菜单添加

lrf402788946 5 years ago
parent
commit
102addc762
1 changed files with 16 additions and 204 deletions
  1. 16 204
      src/config/menu-config.js

+ 16 - 204
src/config/menu-config.js

@@ -2,6 +2,7 @@ export const devMenu = [
   {
     path: '/test',
     name: '测试',
+    platform: 'admin',
     children: [
       {
         path: '/list',
@@ -13,208 +14,19 @@ export const devMenu = [
       },
     ],
   },
-  // {
-  //   path: '/notice',
-  //   name: '通知管理(中心)',
-  //   children: [
-  //     {
-  //       path: '/add',
-  //       name: '通知发布',
-  //     },
-  //     {
-  //       path: '/list',
-  //       name: '通知查询',
-  //     },
-  //   ],
-  // },
-  // {
-  //   path: '/plan',
-  //   name: '计划管理(中心)',
-  //   children: [
-  //     {
-  //       path: '/add',
-  //       name: '制定计划',
-  //     },
-  //     {
-  //       path: '/index',
-  //       name: '计划列表',
-  //     },
-  //   ],
-  // },
-  // {
-  //   path: '/base',
-  //   name: '基础设置(中心)',
-  //   children: [
-  //     {
-  //       path: '/classesList',
-  //       name: '班级管理',
-  //     },
-  //     {
-  //       path: '/lessonList',
-  //       name: '课程管理',
-  //     },
-  //     {
-  //       path: '/teacherList',
-  //       name: '教师管理',
-  //     },
-  //     {
-  //       path: '/instructorList',
-  //       name: '班主任管理',
-  //     },
-  //   ],
-  // },
-  // {
-  //   path: '/arrangement',
-  //   name: '分班排课(中心)',
-  //   children: [
-  //     {
-  //       path: '/list',
-  //       name: '分班',
-  //     },
-  //     {
-  //       path: '/branchLess',
-  //       name: '排课',
-  //     },
-  //   ],
-  // },
-  // {
-  //   path: '/cer/index',
-  //   name: '证书管理(中心)',
-  // },
-  // {
-  //   path: '/leave',
-  //   name: '请假管理(中心)',
-  //   children: [
-  //     {
-  //       path: '/teacherLeaveList',
-  //       name: '教师申请',
-  //     },
-  //   ],
-  // },
-  // {
-  //   path: '/system',
-  //   name: '系统设置(中心)',
-  //   children: [
-  //     {
-  //       path: '/school',
-  //       name: '学校设置',
-  //     },
-  //     {
-  //       path: '/user',
-  //       name: '用户设置',
-  //     },
-  //     {
-  //       path: '/role',
-  //       name: '权限设置',
-  //     },
-  //     {
-  //       path: '/basics',
-  //       name: '基础设置',
-  //     },
-  //   ],
-  // },
-
-  // {
-  //   path: '/noticeSch',
-  //   name: '通知管理(学校)',
-  //   children: [
-  //     {
-  //       path: '/noticeList',
-  //       name: '通知管理',
-  //     },
-  //   ],
-  // },
-  // {
-  //   path: '/planSch',
-  //   name: '计划管理(学校)',
-  //   children: [
-  //     {
-  //       path: '/planList',
-  //       name: '计划管理',
-  //     },
-  //   ],
-  // },
-  // {
-  //   path: '/centerSch',
-  //   name: '个人中心(学校)',
-  //   children: [
-  //     {
-  //       path: '/schoolCenter',
-  //       name: '个人中心',
-  //     },
-  //   ],
-  // },
-  // {
-  //   path: '/student_list',
-  //   name: '学生管理(班主任)',
-  //   children: [
-  //     {
-  //       path: '/student',
-  //       name: '学生管理',
-  //     },
-  //   ],
-  // },
-  // {
-  //   path: '/work',
-  //   name: '考勤管理(班主任)',
-  //   children: [
-  //     {
-  //       path: '/workDetails',
-  //       name: '考勤详情',
-  //     },
-  //   ],
-  // },
-  // {
-  //   path: '/leaveDir',
-  //   name: '请假管理(班主任)',
-  //   children: [
-  //     {
-  //       path: '/studentLeaveList',
-  //       name: '学生申请',
-  //     },
-  //   ],
-  // },
-  // {
-  //   path: '/score_list',
-  //   name: '评分管理(班主任)',
-  //   children: [
-  //     {
-  //       path: '/score',
-  //       name: '评分管理',
-  //     },
-  //   ],
-  // },
-  // {
-  //   path: '/center',
-  //   name: '个人中心(班主任)',
-  //   children: [
-  //     {
-  //       path: '/myCenter',
-  //       name: '个人中心',
-  //     },
-  //   ],
-  // },
-
-  // {
-  //   path: '/teacher',
-  //   name: '教师管理(教师)',
-  //   children: [
-  //     {
-  //       path: '/timetable',
-  //       name: '课表管理',
-  //     },
-  //     {
-  //       path: '/leave',
-  //       name: '请假管理',
-  //     },
-  //     {
-  //       path: '/task',
-  //       name: '作业管理',
-  //     },
-  //     {
-  //       path: '/personal',
-  //       name: '个人中心',
-  //     },
-  //   ],
-  // },
+  {
+    path: '/doctor',
+    name: '医生管理',
+    platform: 'doctor',
+    children: [
+      {
+        path: '/list',
+        name: '医生列表',
+      },
+      {
+        path: '/detail',
+        name: '测试详情',
+      },
+    ],
+  },
 ];