From dc33306c965199ee462c1d6fd3750e13a76a390e Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Mon, 25 May 2020 18:26:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8F=82=E8=B5=9B=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E8=B7=AF=E7=94=B1=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/competition.js | 6 +- src/views/jsxt/competition/examDetail.vue | 72 ++++++++++++--------- src/views/newMap/jointTrainingNew/index.vue | 2 +- 3 files changed, 47 insertions(+), 33 deletions(-) diff --git a/src/api/competition.js b/src/api/competition.js index 8af0f2102..dd286df15 100644 --- a/src/api/competition.js +++ b/src/api/competition.js @@ -75,7 +75,7 @@ export function getIsSignUp(raceId, params = {}) { /** 分页查询竞赛报名人员 */ export function getRaceUserList(params) { return request({ - url: `/api/race/${params.raceId}/raceUser`, + url: `/api/race/${params.raceId}/raceUser/page`, method: 'get', params }); @@ -108,9 +108,9 @@ export function getCompetitionPractical(competitionId) { } /** 查询竞赛报名人员详情 */ -export function getRaceUserById(raceId, userId) { +export function getRaceUserById(raceId) { return request({ - url: `/api/race/${raceId}/raceUser/${userId}`, + url: `/api/race/${raceId}/raceUser`, method: 'get' }); } diff --git a/src/views/jsxt/competition/examDetail.vue b/src/views/jsxt/competition/examDetail.vue index 5b01cb9d1..03ca871df 100644 --- a/src/views/jsxt/competition/examDetail.vue +++ b/src/views/jsxt/competition/examDetail.vue @@ -1,7 +1,7 @@