From d17dc79e24286ca2f23cd5ee3a12cff249dc564b Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Thu, 7 Mar 2024 15:12:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=A4=A7=E8=B5=9B=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/contest.js | 13 ++++++ src/views/contest/contestList.vue | 69 +++++++++++++++++++------------ src/views/contest/paperList.vue | 53 +++++++++--------------- 3 files changed, 75 insertions(+), 60 deletions(-) diff --git a/src/api/contest.js b/src/api/contest.js index 482df6a2e..8cf7fa16e 100644 --- a/src/api/contest.js +++ b/src/api/contest.js @@ -51,6 +51,19 @@ export function deletePaper(id) { }); } +/** + * 获取竞赛试卷菜单 + * @param {Object} params + * @param {String} params.group 分组ZZ=中职;GZ=高职 + */ +export function getPaperMenu(params) { + return request({ + url: '/api/exercise/race/paper/menu', + method: 'GET', + params + }); +} + /** 模块修改任务设置 * @param {Object} data * @param {Array} data.modules 所有模块 diff --git a/src/views/contest/contestList.vue b/src/views/contest/contestList.vue index 6e466634b..c35f5a690 100644 --- a/src/views/contest/contestList.vue +++ b/src/views/contest/contestList.vue @@ -8,7 +8,8 @@
{{ paperName }}
-
+
+