From 8bef91baa650f58c89de865e42c28e43197feb00 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 17 Apr 2024 10:28:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=9B=E4=BA=8B=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 1 + src/pages/match/add/step1.vue | 2 +- src/pages/match/add/step2.vue | 5 +- src/pages/match/list/index.vue | 2 +- src/pages/match/manage/matchArch.vue | 1 + src/pages/match/manage/matchArchList.vue | 40 ++++++------- src/pages/match/manage/matchRank.vue | 65 ++++++-------------- src/pages/match/manage/matchSignup.vue | 76 ++++++++++++------------ src/pages/project/add/index.vue | 3 +- 9 files changed, 85 insertions(+), 110 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index 94dd309..a1b6657 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -221,6 +221,7 @@ export default { batchImportTeamData: `${host}competition/competition/registration/batchImportTeamData`, TeamDataExportFailure: `${host}competition/competition/registration/exportFailure`, batchDeleteApplicants: `competition/competition/registration/batchDeleteApplicants`, + deleteAllData: `competition/competition/registration/deleteAllData`, competionPersonTemplate: `https://huoran.oss-cn-shenzhen.aliyuncs.com/%E6%95%99%E5%B8%88%E7%AB%AF%E4%B8%AA%E4%BA%BA%E8%B5%9B%E6%8A%A5%E5%90%8D%E4%BA%BA%E5%91%98%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF.xlsx`, // 教师端个人报名人员模板 competionTeamTemplate: `https://huoran.oss-cn-shenzhen.aliyuncs.com/%E6%95%99%E5%B8%88%E7%AB%AF%E5%9B%A2%E9%98%9F%E8%B5%9B%E6%8A%A5%E5%90%8D%E4%BA%BA%E5%91%98%E5%AF%BC%E5%85%A5%E6%A8%A1%E6%9D%BF.xlsx`, // 教师端团队报名人员导入模板 diff --git a/src/pages/match/add/step1.vue b/src/pages/match/add/step1.vue index 9f5a8a8..61b8355 100644 --- a/src/pages/match/add/step1.vue +++ b/src/pages/match/add/step1.vue @@ -568,7 +568,7 @@ export default { provinceId: e.provinceId || '', cityId: e.cityId || '', schoolId: e.schoolId || '', - type: e.schoolId ? 0 : 1 + type: e.schoolId ? 0 : (e.cityId ? 1 : 2) }) }) this.form.competitionRangeList = data diff --git a/src/pages/match/add/step2.vue b/src/pages/match/add/step2.vue index 62d0725..cc8b06b 100644 --- a/src/pages/match/add/step2.vue +++ b/src/pages/match/add/step2.vue @@ -223,8 +223,8 @@