Commit 2e105b21 authored by 黄奎's avatar 黄奎

页面修改

parent fa6eecbe
......@@ -85,12 +85,12 @@
</td>
</tr>
<tr v-if="isShowAnswer">
<td colspan="2">
<td colspan="2" style="font-weight:bold">
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr v-if="isShowStudentAnswer">
<td colspan="2">
<td colspan="2" style="font-weight:bold">
学生答案: {{data.AnswerList[index].SubAnswer}}
</td>
</tr>
......@@ -114,12 +114,12 @@
</tr>
</template>
<tr v-if="isShowAnswer">
<td colspan="2">
<td colspan="2" style="font-weight:bold">
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr v-if="isShowStudentAnswer">
<td colspan="2">
<td colspan="2" style="font-weight:bold">
学生答案: {{data.AnswerList[index].SubAnswer}}
</td>
</tr>
......@@ -157,12 +157,12 @@
</tr>
</template>
<tr v-if="isShowAnswer">
<td colspan="2">
<td colspan="2" style="font-weight:bold">
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr v-if="isShowStudentAnswer">
<td colspan="2">
<td colspan="2" style="font-weight:bold">
学生答案: {{data.AnswerList[index].SubAnswer}}
</td>
</tr>
......@@ -183,12 +183,12 @@
</tr>
</template>
<tr v-if="isShowAnswer">
<td colspan="2">
<td colspan="2" style="font-weight:bold">
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr v-if="isShowStudentAnswer">
<td colspan="2">
<td colspan="2" style="font-weight:bold">
学生答案: {{data.AnswerList[index].SubAnswer}}
</td>
</tr>
......
......@@ -471,7 +471,8 @@
this.examNum += x.DetailsList.length;
x.DetailsList.forEach(y => {
this.examScore += Number(y.Score);
if (y.QuestionTypeKey == "cloze") {
if (y.QuestionTypeKey == "cloze" || y.QuestionTypeKey == "reading-comprehensio" || y
.QuestionTypeKey == "listening") {
var clozeScore = 0;
if (y.AnswerList && y.AnswerList.length > 0) {
y.AnswerList.forEach(qItem => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment