diff --git a/src/i18n/langs/en/newRouter.js b/src/i18n/langs/en/newRouter.js index 1ee49ab46..6f3fc4e2c 100644 --- a/src/i18n/langs/en/newRouter.js +++ b/src/i18n/langs/en/newRouter.js @@ -38,6 +38,13 @@ export default { permissionManage: 'Permission', authorityTransferManage: 'Privilege distribution management', userRulesManage: 'User Rights Statistics', + contestDataManage:'Contest data management', + contestSubjectManage:'contest subject management', + contestModuleManage:'contest module management', + contestTaskManage:'contest task management', + contestSceneManage:'contest scene management', + contestTaskScoreManage:'contest task score management', + contestSceneDraftManage:'contest scene draft management', fileManage: 'File Manage', frontResourceManage: 'Front-End Resource Management', iscsPrerecordManage: 'ISCS Advance record management', diff --git a/src/i18n/langs/zh/newRouter.js b/src/i18n/langs/zh/newRouter.js index 2c07c485d..fa84bd66b 100644 --- a/src/i18n/langs/zh/newRouter.js +++ b/src/i18n/langs/zh/newRouter.js @@ -38,6 +38,13 @@ export default { permissionManage: '权限管理', authorityTransferManage: '权限分发管理', userRulesManage: '用户权限管理', + contestDataManage:'竞赛数据管理', + contestSubjectManage:'竞赛题目管理', + contestModuleManage:'竞赛模块管理', + contestTaskManage:'竞赛任务管理', + contestSceneManage:'竞赛场景管理', + contestTaskScoreManage:'竞赛任务评分管理', + contestSceneDraftManage:'竞赛场景草稿管理', fileManage: '文件管理', frontResourceManage: '前端资源管理', iscsPrerecordManage: 'ISCS预录管理', diff --git a/src/router/index.js b/src/router/index.js index c8b11cf8b..1084dab8c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -220,7 +220,14 @@ const UserRulesManage = () => import('@/views/userRulesManage/index'); const AuthorityTransfer = () => import('@/views/authorityTransfer/index'); const CreateDistribute = () => import('@/views/authorityTransfer/create/index'); const ThirdJumpSim = () => import('@/views/newMap/display/thirdJump'); -const TmsPage = () => import('@/views/jlmap3d/drive/sceneview/tmsPage') +const TmsPage = () => import('@/views/jlmap3d/drive/sceneview/tmsPage'); + +const ContestSubjectManage = () => import('@/views/contestDataManage/contestSubjectManage/ContestSubjectManage'); +const ContestModuleManage = () => import('@/views/contestDataManage/contestModuleManage/ContestModuleManage'); +const ContestTaskManage = () => import('@/views/contestDataManage/contestTaskManage/ContestTaskManage'); +const ContestSceneManage = () => import('@/views/contestDataManage/contestSceneManage/ContestSceneManage'); +const ContestTaskScoreManage = () => import('@/views/contestDataManage/contestTaskScoreManage/ContestTaskScoreManage'); +const ContestSceneDraftManage = () => import('@/views/contestDataManage/contestSceneDraftManage/ContestSceneDraftManage'); // import { GenerateRouteProjectList } from '@/scripts/ProjectConfig'; // import { getSessionStorage } from '@/utils/auth'; @@ -324,13 +331,13 @@ export const constantRoutes = [ path: '/jlmap3d/lcjy', component: LcJy, hidden: true - }, + }, - { - path: '/tmsPage', - component: TmsPage, - hidden: true - }, + { + path: '/tmsPage', + component: TmsPage, + hidden: true + }, { path: '/data2json', @@ -2017,6 +2024,63 @@ export const asyncRouter = [ } ] }, + { // 竞赛数据管理 + path: 'contestDataManage', + component: TransitionIndex, + meta: { + i18n: 'newRouter.contestDataManage' + }, + children: [ + { + // 竞赛题目管理 + path: 'contestSubjectManage', + component: ContestSubjectManage, + meta: { + i18n: 'newRouter.contestSubjectManage' + } + }, + { + // 竞赛模块管理 + path: 'contestModuleManage', + component: ContestModuleManage, + meta: { + i18n: 'newRouter.contestModuleManage' + } + }, + { + // 竞赛任务管理 + path: 'contestTaskManage', + component: ContestTaskManage, + meta: { + i18n: 'newRouter.contestTaskManage' + } + }, + { + // 竞赛场景管理 + path: 'contestSceneManage', + component: ContestSceneManage, + meta: { + i18n: 'newRouter.contestSceneManage' + } + }, + { + // 竞赛任务评分管理 + path: 'contestTaskScoreManage', + component: ContestTaskScoreManage, + meta: { + i18n: 'newRouter.contestTaskScoreManage' + } + }, + { + // 竞赛场景草稿管理 + path: 'contestSceneDraftManage', + component: ContestSceneDraftManage, + meta: { + i18n: 'newRouter.contestSceneDraftManage' + } + } + ] + }, { // 项目数据管理 path: 'projectDataManage', component: TransitionIndex, diff --git a/src/views/contestDataManage/contestModuleManage/ContestModuleManage.vue b/src/views/contestDataManage/contestModuleManage/ContestModuleManage.vue new file mode 100644 index 000000000..ac05e2727 --- /dev/null +++ b/src/views/contestDataManage/contestModuleManage/ContestModuleManage.vue @@ -0,0 +1,3 @@ + diff --git a/src/views/contestDataManage/contestSceneDraftManage/ContestSceneDraftManage.vue b/src/views/contestDataManage/contestSceneDraftManage/ContestSceneDraftManage.vue new file mode 100644 index 000000000..8972f0fb0 --- /dev/null +++ b/src/views/contestDataManage/contestSceneDraftManage/ContestSceneDraftManage.vue @@ -0,0 +1,3 @@ + diff --git a/src/views/contestDataManage/contestSceneManage/ContestSceneManage.vue b/src/views/contestDataManage/contestSceneManage/ContestSceneManage.vue new file mode 100644 index 000000000..d4073f7d6 --- /dev/null +++ b/src/views/contestDataManage/contestSceneManage/ContestSceneManage.vue @@ -0,0 +1,3 @@ + diff --git a/src/views/contestDataManage/contestSubjectManage/ContestSubjectManage.vue b/src/views/contestDataManage/contestSubjectManage/ContestSubjectManage.vue new file mode 100644 index 000000000..574ebbc09 --- /dev/null +++ b/src/views/contestDataManage/contestSubjectManage/ContestSubjectManage.vue @@ -0,0 +1,3 @@ + diff --git a/src/views/contestDataManage/contestTaskManage/ContestTaskManage.vue b/src/views/contestDataManage/contestTaskManage/ContestTaskManage.vue new file mode 100644 index 000000000..0c78e8bc3 --- /dev/null +++ b/src/views/contestDataManage/contestTaskManage/ContestTaskManage.vue @@ -0,0 +1,3 @@ + diff --git a/src/views/contestDataManage/contestTaskScoreManage/ContestTaskScoreManage.vue b/src/views/contestDataManage/contestTaskScoreManage/ContestTaskScoreManage.vue new file mode 100644 index 000000000..333be95c2 --- /dev/null +++ b/src/views/contestDataManage/contestTaskScoreManage/ContestTaskScoreManage.vue @@ -0,0 +1,3 @@ +