diff --git a/src/views/martial/project/index.vue b/src/views/martial/project/index.vue
index e6c5fd3..d6d0334 100644
--- a/src/views/martial/project/index.vue
+++ b/src/views/martial/project/index.vue
@@ -128,12 +128,11 @@
min-width="180"
show-overflow-tooltip
/>
-
+
+
+ {{ getCompetitionName(row.competitionId) }}
+
+
{{ row.category || '-' }}
@@ -419,7 +418,7 @@
{{ detailData.projectName }}
- {{ detailData.competitionName }}
+ {{ getCompetitionName(detailData.competitionId) }}
男子
@@ -839,6 +838,13 @@ const handleExport = async () => {
}
}
+// 根据ID获取赛事名称
+const getCompetitionName = (competitionId) => {
+ if (!competitionId) return '-'
+ const competition = competitionList.value.find(item => item.id === competitionId)
+ return competition ? competition.competitionName : '-'
+}
+
// 格式化日期
const formatDate = (date) => {
if (!date) return '-'