Compare commits
4
Commits
6eff8a08b6
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f986c63cd1 | ||
|
|
45d7e9f36f | ||
|
|
5f5ab37e97 | ||
|
|
066f13f48d |
@@ -240,7 +240,7 @@
|
|||||||
<el-table-column prop="duration" label="合计时间" width="100" align="center"></el-table-column>
|
<el-table-column prop="duration" label="合计时间" width="100" align="center"></el-table-column>
|
||||||
<el-table-column prop="status" label="状态" width="100" align="center">
|
<el-table-column prop="status" label="状态" width="100" align="center">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span v-if="scope.row.status" class="status-active">{{ scope.row.status }}</span>
|
<span :class="['status-tag', scope.row.status === 2 ? 'status-completed' : scope.row.status === 1 ? 'status-progress' : 'status-pending']">{{ scope.row.status === 2 ? '已完成' : scope.row.status === 1 ? '进行中' : '未开始' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -457,7 +457,7 @@ export default {
|
|||||||
team: 1, // 队伍数量,可以从分组中计算
|
team: 1, // 队伍数量,可以从分组中计算
|
||||||
number: group.items?.length || 0, // 参赛人数
|
number: group.items?.length || 0, // 参赛人数
|
||||||
duration: group.estimatedDuration || 0, // 合计时间
|
duration: group.estimatedDuration || 0, // 合计时间
|
||||||
status: group.venueName, // 显示场地名称
|
status: group.status, // 状态: 0-未开始, 1-进行中, 2-已完成
|
||||||
venueName: group.venueName,
|
venueName: group.venueName,
|
||||||
hint: '' // 可以根据需要添加提示信息
|
hint: '' // 可以根据需要添加提示信息
|
||||||
}))
|
}))
|
||||||
@@ -625,7 +625,7 @@ export default {
|
|||||||
item.members.forEach(member => {
|
item.members.forEach(member => {
|
||||||
teamMap.get(key).players.push({
|
teamMap.get(key).players.push({
|
||||||
id: member.id,
|
id: member.id,
|
||||||
playerName: member.playerName,
|
playerName: member.name || member.playerName,
|
||||||
organization: member.organization,
|
organization: member.organization,
|
||||||
status: member.status
|
status: member.status
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user