feat(admin): 将'新增本场赛事'按钮放置到联赛操作栏中,并调整操作列宽度为280以防止按钮换行

This commit is contained in:
2026-06-18 15:36:10 +08:00
parent 5baac41ce8
commit 94c40c12f9

View File

@@ -494,7 +494,7 @@ function onLeagueArchived() {
<el-table-column :label="t('match.col.league_code')" width="120" show-overflow-tooltip> <el-table-column :label="t('match.col.league_code')" width="120" show-overflow-tooltip>
<template #default="{ row }">{{ rowOf(row).code }}</template> <template #default="{ row }">{{ rowOf(row).code }}</template>
</el-table-column> </el-table-column>
<el-table-column width="168" align="center" fixed="right"> <el-table-column width="280" align="center" fixed="right">
<template #header> <template #header>
<div class="actions-col-header"> <div class="actions-col-header">
<span class="actions-col-header__label">{{ t('common.actions') }}</span> <span class="actions-col-header__label">{{ t('common.actions') }}</span>
@@ -506,6 +506,9 @@ function onLeagueArchived() {
<el-button size="small" type="primary" @click.stop="openEditLeague(row)"> <el-button size="small" type="primary" @click.stop="openEditLeague(row)">
{{ t('common.edit') }} {{ t('common.edit') }}
</el-button> </el-button>
<el-button size="small" type="primary" @click.stop="openCreateFixture(row)">
{{ t('match.create_fixture_btn') }}
</el-button>
<el-button <el-button
v-if="!leagueIsPublished(row)" v-if="!leagueIsPublished(row)"
size="small" size="small"