From a50049648cec80a085972cd75ad2cf5a511d2b75 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Tue, 11 Oct 2022 14:07:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 50 +++++++++++++-------------------------------- 1 file changed, 14 insertions(+), 36 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 53ce6dcb7..7ad907065 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1585,7 +1585,7 @@ export const asyncRouter = [ ] }, { // 新路由-教学管理菜单 - path: '/teachingManagement', + path: '/info', component: Layout, meta: { i18n: 'newRouter.teachingManagement', @@ -1593,41 +1593,19 @@ export const asyncRouter = [ }, children: [ { // 班级管理 - path: 'classroom', - component: TeachHome, + path: 'organization', + component: OrganizationManage, meta: { - i18n: 'newRouter.classroom' - } - }, - { // 学生管理 - path: 'student', - // component: Student, - meta: { - i18n: 'newRouter.student' - } - }, - { // 理论题目管理 - path: 'theory', - // component: Theory, - meta: { - i18n: 'newRouter.theory' - } - }, - { // 实训教学管理 - path: 'training', - // component: Training, - meta: { - i18n: 'newRouter.training' - } - }, - { // 考试管理 - path: 'exam', - component: PublishExamRule, - meta: { - i18n: 'newRouter.exam' - } + i18n: 'newRouter.teachingManagement' + }, + children: [ + { + path:'classManage', + component: OrgClassManage, + hidden: true + } + ] } - ] }, { // 新路由-线路设计 @@ -1776,7 +1754,7 @@ export const asyncRouter = [ children: [ { // 线路类型管理 - path: 'companyManage', + path: 'lineTypeManage', component: configLine, meta: { i18n: 'newRouter.lineTypeManage' @@ -1784,7 +1762,7 @@ export const asyncRouter = [ }, { // 线路数据管理 - path: 'companyManage', + path: 'lineDataManage', component: Temporary, meta: { i18n: 'newRouter.lineDataManage'