This commit is contained in:
2025-09-19 08:53:43 +08:00
parent 0c0811f0f9
commit 48a3b7dcff
@@ -42,14 +42,16 @@ layout("/layouts/platform_1.html"){
<el-button type="primary" size="small" @click="openBigScreen">打开成绩大屏</el-button> <el-button type="primary" size="small" @click="openBigScreen">打开成绩大屏</el-button>
<el-button type="primary" size="small" @click="doExport">导出</el-button> <el-button type="primary" size="small" @click="doExport">导出</el-button>
</el-row> </el-row>
<el-table v-loading="tableLoading" show-overflow-tooltip :data="tableData" @cell-click="cellClick" style="width: 100%"> <el-table v-loading="tableLoading" show-overflow-tooltip :data="tableData" @cell-click="cellClick"
style="width: 100%">
<el-table-column label="队伍" prop="groupName" fixed="left" width="100px"></el-table-column> <el-table-column label="队伍" prop="groupName" fixed="left" width="100px"></el-table-column>
<el-table-column v-for="item in itemOptions" :key="item.id" :label="item.name"> <el-table-column v-for="item in itemOptions" :key="item.id" :label="item.name">
<template slot="header" slot-scope="scope"> <template slot="header" slot-scope="scope">
<span v-html="formatName(item.name)"></span> <span v-html="formatName(item.name)"></span>
</template> </template>
<el-table-column label="成绩" :prop="item.id+item.name" min-width="50px" v-if="item.id!=='all'"> <el-table-column label="成绩" :prop="item.id+item.name" min-width="50px" v-if="item.id!=='all'"
sortable>
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row[item.id]['totalCj']}} {{scope.row[item.id]['totalCj']}}
</template> </template>
@@ -59,7 +61,7 @@ layout("/layouts/platform_1.html"){
{{scope.row[item.id]['totalRank']}} {{scope.row[item.id]['totalRank']}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="积分" :prop="item.id+item.name" min-width="50px"> <el-table-column label="积分" :prop="item.id+item.name" min-width="50px" sortable>
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row[item.id]['totalScore']}} {{scope.row[item.id]['totalScore']}}
</template> </template>