Commit ea2f0220 authored by 黄奎's avatar 黄奎

页面修改

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