diff --git a/reading-platform-frontend/src/views/admin/courses/CourseEditView.vue b/reading-platform-frontend/src/views/admin/courses/CourseEditView.vue
index 8c9e34c..488a1d4 100644
--- a/reading-platform-frontend/src/views/admin/courses/CourseEditView.vue
+++ b/reading-platform-frontend/src/views/admin/courses/CourseEditView.vue
@@ -31,12 +31,6 @@
-
-
-
@@ -139,38 +133,6 @@ const formData = reactive({
environmentConstruction: '',
});
-// 计算完成度
-const completionPercent = computed(() => {
- let filled = 0;
- let total = 0;
-
- // 基本信息必填项
- total += 4;
- if (formData.basic.name) filled++;
- if (formData.basic.themeId) filled++;
- if (formData.basic.grades.length > 0) filled++;
- if (formData.basic.coreContent) filled++;
-
- // 课程介绍(8项可选)
- total += 8;
- if (formData.intro.introSummary) filled++;
- if (formData.intro.introHighlights) filled++;
- if (formData.intro.introGoals) filled++;
- if (formData.intro.introSchedule) filled++;
- if (formData.intro.introKeyPoints) filled++;
- if (formData.intro.introMethods) filled++;
- if (formData.intro.introEvaluation) filled++;
- if (formData.intro.introNotes) filled++;
-
- return Math.round((filled / total) * 100);
-});
-
-const completionStatus = computed(() => {
- if (completionPercent.value >= 75) return 'success';
- if (completionPercent.value >= 50) return 'normal';
- return 'exception';
-});
-
// 获取课程详情
const fetchCourseDetail = async () => {
if (!isEdit.value) return;
@@ -520,26 +482,6 @@ provide('courseId', courseId);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
-.completion-bar {
- margin-top: 16px;
- padding: 12px 16px;
- background: #fafafa;
- border-radius: 6px;
- display: flex;
- align-items: center;
- gap: 12px;
-
- span {
- font-size: 13px;
- color: #666;
- white-space: nowrap;
- }
-
- :deep(.ant-progress) {
- flex: 1;
- }
-}
-
.step-content {
min-height: 400px;
margin-top: 24px;