From bd999ecc09fcacf4016edcba85caf9b9696d2140 Mon Sep 17 00:00:00 2001 From: lrj <owen.stl@gmail.com> Date: 星期六, 04 十月 2025 18:40:31 +0800 Subject: [PATCH] feat: 同步本地改动(认证/评审/用户/选手模块更新;新增/调整 GraphQL schema;小程序个人信息与评审相关页面、配置与资源等) --- web/src/views/next-list.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/web/src/views/next-list.vue b/web/src/views/next-list.vue index addeb22..a8200db 100644 --- a/web/src/views/next-list.vue +++ b/web/src/views/next-list.vue @@ -27,7 +27,6 @@ <el-icon><Search /></el-icon> 鎼滅储 </el-button> - <el-button @click="resetSearch">閲嶇疆</el-button> </div> </div> @@ -222,6 +221,7 @@ import { ElMessage, ElMessageBox } from 'element-plus' import { Search, TrophyBase, InfoFilled } from '@element-plus/icons-vue' import PromotionApi from '@/api/promotion' +import { getActivity } from '@/api/activity' const router = useRouter() @@ -393,6 +393,8 @@ selectedParticipants.value = selection } + + // 纭鏅嬬骇 const confirmPromotion = async () => { if (selectedParticipants.value.length === 0) { @@ -418,10 +420,10 @@ const participantIds = selectedParticipants.value.map(p => p.id) const result = await PromotionApi.promoteParticipants( - selectedCompetition.value.id, - participantIds, - null // 鐩爣闃舵ID锛岃繖閲屽彲浠ユ牴鎹渶瑕佽缃� - ) + selectedCompetition.value.competitionId, // 涓绘瘮璧汭D + participantIds, + selectedCompetition.value.id // 褰撳墠闃舵ID浣滀负鐩爣闃舵ID + ) if (result && result.success) { ElMessage.success(result.message || `鎴愬姛鏅嬬骇 ${result.promotedCount} 鍚嶄汉鍛榒) @@ -558,7 +560,7 @@ .search-toolbar { display: flex; align-items: center; - justify-content: space-between; + justify-content: flex-end; margin-bottom: 20px; padding: 16px; background-color: #f9fafb; -- Gitblit v1.8.0