feat(admin): 将新增赛事按钮移至联赛操作栏,并移除列表下方的旧按钮
This commit is contained in:
@@ -441,7 +441,6 @@ function onLeagueArchived() {
|
||||
:filter-status="filterStatus"
|
||||
:keyword="keyword"
|
||||
@changed="() => load({ keepExpand: true })"
|
||||
@add-match="openCreateFixture(row)"
|
||||
/>
|
||||
</template>
|
||||
</template>
|
||||
@@ -494,7 +493,7 @@ function onLeagueArchived() {
|
||||
<el-table-column :label="t('match.col.league_code')" width="120" show-overflow-tooltip>
|
||||
<template #default="{ row }">{{ rowOf(row).code }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column width="168" align="center" fixed="right">
|
||||
<el-table-column width="280" align="center" fixed="right">
|
||||
<template #header>
|
||||
<div class="actions-col-header">
|
||||
<span class="actions-col-header__label">{{ t('common.actions') }}</span>
|
||||
@@ -506,6 +505,9 @@ function onLeagueArchived() {
|
||||
<el-button size="small" type="primary" @click.stop="openEditLeague(row)">
|
||||
{{ t('common.edit') }}
|
||||
</el-button>
|
||||
<el-button size="small" type="primary" @click.stop="openCreateFixture(row)">
|
||||
{{ t('match.create_fixture_btn') }}
|
||||
</el-button>
|
||||
<el-button
|
||||
v-if="!leagueIsPublished(row)"
|
||||
size="small"
|
||||
|
||||
Reference in New Issue
Block a user