jichoi / lms_front star
guntaek 3 days ago
20241125 김건택 선생님 문제 추가 시 예시 화면 추가
@3e74b544e465734fb448174de737f0b6d6ea8ed6
 
client/resources/img/QuestionInsertExample/Chapter2_10 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter2_10 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter2_11 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter2_11 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter2_13 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter2_13 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter2_5 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter2_5 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter2_6 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter2_6 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter2_7 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter2_7 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter2_8 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter2_8 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_1 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_1 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_10 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_10 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_11 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_11 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_12 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_12 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_13 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_13 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_14 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_14 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_15 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_15 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_2 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_2 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_3 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_3 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_3_1 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_3_1 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_4 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_4 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_5 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_5 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_6 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_6 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_7 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_7 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_8 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_8 페이지 문제.png
Binary file is not shown
 
client/resources/img/QuestionInsertExample/Chapter3_9 페이지 문제.png (Binary) (added)
+++ client/resources/img/QuestionInsertExample/Chapter3_9 페이지 문제.png
Binary file is not shown
 
client/views/pages/teacher/ChapterExample.vue (added)
+++ client/views/pages/teacher/ChapterExample.vue
@@ -0,0 +1,0 @@
client/views/pages/teacher/QuestionInsert.vue
--- client/views/pages/teacher/QuestionInsert.vue
+++ client/views/pages/teacher/QuestionInsert.vue
@@ -76,7 +76,7 @@
 
             <div class="flex align-center mb20">
                 <label for="" class="title2">내용</label>
-                <textarea name="" id="" class="data-wrap" v-model="prblm_expln"></textarea>
+                <input name="" id="" class="data-wrap" v-model="prblm_expln" />
             </div>
             <div class="flex align-center mb20">
                 <label for="" class="title2">힌트</label>
@@ -87,6 +87,16 @@
                 <input type="file" ref="fileInput" @change="handleFileUpload" multiple />
             </div>
             <hr />
+            <div class="flex align-center mb20">
+                <label for="" class="title2">문제 예시</label>
+                <img 
+                    :src="`../../../client/resources/img/QuestionInsertExample/${selectedSearchOption2.prblm_type_nm}.png`" 
+                    alt="문제 예시 이미지" 
+                    style="width: 1000px; height: auto;"
+                    v-if="selectedSearchOption2 && selectedSearchOption2.prblm_type_nm"
+                />
+            </div>
+            <hr>
             <div v-if="selectedSearchOption2.prblm_type_cls === '5지선다'">
                 <!--5지선다-->
                 <div class="gd-col2" v-for="i in 5" :key="i">
@@ -243,8 +253,8 @@
                     </div>
                 </div>
             </div>
-            <!--연결형
-            <div v-else-if="['prblm_type_015'].includes(selectedSearchOption2)">
+            <!-- 연결형 -->
+            <!-- <div v-else-if="['prblm_type_015'].includes(selectedSearchOption2)">
                 
                 <div class="gd-col2 ">
                     <div class="flex align-center mb20 mr40">
@@ -280,8 +290,8 @@
                         <input type="text" class="data-wrap">
                     </div>
                 </div>
-            </div>
-            -->
+            </div> -->
+           
             <div class="flex align-center mb20">
                 <label for="" class="title2">해설</label>
                 <textarea name="" id="" class="data-wrap" v-model="prblm_cmmt"></textarea>
Add a comment
List