Commit ea2f0220 authored by 黄奎's avatar 黄奎

页面修改

parent 0dcd3a9f
...@@ -64,6 +64,13 @@ ...@@ -64,6 +64,13 @@
</td> </td>
</tr> </tr>
</tbody> </tbody>
<tfoot v-if="isShowAnswer">
<tr>
<td>
答案:{{data.Answer}}
</td>
</tr>
</tfoot>
</table> </table>
<table class="common_TiTable" v-if="isShowAnswer"> <table class="common_TiTable" v-if="isShowAnswer">
<tfoot> <tfoot>
...@@ -80,7 +87,7 @@ ...@@ -80,7 +87,7 @@
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2">
<q-input standout="bg-primary text-white" v-model="data.StundetScore" label="得分:" maxlength="20" <q-input standout="bg-primary text-white" v-model="data.StudentScore" label="得分:" maxlength="20"
@input="getQuestionScore" /> @input="getQuestionScore" />
</td> </td>
</tr> </tr>
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
</template> </template>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2">
<q-input standout="bg-primary text-white" v-model="data.StundetScore" label="得分:" maxlength="20" <q-input standout="bg-primary text-white" v-model="data.StudentScore" label="得分:" maxlength="20"
@input="getQuestionScore" /> @input="getQuestionScore" />
</td> </td>
</tr> </tr>
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</template> </template>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2">
<q-input standout="bg-primary text-white" v-model="data.StundetScore" label="得分:" maxlength="20" <q-input standout="bg-primary text-white" v-model="data.StudentScore" label="得分:" maxlength="20"
@input="getQuestionScore" /> @input="getQuestionScore" />
</td> </td>
</tr> </tr>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2">
<q-input standout="bg-primary text-white" v-model="data.StundetScore" label="得分:" maxlength="20" <q-input standout="bg-primary text-white" v-model="data.StudentScore" label="得分:" maxlength="20"
@input="getQuestionScore" /> @input="getQuestionScore" />
</td> </td>
</tr> </tr>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2">
<q-input standout="bg-primary text-white" v-model="data.StundetScore" label="得分:" maxlength="20" @input="getQuestionScore" /> <q-input standout="bg-primary text-white" v-model="data.StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" />
</td> </td>
</tr> </tr>
<tr> <tr>
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
学生答案: {{data.AnswerList[index].Content}} 学生答案: {{data.AnswerList[index].Content}}
</td> </td>
<td> <td>
<q-input standout="bg-primary text-white" v-model="item.SubScore" label="得分:" maxlength="20" <q-input standout="bg-primary text-white" v-model="item.StudentScore" label="得分:" maxlength="20"
@input="getQuestionScore" /> @input="getQuestionScore" />
</td> </td>
</tr> </tr>
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
学生答案: {{data.AnswerList[index].Content}} 学生答案: {{data.AnswerList[index].Content}}
</td> </td>
<td> <td>
<q-input standout="bg-primary text-white" v-model="item.SubScore" label="得分:" maxlength="20" <q-input standout="bg-primary text-white" v-model="item.StudentScore" label="得分:" maxlength="20"
@input="getQuestionScore" /> @input="getQuestionScore" />
</td> </td>
</tr> </tr>
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
学生答案: {{data.AnswerList[index].Content}} 学生答案: {{data.AnswerList[index].Content}}
</td> </td>
<td> <td>
<q-input standout="bg-primary text-white" v-model="data.StundetScore" label="得分:" maxlength="20" <q-input standout="bg-primary text-white" v-model="item.StudentScore" label="得分:" maxlength="20"
@input="getQuestionScore" /> @input="getQuestionScore" />
</td> </td>
</tr> </tr>
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
学生答案: {{data.AnswerList[index].Content}} 学生答案: {{data.AnswerList[index].Content}}
</td> </td>
<td> <td>
<q-input standout="bg-primary text-white" v-model="data.StundetScore" label="得分:" maxlength="20" <q-input standout="bg-primary text-white" v-model="item.StudentScore" label="得分:" maxlength="20"
@input="getQuestionScore" /> @input="getQuestionScore" />
</td> </td>
</tr> </tr>
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<q-input standout="bg-primary text-white" v-model="data.StundetScore" label="得分:" maxlength="20" <q-input standout="bg-primary text-white" v-model="data.StudentScore" label="得分:" maxlength="20"
@input="getQuestionScore" /> @input="getQuestionScore" />
</td> </td>
</tr> </tr>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<div v-html="data.StundetAnswer"></div> <div v-html="data.StundetAnswer"></div>
</div> </div>
<div v-if="isShowStudentAnswer" style="display:flex;"> <div v-if="isShowStudentAnswer" style="display:flex;">
<q-input standout="bg-primary text-white" v-model="data.StundetScore" label="得分:" maxlength="20" <q-input standout="bg-primary text-white" v-model="data.StudentScore" label="得分:" maxlength="20"
@input="getQuestionScore" /> @input="getQuestionScore" />
</div> </div>
<div style="display:flex;" v-if="isShowAnswer"> <div style="display:flex;" v-if="isShowAnswer">
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2">
<q-input standout="bg-primary text-white" v-model="data.StundetScore" label="得分:" maxlength="20" @input="getQuestionScore" /> <q-input standout="bg-primary text-white" v-model="data.StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" />
</td> </td>
</tr> </tr>
<tr> <tr>
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td> <td>
<q-input standout="bg-primary text-white" v-model="data.StundetScore" label="得分:" maxlength="20" <q-input standout="bg-primary text-white" v-model="data.StudentScore" label="得分:" maxlength="20"
@input="getQuestionScore" /> @input="getQuestionScore" />
</td> </td>
</tr> </tr>
......
...@@ -49,13 +49,14 @@ ...@@ -49,13 +49,14 @@
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props"> <q-td :props="props">
<q-btn flat color="primary" v-if="props.row.ExamStatus==0||props.row.ExamStatus==2" size="xs" style="font-weight:400;" class="q-mr-md" label="学员考试" <!--v-if="props.row.ExamStatus==0||props.row.ExamStatus==2"-->
<q-btn flat color="primary" size="xs" style="font-weight:400;" class="q-mr-md" label="学员考试"
@click="gotoExamTest(props.row)" /> @click="gotoExamTest(props.row)" />
<!--v-if="props.row.ExamStatus==1"-->
<q-btn flat color="primary" v-if="props.row.ExamStatus==1" size="xs" style="font-weight:400;" class="q-mr-md" label="阅卷" <q-btn flat color="primary" size="xs" style="font-weight:400;" class="q-mr-md" label="阅卷"
@click="gotoExamTestReview(props.row)" /> @click="gotoExamTestReview(props.row)" />
<!--v-if="props.row.ExamStatus==3"-->
<q-btn flat color="primary" v-if="props.row.ExamStatus==3" size="xs" style="font-weight:400;" class="q-mr-md" label="详情" <q-btn flat color="primary" size="xs" style="font-weight:400;" class="q-mr-md" label="详情"
@click="gotoExamTestInfo(props.row)" /> @click="gotoExamTestInfo(props.row)" />
</q-td> </q-td>
</template> </template>
......
...@@ -473,7 +473,7 @@ ...@@ -473,7 +473,7 @@
x.DetailsList.forEach(y => { x.DetailsList.forEach(y => {
if (y.Score) { if (y.Score) {
this.examScore += Number(y.Score); this.examScore += Number(y.Score);
this.studentScore += Number(y.StundetScore) this.studentScore += Number(y.StudentScore)
} }
}) })
} }
......
...@@ -472,7 +472,7 @@ ...@@ -472,7 +472,7 @@
x.DetailsList.forEach(y => { x.DetailsList.forEach(y => {
if (y.Score) { if (y.Score) {
this.examScore += Number(y.Score); this.examScore += Number(y.Score);
this.studentScore += Number(y.StundetScore) this.studentScore += Number(y.StudentScore)
} }
}) })
} }
......
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