From e554cda023ac7882a3099d1f859928967bbd7dde Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Fri, 1 Mar 2024 13:18:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=89=93=E5=88=86=E7=BB=93?= =?UTF-8?q?=E7=AE=97=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 6 ++++++ src/views/contest/ScoringSettlement.vue | 13 +++++++++++++ src/views/contest/contestDetail.vue | 2 +- src/views/contest/contestList.vue | 2 +- src/views/contest/paperList.vue | 2 +- 5 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 src/views/contest/ScoringSettlement.vue diff --git a/src/router/index.js b/src/router/index.js index 2e7181bd1..e772868a4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -230,6 +230,7 @@ const ContestSeasonManage = () => import('@/views/contestDataManage/contestSeaso const ContestScoreEdit = () => import('@/views/contestDataManage/contestTaskScoreManage/edit'); const ContestList = () => import('@/views/contest/contestList'); const ContestDetail = () => import('@/views/contest/contestDetail'); +const ScoringSettlement = () => import('@/views/contest/ScoringSettlement'); // import { GenerateRouteProjectList } from '@/scripts/ProjectConfig'; // import { getSessionStorage } from '@/utils/auth'; @@ -690,6 +691,11 @@ export const publicAsyncRoute = [ path: 'detail', component: ContestDetail, hidden: true + }, + { + path: 'scoringSettlement', + component: ScoringSettlement, + hidden: true } ] } diff --git a/src/views/contest/ScoringSettlement.vue b/src/views/contest/ScoringSettlement.vue new file mode 100644 index 000000000..306518861 --- /dev/null +++ b/src/views/contest/ScoringSettlement.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/contest/contestDetail.vue b/src/views/contest/contestDetail.vue index ea53db89e..01ded50ba 100644 --- a/src/views/contest/contestDetail.vue +++ b/src/views/contest/contestDetail.vue @@ -224,7 +224,7 @@ export default { this.$router.push('/contest/list'); }, submit() { - this.$router.push('/contest/list'); + this.$router.push('/contest/scoringSettlement'); } } }; diff --git a/src/views/contest/contestList.vue b/src/views/contest/contestList.vue index 6c4aeaef9..91bf0098d 100644 --- a/src/views/contest/contestList.vue +++ b/src/views/contest/contestList.vue @@ -55,7 +55,7 @@ import { getPaperDetail, getContextScoreDetail} from '@/api/contest'; let id = 1; export default { - name: 'TrainingPlatform', + name: 'ContestList', components: { paperList, drapLeft diff --git a/src/views/contest/paperList.vue b/src/views/contest/paperList.vue index fe604b89b..61ac98d1a 100644 --- a/src/views/contest/paperList.vue +++ b/src/views/contest/paperList.vue @@ -43,7 +43,7 @@