From 0b6390bce944624c53e96594576cffbd7c4972d2 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 15 May 2024 14:16:34 +0800 Subject: [PATCH] fix --- src/pages/match/add/index.vue | 9 ++++++++- src/pages/match/manage/matchInfo.vue | 8 ++++---- src/pages/station/preview/index.vue | 2 +- src/pages/student/list/index.vue | 15 ++++++++++----- src/pages/system/list/staff.vue | 7 ++++++- 5 files changed, 29 insertions(+), 12 deletions(-) diff --git a/src/pages/match/add/index.vue b/src/pages/match/add/index.vue index 32c2bfb..973c39e 100644 --- a/src/pages/match/add/index.vue +++ b/src/pages/match/add/index.vue @@ -223,7 +223,14 @@ export default { // 发布后的逻辑 next (next, setupId, competitionId, type) { if (!next) { - this.$router.push(`/match`) + if (this.step === 3 && this.$refs['step' + this.step].form[0].contentId) { + // 处于第三步 && 编辑 + this.editing = 0 + this.step = 1 + } else { + // 新增 + this.$router.push(`/match`) + } } else if (next === 2) { if (setupId) this.setupId = setupId if (competitionId) { diff --git a/src/pages/match/manage/matchInfo.vue b/src/pages/match/manage/matchInfo.vue index 3e41105..1be62af 100644 --- a/src/pages/match/manage/matchInfo.vue +++ b/src/pages/match/manage/matchInfo.vue @@ -124,7 +124,7 @@
注:当前阶段限制{{ curRow.teamNumLimit }}人参赛,且此竞赛每个成员只能参加一个阶段赛项。
+注:当前阶段限制{{ curRow.customNumber }}人参赛,且此竞赛每个成员只能参加一个阶段赛项。