代码调整

This commit is contained in:
dong 2022-10-11 10:45:27 +08:00
parent a51d2348a4
commit c083f0f3e8

View File

@ -1551,7 +1551,7 @@ export const asyncRouter = [
roles: [admin, user, userTrainingPlatform]
},
children: [
{
{ // 仿真
path: '',
component: TrainingPlatform,
// route: { path: '/simulation/trainingPlatform/detail' },
@ -1567,14 +1567,14 @@ export const asyncRouter = [
}
]
},
{
{ // 多人仿真
path: 'multiplayerSimulation',
// component: multiplayerSimulation,
meta: {
i18n: 'newRouter.multiplayerSimulation'
}
},
{
{ // 监管仿真
path: 'regulationSimulation',
component: Temporary,
meta: {
@ -1592,37 +1592,37 @@ export const asyncRouter = [
roles: [admin, user, userTrainingPlatform]
},
children: [
{
{ // 班级管理
path: 'classroom',
// component: Classroom,
component: TeachHome,
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: Exam,
component: PublishExamRule,
meta: {
i18n: 'newRouter.exam'
}
@ -1682,28 +1682,28 @@ export const asyncRouter = [
roles: [admin, userTrainingPlatform]
},
children: [
{
{ // 系统数据管理
path: '/systemDataManagement',
component: TransitionIndex,
meta: {
i18n: 'newRouter.SystemDataManagement'
},
children: [
{
{ // 数据字典
path: 'dictionary',
component: Dictionary,
meta: {
i18n: 'newRouter.dataDictionary'
}
},
{
{ // 系统账户管理
path: 'userManage',
component: UserControl,
meta: {
i18n: 'newRouter.SystemAccountManagement'
}
},
{
{ // 第三方账户配置
path: 'ThirdPartyAccounts',
component: Temporary,
meta: {
@ -1712,28 +1712,28 @@ export const asyncRouter = [
}
]
},
{
{ // 在线信息管理
path: '/OnlineInformationManagement',
component: TransitionIndex,
meta: {
i18n: 'newRouter.OnlineInformationManagement'
},
children: [
{
{ // 在线用户
path: 'loginUserManage',
component: LoginUserControl,
meta: {
i18n: 'newRouter.loginUser'
}
},
{
{ // 缓存数据管理
path: 'CacheControl',
component: CacheControl,
meta: {
i18n: 'newRouter.cacheDataManage'
}
},
{
{ // 仿真管理
path: 'existingSimulation',
component: ExistingSimulation,
meta: {
@ -1742,12 +1742,203 @@ export const asyncRouter = [
}
]
},
{
{ // 组织用户管理
path: 'companyUserManage',
component: DeviceManage,
component: TransitionIndex,
meta: {
i18n: 'newRouter.companyUserManage'
}
},
children: [
{
// 组织管理
path: 'companyManage',
component: CompanyManage,
meta: {
i18n: 'newRouter.companyManage'
}
},
{
// 用户管理
path: 'userManage',
component: UserControl,
meta: {
i18n: 'newRouter.companyUserManage'
}
}
]
},
{ // 线路数据管理
path: 'lineDataManage',
component: TransitionIndex,
meta: {
i18n: 'newRouter.lineDataManage'
},
children: [
{
// 线路类型管理
path: 'companyManage',
component: configLine,
meta: {
i18n: 'newRouter.lineTypeManage'
}
},
{
// 线路数据管理
path: 'companyManage',
component: Temporary,
meta: {
i18n: 'newRouter.lineDataManage'
}
},
{
// 线路分组管理
path: 'userManage',
component: Temporary,
meta: {
i18n: 'newRouter.linePacketManage'
}
}
]
},
{ // 教学数据管理
path: 'teachingDataManage',
component: TransitionIndex,
meta: {
i18n: 'newRouter.teachingDataManage'
},
children: [
{
// 理论题数据管理
path: 'theoryData',
component: Temporary,
meta: {
i18n: 'newRouter.theoryData'
}
},
{
// 实训数据管理
path: 'trainingDataManage',
component: Temporary,
meta: {
i18n: 'newRouter.trainingDataManage'
}
},
{
// 考试数据管理
path: 'examData',
component: BankManage,
meta: {
i18n: 'newRouter.examData'
}
},
{
// 用户实训数据管理
path: 'userTrainingDataManage',
component: UserTraining,
meta: {
i18n: 'newRouter.userTrainingDataManage'
}
},
{
// 用户考试数据管理
path: 'userExamData',
component: UserExam,
meta: {
i18n: 'newRouter.userExamData'
}
}
]
},
{ // 项目数据管理
path: 'projectDataManage',
component: TransitionIndex,
meta: {
i18n: 'newRouter.projectDataManage'
},
children: [
{
// 项目管理
path: 'projectManage',
component: ProjectManage,
meta: {
i18n: 'newRouter.projectManage'
}
},
{
// 项目客户端配置
path: 'projectConfig',
component: Temporary,
meta: {
i18n: 'newRouter.projectConfig'
}
},
{
// 项目设备管理
path: 'projectDeviceManage',
component: Temporary,
meta: {
i18n: 'newRouter.projectDeviceManage'
}
}
]
},
{ // 权限数据管理
path: 'permissionDataManage',
component: TransitionIndex,
meta: {
i18n: 'newRouter.permissionDataManage'
},
children: [
{
// 权限管理
path: 'permissionManage',
component: Author,
meta: {
i18n: 'newRouter.permissionManage'
}
},
{
// 权限分发管理
path: 'authorityTransferManage',
component: Permission,
meta: {
i18n: 'newRouter.authorityTransferManage'
}
},
{
// 用户权限管理
path: 'userRulesManage',
component: UserRules,
meta: {
i18n: 'newRouter.userRulesManage'
}
}
]
},
{ // 文件管理
path: 'fileManage',
component: TransitionIndex,
meta: {
i18n: 'newRouter.fileManage'
},
children: [
{
// 前端资源管理
path: 'frontResourceManage',
component: FrontProjectConfigManage,
meta: {
i18n: 'newRouter.frontResourceManage'
}
},
{
// ISCS预录管理
path: 'iscsPrerecordManage',
component: IscsResourcesManage,
meta: {
i18n: 'newRouter.iscsPrerecordManage'
}
}
]
}
]
}