diff --git a/reading-platform-frontend/src/views/admin/courses/CourseListView.vue b/reading-platform-frontend/src/views/admin/courses/CourseListView.vue
index 10bef41..aef57f8 100644
--- a/reading-platform-frontend/src/views/admin/courses/CourseListView.vue
+++ b/reading-platform-frontend/src/views/admin/courses/CourseListView.vue
@@ -57,6 +57,20 @@
{{ record.pictureBookName }}
+
+
+
+
{{ translateCourseStatus(record.status) }}
@@ -195,8 +209,21 @@ import {
getGradeTagStyle,
translateCourseStatus,
getCourseStatusStyle,
+ getLessonTypeName,
+ getLessonTagStyle,
} from '@/utils/tagMaps';
+// 从课程包记录提取课程类型列表(去重,与学校端排课一致)
+const getLessonTypesFromRecord = (record: any): string[] => {
+ const lessons = record.courseLessons || record.lessons || [];
+ const types = new Set();
+ for (const l of lessons) {
+ const t = l.lessonType;
+ if (t) types.add(t);
+ }
+ return Array.from(types);
+};
+
const router = useRouter();
const loading = ref(false);
@@ -218,6 +245,7 @@ const pagination = reactive({
const columns = [
{ title: '课程包名称', key: 'name', width: 250 },
{ title: '关联绘本', key: 'pictureBook', width: 120 },
+ { title: '课程配置', key: 'lessonConfig', width: 200 },
{ title: '状态', key: 'status', width: 90 },
{ title: '版本', key: 'version', width: 70 },
{ title: '数据统计', key: 'stats', width: 130 },
@@ -521,5 +549,17 @@ const formatDate = (dateStr: string) => {
margin-top: 4px;
}
}
+
+ .lesson-config-tags {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 4px;
+ align-items: center;
+
+ .empty-text {
+ color: #999;
+ font-size: 12px;
+ }
+ }
}