Browse Source

添加描述

SanHQin 1 month ago
parent
commit
ac99d13118

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 1 - 1
dist/report.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-567be178.e4bd5565.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.571b38e7.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-567be178.2e835912.js


+ 8 - 2
src/views/testDetail/components/choice.vue

@@ -16,6 +16,12 @@
           <span>{{ checkJson.score2 }}分</span><span style="margin: 0 10px">/</span><span>{{ checkJson.score }}分</span>
         </div>
       </div>
+      <div
+        class="detail"
+        v-if="checkJson.detail"
+        v-html="checkJson.detail"
+        style="color: #00000099;margin-top: 5px;"
+      ></div>
       <div class="choices">
         <div class="choice" v-for="(item, index) in checkJson.array" :key="index">
           <div class="choice_c" v-if="checkJson.type == 2">
@@ -79,8 +85,8 @@ export default {
   },
   computed: {
     score2() {
-      let answer2 = this.checkJson.answer2 ? this.checkJson.answer2.sort().join(',') : ''
-      let answer = this.checkJson.answer ? this.checkJson.answer.sort().join(',') : ''
+      const answer2 = this.checkJson.answer2 ? this.checkJson.answer2.sort().join(',') : ''
+      const answer = this.checkJson.answer ? this.checkJson.answer.sort().join(',') : ''
       this.checkJson.score2 = answer2 == answer ? this.checkJson.score : 0
       this.$forceUpdate()
       return answer2 == answer ? this.checkJson.score : 0

+ 6 - 0
src/views/testDetail/components/file.vue

@@ -19,6 +19,12 @@
           <span>{{ checkJson.score2 }}分</span><span style="margin: 0 10px">/</span><span>{{ checkJson.score }}分</span>
         </div>
       </div>
+      <div
+        class="detail"
+        v-if="checkJson.detail"
+        v-html="checkJson.detail"
+        style="color: #00000099;margin-top: 5px;"
+      ></div>
       <div class="choices">
         <div class="file_box" v-if="checkJson.mobanFile && checkJson.mobanFile.length" v-loading="loading">
           <div class="file_item" v-for="(item, index) in checkJson.mobanFile" :key="index">

+ 11 - 2
src/views/testDetail/components/gap.vue

@@ -6,14 +6,17 @@
       <!-- <div class="title"><div>{{ `(${option[checkJson.type].name})` }}</div><div v-html="checkJson.title"></div></div> -->
       <div class="c_title">
         <div class="title">
-          {{ tindex + 1 + '、' + `(${option[checkJson.type].name})` + checkJson.title
-          }}<span v-if="see" style="color: #efa030"
+          {{ tindex + 1 + '、' + `(${option[checkJson.type].name})` + checkJson.title }}222<span
+            v-if="see"
+            style="color: #efa030"
             >({{ checkJson.answer ? '参考答案:' + checkJson.answer : '暂无参考答案' }}
             {{ cJson.score ? '分值:' + cJson.score + '分' : '' }})</span
           >
           <span style="color: #efa030" v-if="checkJson.score && !see">({{ '分值:' + checkJson.score + '分' }})</span>
+
           <!-- </div><div v-html="checkJson.title"></div> -->
         </div>
+
         <div class="p_box" v-if="isTeacher == 1 && checkJson.score">
           <el-input v-model="checkJson.score2" class="c_input" @change="numberPan" placeholder="请输入得分"></el-input
           ><span style="margin: 0 10px">/</span><span>{{ checkJson.score }}分</span>
@@ -22,6 +25,12 @@
           <span>{{ checkJson.score2 }}分</span><span style="margin: 0 10px">/</span><span>{{ checkJson.score }}分</span>
         </div>
       </div>
+      <div
+        class="detail"
+        v-if="checkJson.detail"
+        v-html="checkJson.detail"
+        style="color: #00000099;margin-top: 5px;"
+      ></div>
       <div class="choices">
         <textarea
           :readonly="checktype == 2"

Some files were not shown because too many files changed in this diff