diff --git a/src/views/martial/judgeInvite/index.vue b/src/views/martial/judgeInvite/index.vue index a7044df..f891ff7 100644 --- a/src/views/martial/judgeInvite/index.vue +++ b/src/views/martial/judgeInvite/index.vue @@ -202,23 +202,7 @@ /> - - - - - + @@ -612,10 +596,7 @@ const handleConfirmImport = async () => { ElMessage.warning('请选择分配的场地') return } - if (!importForm.projectIds || importForm.projectIds.length === 0) { - ElMessage.warning('请选择分配的项目') - return - } + try { await ElMessageBox.confirm( @@ -636,7 +617,7 @@ const handleConfirmImport = async () => { judgeIds: judgeIds, role: 'judge', venueId: importForm.venueId, - projects: JSON.stringify(importForm.projectIds), + // projects不传,裁判默认负责整个场地 expireDays: 30 })