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 }}
-
+
+