From 21274e9639a13249bcdacf6badf691dda6cb71b5 Mon Sep 17 00:00:00 2001 From: DevOps Date: Mon, 29 Dec 2025 17:28:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(schedule):=20=E4=BF=AE=E5=A4=8DmarkPlayerAs?= =?UTF-8?q?Exception=E9=87=8D=E5=A4=8D=E5=AE=9A=E4=B9=89=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=9A=84=E4=BA=8B=E4=BB=B6=E7=BB=91=E5=AE=9A=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/martial/schedule/index.vue | 31 ---------------------------- 1 file changed, 31 deletions(-) diff --git a/src/views/martial/schedule/index.vue b/src/views/martial/schedule/index.vue index 74b7143..b5e0b64 100644 --- a/src/views/martial/schedule/index.vue +++ b/src/views/martial/schedule/index.vue @@ -738,37 +738,6 @@ export default { this.$message.success('下移成功') }, - // 标记单个选手为异常 - markPlayerAsException(group, player) { - if (this.isScheduleCompleted) { - this.$message.warning('编排已完成,无法标记异常') - return - } - - // 在 group.items 中找到该选手并修改状态 - const item = group.items.find(i => i.id === player.id) - if (item) { - item.status = '异常' - - // 添加到异常列表 - this.exceptionList.push({ - groupId: group.id, - groupTitle: group.title, - participantId: player.id, - schoolUnit: player.schoolUnit, - playerName: player.playerName, - status: '异常' - }) - - // 调用后端API保存状态 - updateCheckInStatus(player.id, '异常').then(() => { - this.$message.success(`已将 ${player.playerName} 标记为异常`) - }).catch(err => { - console.error('保存异常状态失败:', err) - }) - } - }, - goBack() { this.$router.go(-1) },