|
@@ -21,7 +21,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</transition>
|
|
</transition>
|
|
|
|
|
|
|
|
- <el-card shadow="never">
|
|
|
|
|
|
|
+ <el-card shadow="never" class="table-card">
|
|
|
<template #header>
|
|
<template #header>
|
|
|
<el-row :gutter="10" class="mb8">
|
|
<el-row :gutter="10" class="mb8">
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
@@ -47,7 +47,13 @@
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
- <el-table v-loading="loading" border :data="gameEventProjectList" @selection-change="handleSelectionChange">
|
|
|
|
|
|
|
+ <el-table
|
|
|
|
|
+ v-loading="loading"
|
|
|
|
|
+ border
|
|
|
|
|
+ :data="gameEventProjectList"
|
|
|
|
|
+ @selection-change="handleSelectionChange"
|
|
|
|
|
+ max-height="calc(100vh - 280px)"
|
|
|
|
|
+ >
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
<el-table-column label="序号" align="center" fixed="left" type="index" />
|
|
<el-table-column label="序号" align="center" fixed="left" type="index" />
|
|
|
<el-table-column label="项目id" align="center" fixed="left" prop="projectId" v-if="columns[0].visible" />
|
|
<el-table-column label="项目id" align="center" fixed="left" prop="projectId" v-if="columns[0].visible" />
|
|
@@ -422,6 +428,7 @@ import RefereeGroupDialog from './RefereeGroupDialog.vue';
|
|
|
import ProjectLibraryDialog from './ProjectLibraryDialog.vue';
|
|
import ProjectLibraryDialog from './ProjectLibraryDialog.vue';
|
|
|
import StatsDetailDialog from './StatsDetailDialog.vue';
|
|
import StatsDetailDialog from './StatsDetailDialog.vue';
|
|
|
import { ElMessageBox } from 'element-plus';
|
|
import { ElMessageBox } from 'element-plus';
|
|
|
|
|
+import { useGameEventStore } from '@/store/modules/gameEvent';
|
|
|
|
|
|
|
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|
|
const { game_score_type, game_project_type, game_project_classification, game_round, game_stage, sys_group_sex, game_order_type } = toRefs<any>(proxy?.useDict('game_score_type', 'game_project_type', 'game_project_classification', 'game_round', 'game_stage', 'sys_group_sex', 'game_order_type'));
|
|
const { game_score_type, game_project_type, game_project_classification, game_round, game_stage, sys_group_sex, game_order_type } = toRefs<any>(proxy?.useDict('game_score_type', 'game_project_type', 'game_project_classification', 'game_round', 'game_stage', 'sys_group_sex', 'game_order_type'));
|
|
@@ -716,7 +723,7 @@ const handleExport = () => {
|
|
|
{
|
|
{
|
|
|
...queryParams.value
|
|
...queryParams.value
|
|
|
},
|
|
},
|
|
|
- `项目详情_${new Date().getTime()}.xlsx`
|
|
|
|
|
|
|
+ `${useGameEventStore().defaultEventInfo?.eventCode || ''}_项目列表.xlsx`
|
|
|
);
|
|
);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -878,4 +885,10 @@ onMounted(() => {
|
|
|
:deep(.el-form-item__label) {
|
|
:deep(.el-form-item__label) {
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
|
}
|
|
}
|
|
|
|
|
+.table-card :deep(.el-card__body) {
|
|
|
|
|
+ padding: 10px;
|
|
|
|
|
+}
|
|
|
|
|
+.el-table {
|
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|