11wqe1 1 日 前
コミット
0359b02dda

+ 38 - 17
src/components/pages/components/exportWorksDialog.vue

@@ -400,24 +400,45 @@
                     {{ l.selectJson.url }}
                   </div>
                   <div>
-                    <span style="margin-right: 10px">选项:</span
-                    ><span
-                      style="margin-right: 10px"
-                      v-for="(item, itInd) in l.selectJson.select"
-                      :key="itInd"
-                      >{{ item }}</span
-                    >
-                  </div>
-                  <div>
-                    <span style="margin-right: 10px">答:</span>
+                      <span style="margin-right: 10px">选项:</span
+                      ><span
+                        style="margin-right: 10px"
+                        v-for="(item, itInd) in l.selectJson.select"
+                        :key="itInd"
+                        >{{ item }}</span
+                      >
+                    </div>
+                    <div style="margin: 10px 0;">
+                      <span style="margin-right: 10px">答:</span>
 
-                    <span
-                      style="margin-right: 10px"
-                      v-for="(item, itInd) in l.content"
-                      :key="itInd"
-                      >{{ itInd + 1 }}、{{ l.selectJson.select[item] }}</span
-                    >
-                  </div>
+                      <div
+                        style="margin-right: 10px"
+                        v-for="(item, itInd) in l.content[0]"
+                        :key="itInd"
+                      >
+                        选项{{ itInd + 1 }}:{{ l.selectJson.select[item] }}
+                        <span
+                          v-if="
+                            l.selectJson.answer[itInd] == l.content[0][itInd]
+                          "
+                          style="color: #868ce4"
+                          >回答正确</span
+                        >
+                        <span v-else style="color: red">回答错误</span>
+                      </div>
+                    </div>
+                    <div>
+                      <span style="margin-right: 10px">答案:</span>
+
+                      <span
+                        style="margin-right: 10px"
+                        v-for="(item, itInd) in l.selectJson.answer"
+                        :key="itInd"
+                        >选项{{ itInd + 1 }}:{{
+                          l.selectJson.select[item]
+                        }}</span
+                      >
+                    </div>
                 </div>
                 <div v-if="l.tool[0] == 47">
                   <div class="toolBlk">

+ 4 - 4
src/components/pages/components/lookWork.vue

@@ -575,7 +575,7 @@
                         </div>
                       </div>
                       <div>
-                        正确答案:
+                        答案:
                         <span style="margin: 0 5px">{{
                           i.addSentence.join(",")
                         }}</span>
@@ -596,7 +596,7 @@
                       }}</span>
                     </div>
-                    <div>提交时间:{{ l.time }}</div>
+                    <div>作业提交时间:{{ l.time }}</div>
                   </div>
 
                   <!-- 作业评分 -->
@@ -672,7 +672,7 @@
                       }}</span>
                     </div>
-                    <div>提交时间:{{ l.time }}</div>
+                    <div>作业提交时间:{{ l.time }}</div>
                   </div>
 
                   <!-- 作业评分 -->
@@ -1541,7 +1541,7 @@ export default {
 .toolBlk {
   display: flex;
   height: 44px;
-  padding-left: 5px;
+  /* padding-left: 5px; */
   box-sizing: border-box;
   margin: 15px 0;
 }