|
|
@@ -105,30 +105,24 @@
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column label="赛事状态" align="center" prop="statusText" />
|
|
|
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
|
|
|
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="320">
|
|
|
<template #default="scope">
|
|
|
- <div style="display: flex; flex-direction: column; gap: 5px">
|
|
|
+ <div class="operation-buttons-vertical">
|
|
|
<el-tooltip content="查看" placement="top">
|
|
|
<el-button link type="primary" icon="View" @click="openAuditDialog(scope.row.id, 'view')">查看</el-button>
|
|
|
</el-tooltip>
|
|
|
+
|
|
|
<el-tooltip content="编辑" placement="top">
|
|
|
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row, 'edit')">编辑</el-button>
|
|
|
</el-tooltip>
|
|
|
|
|
|
<el-tooltip content="复制" placement="top">
|
|
|
- <el-button link type="primary" icon="Copy" @click="handleCopy(scope.row)">复制</el-button>
|
|
|
+ <el-button link type="primary" icon="Files" @click="handleCopy(scope.row)"> 复制 </el-button>
|
|
|
</el-tooltip>
|
|
|
|
|
|
<el-tooltip content="领奖审核" placement="top">
|
|
|
- <el-button link type="primary" icon="Edit" @click="openAuditDialog(scope.row.id, 'audit')">领奖审核</el-button>
|
|
|
+ <el-button link type="primary" icon="DocumentChecked" @click="openAuditDialog(scope.row.id, 'audit')">领奖审核</el-button>
|
|
|
</el-tooltip>
|
|
|
- <!-- <el-tooltip content="分配盲注" placement="top">
|
|
|
- <el-button link type="success" icon="Document" @click="openAssignDialog(scope.row)"> 分配 </el-button>
|
|
|
- </el-tooltip>-->
|
|
|
-
|
|
|
- <!-- <el-tooltip content="删除" placement="top">
|
|
|
- <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['business:tournaments:remove']"></el-button>
|
|
|
-</el-tooltip>-->
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -388,7 +382,7 @@
|
|
|
<el-table-column prop="rank" label="排名" align="center"></el-table-column>
|
|
|
<el-table-column prop="playerName" label="用户名" align="center"></el-table-column>
|
|
|
<el-table-column prop="phone" label="手机" align="center"></el-table-column>
|
|
|
-<!-- <el-table-column prop="tournamentId" label="tournamentId" align="center"></el-table-column>
|
|
|
+ <!-- <el-table-column prop="tournamentId" label="tournamentId" align="center"></el-table-column>
|
|
|
<el-table-column prop="playerId" label="playerId" align="center"></el-table-column>-->
|
|
|
<el-table-column label="奖励" align="center">
|
|
|
<template #default="scope">
|
|
|
@@ -397,18 +391,19 @@
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column prop="claimedText" label="状态" align="center"></el-table-column>
|
|
|
-
|
|
|
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
+ <el-table-column label="操作" align="center" width="350" class-name="small-padding fixed-width">
|
|
|
<template #default="scope">
|
|
|
- <el-tooltip content="查看牌局" placement="top">
|
|
|
- <el-button link type="primary" icon="See" @click="handleViewHistory(scope.row)">查看牌局</el-button>
|
|
|
- </el-tooltip>
|
|
|
- <el-tooltip content="审核" placement="top">
|
|
|
- <el-button link type="primary" icon="Audit" @click="handleAudit(scope.row)">审核</el-button>
|
|
|
- </el-tooltip>
|
|
|
- <el-tooltip content="移除" placement="top">
|
|
|
- <el-button link type="primary" icon="Delete" @click="handleClaimsDelete(scope.row)">移除</el-button>
|
|
|
- </el-tooltip>
|
|
|
+ <div style="display: flex; justify-content: center; gap: 16px">
|
|
|
+ <el-tooltip content="查看牌局" placement="top">
|
|
|
+ <el-button link type="primary" icon="View" @click="handleViewHistory(scope.row)">查看牌局</el-button>
|
|
|
+ </el-tooltip>
|
|
|
+ <el-tooltip content="审核" placement="top">
|
|
|
+ <el-button link type="primary" icon="DocumentChecked" @click="handleAudit(scope.row)">审核</el-button>
|
|
|
+ </el-tooltip>
|
|
|
+ <el-tooltip content="移除" placement="top">
|
|
|
+ <el-button link type="primary" icon="Delete" @click="handleClaimsDelete(scope.row)">移除</el-button>
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -1238,6 +1233,6 @@ const handleViewHistory = (row: ClaimsVO) => {
|
|
|
path: '/business/history',
|
|
|
query: { tournamentId: String(tournamentId), playerId: String(playerId) }
|
|
|
});
|
|
|
- auditDialog.value.visible = false
|
|
|
+ auditDialog.value.visible = false;
|
|
|
};
|
|
|
</script>
|