增加打分结算路由

This commit is contained in:
joylink_zhaoerwei 2024-03-01 13:18:44 +08:00
parent 0478838734
commit e554cda023
5 changed files with 22 additions and 3 deletions

View File

@ -230,6 +230,7 @@ const ContestSeasonManage = () => import('@/views/contestDataManage/contestSeaso
const ContestScoreEdit = () => import('@/views/contestDataManage/contestTaskScoreManage/edit'); const ContestScoreEdit = () => import('@/views/contestDataManage/contestTaskScoreManage/edit');
const ContestList = () => import('@/views/contest/contestList'); const ContestList = () => import('@/views/contest/contestList');
const ContestDetail = () => import('@/views/contest/contestDetail'); const ContestDetail = () => import('@/views/contest/contestDetail');
const ScoringSettlement = () => import('@/views/contest/ScoringSettlement');
// import { GenerateRouteProjectList } from '@/scripts/ProjectConfig'; // import { GenerateRouteProjectList } from '@/scripts/ProjectConfig';
// import { getSessionStorage } from '@/utils/auth'; // import { getSessionStorage } from '@/utils/auth';
@ -690,6 +691,11 @@ export const publicAsyncRoute = [
path: 'detail', path: 'detail',
component: ContestDetail, component: ContestDetail,
hidden: true hidden: true
},
{
path: 'scoringSettlement',
component: ScoringSettlement,
hidden: true
} }
] ]
} }

View File

@ -0,0 +1,13 @@
<template>
<div>打分结算</div>
</template>
<script>
export default {
name: 'ScoringSettlement'
};
</script>
<style scoped>
</style>

View File

@ -224,7 +224,7 @@ export default {
this.$router.push('/contest/list'); this.$router.push('/contest/list');
}, },
submit() { submit() {
this.$router.push('/contest/list'); this.$router.push('/contest/scoringSettlement');
} }
} }
}; };

View File

@ -55,7 +55,7 @@ import { getPaperDetail, getContextScoreDetail} from '@/api/contest';
let id = 1; let id = 1;
export default { export default {
name: 'TrainingPlatform', name: 'ContestList',
components: { components: {
paperList, paperList,
drapLeft drapLeft

View File

@ -43,7 +43,7 @@
<script> <script>
import { queryContestSeasonPaged, getPaperList} from '@/api/contest'; import { queryContestSeasonPaged, getPaperList} from '@/api/contest';
export default { export default {
name: 'DemonList', name: 'PaperList',
components: { components: {
}, },
data() { data() {