diff --git a/frontend_management/components/course/LessonPreviewDialog.vue b/frontend_management/components/course/LessonPreviewDialog.vue
new file mode 100644
index 00000000..2d414994
--- /dev/null
+++ b/frontend_management/components/course/LessonPreviewDialog.vue
@@ -0,0 +1,228 @@
+
+
+
+
+
+
+ {{ lesson.title.th }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ lessonDetail.quiz.title?.th || 'แบบทดสอบ' }}
+
{{ lessonDetail.quiz.description?.th || '-' }}
+
+
+
+
เกณฑ์ผ่าน
+
{{ lessonDetail.quiz.passing_score }}%
+
+
+
เวลาทำข้อสอบ
+
{{ lessonDetail.quiz.time_limit ? lessonDetail.quiz.time_limit + ' นาที' : '-' }}
+
+
+
จำนวนข้อ
+
{{ lessonDetail.quiz.questions?.length || 0 }} ข้อ
+
+
+
+
+
+
+
+
+
{{ index + 1 }}.
+
+
{{ question.question?.th || 'คำถาม' }}
+
+
+
+
+
+
+
{{ choice.text?.th || '-' }}
+
{{ choice.text.en }}
+
+
+
+
+
+
+
+
+
+ คำอธิบาย:
+
+ {{ question.explanation.th }}
+
+
+
+
+
+
+
+
+
+
+
ไม่พบข้อมูลแบบทดสอบ หรือแบบทดสอบยังไม่สมบูรณ์
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend_management/components/course/StructureTab.vue b/frontend_management/components/course/StructureTab.vue
index e2e6aa33..79cc1555 100644
--- a/frontend_management/components/course/StructureTab.vue
+++ b/frontend_management/components/course/StructureTab.vue
@@ -3,14 +3,15 @@
+
ยังไม่มีบทเรียน
@@ -41,6 +42,10 @@
v-for="lesson in getSortedLessons(chapter)"
:key="lesson.id"
class="py-3"
+ :class="{ 'cursor-pointer hover:bg-gray-50': course.status === 'APPROVED' }"
+ :clickable="course.status === 'APPROVED'"
+ :v-ripple="course.status === 'APPROVED'"
+ @click="handleLessonClick(lesson)"
>
+
+
+
+
+
+
+