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

页面修改

parent fa6eecbe
...@@ -85,12 +85,12 @@ ...@@ -85,12 +85,12 @@
</td> </td>
</tr> </tr>
<tr v-if="isShowAnswer"> <tr v-if="isShowAnswer">
<td colspan="2"> <td colspan="2" style="font-weight:bold">
答案: {{data.QuestionAnswerList[index].SubAnswer}} 答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td> </td>
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2" style="font-weight:bold">
学生答案: {{data.AnswerList[index].SubAnswer}} 学生答案: {{data.AnswerList[index].SubAnswer}}
</td> </td>
</tr> </tr>
...@@ -114,12 +114,12 @@ ...@@ -114,12 +114,12 @@
</tr> </tr>
</template> </template>
<tr v-if="isShowAnswer"> <tr v-if="isShowAnswer">
<td colspan="2"> <td colspan="2" style="font-weight:bold">
答案: {{data.QuestionAnswerList[index].SubAnswer}} 答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td> </td>
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2" style="font-weight:bold">
学生答案: {{data.AnswerList[index].SubAnswer}} 学生答案: {{data.AnswerList[index].SubAnswer}}
</td> </td>
</tr> </tr>
...@@ -157,12 +157,12 @@ ...@@ -157,12 +157,12 @@
</tr> </tr>
</template> </template>
<tr v-if="isShowAnswer"> <tr v-if="isShowAnswer">
<td colspan="2"> <td colspan="2" style="font-weight:bold">
答案: {{data.QuestionAnswerList[index].SubAnswer}} 答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td> </td>
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2" style="font-weight:bold">
学生答案: {{data.AnswerList[index].SubAnswer}} 学生答案: {{data.AnswerList[index].SubAnswer}}
</td> </td>
</tr> </tr>
...@@ -183,12 +183,12 @@ ...@@ -183,12 +183,12 @@
</tr> </tr>
</template> </template>
<tr v-if="isShowAnswer"> <tr v-if="isShowAnswer">
<td colspan="2"> <td colspan="2" style="font-weight:bold">
答案: {{data.QuestionAnswerList[index].SubAnswer}} 答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td> </td>
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2" style="font-weight:bold">
学生答案: {{data.AnswerList[index].SubAnswer}} 学生答案: {{data.AnswerList[index].SubAnswer}}
</td> </td>
</tr> </tr>
......
...@@ -471,7 +471,8 @@ ...@@ -471,7 +471,8 @@
this.examNum += x.DetailsList.length; this.examNum += x.DetailsList.length;
x.DetailsList.forEach(y => { x.DetailsList.forEach(y => {
this.examScore += Number(y.Score); this.examScore += Number(y.Score);
if (y.QuestionTypeKey == "cloze") { if (y.QuestionTypeKey == "cloze" || y.QuestionTypeKey == "reading-comprehensio" || y
.QuestionTypeKey == "listening") {
var clozeScore = 0; var clozeScore = 0;
if (y.AnswerList && y.AnswerList.length > 0) { if (y.AnswerList && y.AnswerList.length > 0) {
y.AnswerList.forEach(qItem => { 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