产品分化调整

This commit is contained in:
fan 2019-10-10 10:21:22 +08:00
parent 3381424f0d
commit 0a36fee338
3 changed files with 32 additions and 91 deletions

View File

@ -62,5 +62,8 @@ export default {
userSimulationManage: 'User simulation management',
existingSimulation: 'Existence simulation management',
ibpDraw: 'Ibp Draw',
trainingPlatform: 'trainingPlatform'
trainingPlatform: 'trainingPlatform',
releaseApplication: 'Release application',
courseApplication: 'Course release application',
scriptReleaseApplication: 'Script release application'
};

View File

@ -63,5 +63,8 @@ export default {
existingSimulation: '存在仿真管理',
ibpDraw: 'Ibp盘绘制',
trainingPlatform: '实训平台'
trainingPlatform: '实训平台',
releaseApplication: '发布申请',
courseApplication: '课程发布申请',
scriptReleaseApplication: '剧本发布申请'
};

View File

@ -316,73 +316,10 @@ export const constantRoutes = [
component: Errpr404,
hidden: true
},
// {
// path: '/',
// component: Layout,
// redirect: '/dashboard',
// meta: {
// roles: [admin, user]
// },
// children: [{
// path: 'dashboard',
// component: Dashboard,
// meta: {
// i18n: 'router.homePage',
// icon: 'dashboard'
// }
// }]
// },
{ path: '*', redirect: '/404', hidden: true }
];
export const asyncRouter = [
// {
// path: '/',
// component: Layout,
// redirect: '/trainingPlatform',
// hidden: true,
// meta: {
// roles: [admin, user]
// }
// // children: [
// // {
// // path: 'dashboard',
// // component: Dashboard,
// // meta: {
// // i18n: 'router.homePage',
// // icon: 'dashboard'
// // }
// // }
// // ]
// },
// {
// path: '/design',
// component: Layout,
// meta: {
// roles: [admin, user, userDesign]
// },
// children: [
// {
// path: '',
// redirect: '/design/home',
// component: DesignPlatform,
// meta: {
// i18n: 'router.designhomePage',
// icon: 'design'
// },
// children: [
// {
// path: 'home',
// component: DesignPlatformHome,
// meta: {
// }
// }
// ]
// }
// ]
// },
{
path: '/design',
component: Layout,
@ -569,18 +506,6 @@ export const asyncRouter = [
hidden: true,
component: Layout,
children: [
// {
// path: 'skinCode',
// component: SkinCode,
// meta: {
// i18n: 'router.skinManage'
// }
// },
// {
// path: 'skinCode/draft/:mode/:skinCodeId',
// hidden: true,
// component: SkinCodeDraft
// },
{
path: 'draw',
redirect: '/map/draw/0/draft',
@ -642,13 +567,6 @@ export const asyncRouter = [
}
]
},
{
path: 'manage/taskManage',
component: Taskmanage,
meta: {
i18n: 'router.taskManage'
}
},
{
path: 'manage/trainingRule',
component: TrainingRuleList,
@ -670,13 +588,6 @@ export const asyncRouter = [
i18n: 'router.trainingManage'
}
}
// {
// path: 'edit',
// component: Lessoncategory,
// meta: {
// i18n: 'router.lessonEdit'
// }
// }
]
},
{
@ -1123,6 +1034,30 @@ export const asyncRouter = [
}
}
]
},
{
path: '/apply',
component: Layout,
meta: {
i18n: 'router.releaseApplication',
roles: [admin, userDesign]
},
children: [
{
path: 'lesson',
component: SkinCode,
meta: {
i18n: 'router.courseApplication'
}
},
{
path: 'script',
component: SkinCode,
meta: {
il8n: 'router'
}
}
]
}
];