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 @@