From 657c4210a444d834b3d0eda4065256ce69c2b4dd Mon Sep 17 00:00:00 2001 From: DevOps Date: Sun, 28 Dec 2025 20:06:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=80=BB=E8=A3=81(=E8=A3=81?= =?UTF-8?q?=E5=88=A4=E9=95=BF)=E8=A7=92=E8=89=B2=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=88=B0=E8=A3=81=E5=88=A4=E9=82=80=E8=AF=B7=E5=92=8C=E8=AF=84?= =?UTF-8?q?=E5=A7=94=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - judgeInvite/index.vue: 添加总裁选项和显示 - referee/index.vue: 添加总裁筛选和显示 Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> --- src/views/martial/judgeInvite/index.vue | 11 ++++++----- src/views/martial/referee/index.vue | 6 ++++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/views/martial/judgeInvite/index.vue b/src/views/martial/judgeInvite/index.vue index 628fcf7..9b47e6d 100644 --- a/src/views/martial/judgeInvite/index.vue +++ b/src/views/martial/judgeInvite/index.vue @@ -145,8 +145,8 @@ @@ -232,6 +232,7 @@ > + @@ -261,8 +262,8 @@ @@ -702,7 +703,7 @@ const handleGenerateCode = async (row) => { const res = await generateInviteCode({ competitionId: queryParams.competitionId, judgeId: row.judgeId, - role: row.refereeType === 1 ? 'chief_judge' : 'judge', // 根据评委类型设置角色 + role: row.refereeType === 1 ? 'chief_judge' : (row.refereeType === 3 ? 'general_judge' : 'judge'), // 根据评委类型设置角色 venueId: row.venueId || null, projects: row.projects ? JSON.stringify(row.projects) : null, expireDays: 30 diff --git a/src/views/martial/referee/index.vue b/src/views/martial/referee/index.vue index 098938d..db4ad56 100644 --- a/src/views/martial/referee/index.vue +++ b/src/views/martial/referee/index.vue @@ -35,6 +35,7 @@ + @@ -63,8 +64,8 @@ @@ -138,6 +139,7 @@ +