diff --git a/src/api/contest.js b/src/api/contest.js index 7b703a883..10aaa2467 100644 --- a/src/api/contest.js +++ b/src/api/contest.js @@ -325,7 +325,7 @@ export function publishContextSence(data) { */ export function getTaskTree(paperId, moduleId) { return request({ - url: `/api/exercise/race/paper/page/${paperId}/module/${moduleId}/task`, + url: `/api/exercise/race/paper/${paperId}/module/${moduleId}/task`, method: 'get' }); } 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 a5a9dc502..e9b3254b9 100644 --- a/src/views/contest/contestDetail.vue +++ b/src/views/contest/contestDetail.vue @@ -3,7 +3,7 @@
-
{{ data.groupName||data.name }}
+
{{ data.name }}
@@ -23,7 +23,7 @@
- +
{{ nowData.name }}
@@ -42,8 +42,8 @@
- 评分表 - 开始任务 + 评分表 + 开始任务 下一任务
@@ -53,7 +53,9 @@ diff --git a/src/views/contest/contestList.vue b/src/views/contest/contestList.vue index 606fa4c5a..316cd728e 100644 --- a/src/views/contest/contestList.vue +++ b/src/views/contest/contestList.vue @@ -1,47 +1,42 @@ @@ -49,25 +44,30 @@ diff --git a/src/views/contest/paperList.vue b/src/views/contest/paperList.vue index 2f6f488fd..61ac98d1a 100644 --- a/src/views/contest/paperList.vue +++ b/src/views/contest/paperList.vue @@ -3,8 +3,8 @@
- - + + - + - - 查询 -
@@ -35,7 +32,7 @@ active-text-color="#ffd04b" > @@ -46,7 +43,7 @@