瀏覽代碼

作答模式调整

natasha 1 天之前
父節點
當前提交
81b2044367

+ 2 - 0
src/views/book/courseware/preview/components/character/CharacterPreview.vue

@@ -422,12 +422,14 @@
       <PreviewOperation
         v-if="data.property.model === 'miao'"
         @showAnswerAnalysis="showAnswerAnalysis"
+        @judgeCorrect="judgeCorrect"
         @retry="retry"
         :isShowAnswer="isShowAnswers"
       />
       <AnswerCorrect
         :answer-correct="data?.answer_correct"
         :visible.sync="visibleAnswerCorrect"
+        :is-check-correct="isCheckCorrect"
         @closeAnswerCorrect="closeAnswerCorrect"
       />
       <AnswerAnalysis

+ 2 - 1
src/views/book/courseware/preview/components/character_structure/CharacterStructurePreview.vue

@@ -161,10 +161,11 @@
           </div>
         </div>
       </div>
-      <PreviewOperation @showAnswerAnalysis="showAnswerAnalysis" @retry="retry" />
+      <PreviewOperation @showAnswerAnalysis="showAnswerAnalysis" @judgeCorrect="judgeCorrect" @retry="retry" />
       <AnswerCorrect
         :answer-correct="data?.answer_correct"
         :visible.sync="visibleAnswerCorrect"
+        :is-check-correct="isCheckCorrect"
         @closeAnswerCorrect="closeAnswerCorrect"
       />
       <AnswerAnalysis

+ 7 - 1
src/views/book/courseware/preview/components/image_text/ImageTextPreview.vue

@@ -58,10 +58,16 @@
         />
       </div>
     </div>
-    <PreviewOperation v-if="data.input_list.length > 0" @showAnswerAnalysis="showAnswerAnalysis" @retry="retry" />
+    <PreviewOperation
+      v-if="data.input_list.length > 0"
+      @showAnswerAnalysis="showAnswerAnalysis"
+      @judgeCorrect="judgeCorrect"
+      @retry="retry"
+    />
     <AnswerCorrect
       :answer-correct="data?.answer_correct"
       :visible.sync="visibleAnswerCorrect"
+      :is-check-correct="isCheckCorrect"
       @closeAnswerCorrect="closeAnswerCorrect"
     />
     <AnswerAnalysis

+ 2 - 1
src/views/book/courseware/preview/components/newWord_template/NewWordTemplatePreview.vue

@@ -216,10 +216,11 @@
         </div>
       </div>
     </div>
-    <PreviewOperation @showAnswerAnalysis="showAnswerAnalysis" @retry="retry" />
+    <PreviewOperation @showAnswerAnalysis="showAnswerAnalysis" @judgeCorrect="judgeCorrect" @retry="retry" />
     <AnswerCorrect
       :answer-correct="data?.answer_correct"
       :visible.sync="visibleAnswerCorrect"
+      :is-check-correct="isCheckCorrect"
       @closeAnswerCorrect="closeAnswerCorrect"
     />
     <AnswerAnalysis

+ 2 - 0
src/views/book/courseware/preview/components/pinyin_base/PinyinBasePreview.vue

@@ -149,12 +149,14 @@
           (data.property.fun_type === 'show' && isEnable(data.property.is_enable_voice_answer))
         "
         @showAnswerAnalysis="showAnswerAnalysis"
+        @judgeCorrect="judgeCorrect"
         @retry="retry"
         :isShowAnswer="isShowAnswers"
       />
       <AnswerCorrect
         :answer-correct="data?.answer_correct"
         :visible.sync="visibleAnswerCorrect"
+        :is-check-correct="isCheckCorrect"
         @closeAnswerCorrect="closeAnswerCorrect"
       />
       <AnswerAnalysis

+ 2 - 0
src/views/book/courseware/preview/components/record_input/RecordInputPreview.vue

@@ -31,11 +31,13 @@
         :is-show-answer="isShowAnswers"
         :is-show-retry="isEnable(data.is_enable_input)"
         @showAnswerAnalysis="showAnswerAnalysis"
+        @judgeCorrect="judgeCorrect"
         @retry="retry"
       />
       <AnswerCorrect
         :answer-correct="data?.answer_correct"
         :visible.sync="visibleAnswerCorrect"
+        :is-check-correct="isCheckCorrect"
         @closeAnswerCorrect="closeAnswerCorrect"
       />
       <AnswerAnalysis

+ 7 - 1
src/views/book/courseware/preview/components/table/TablePreview.vue

@@ -317,10 +317,16 @@
           </tr>
         </table>
       </div>
-      <PreviewOperation @showAnswerAnalysis="showAnswerAnalysis" @retry="retry" v-if="isHasInput" />
+      <PreviewOperation
+        @showAnswerAnalysis="showAnswerAnalysis"
+        @judgeCorrect="judgeCorrect"
+        @retry="retry"
+        v-if="isHasInput"
+      />
       <AnswerCorrect
         :answer-correct="data?.answer_correct"
         :visible.sync="visibleAnswerCorrect"
+        :is-check-correct="isCheckCorrect"
         @closeAnswerCorrect="closeAnswerCorrect"
       />
       <AnswerAnalysis