Commit 56770db6 authored by 黄奎's avatar 黄奎

页面修改

parent 5058f1b2
......@@ -43,18 +43,23 @@
<template v-slot:top="props">
<div class="col-2 q-table__title">考生管理</div>
</template>
<template v-slot:body-cell-ExamStartTime="props">
<q-td :props="props">
{{props.row.ExamStartTime}} - {{props.row.EndTime}}
</q-td>
</template>
<template v-slot:bottom>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" />
</template>
<template v-slot:body-cell-optioned="props">
<q-td :props="props">
<q-btn v-if="props.row.ExamStatus==1||props.row.ExamStatus==2" flat color="primary" size="xs" style="font-weight:400;" class="q-mr-md" label="学员考试"
@click="gotoExamTest(props.row)" />
<q-btn v-if="props.row.ExamStatus==3" flat color="primary" size="xs" style="font-weight:400;" class="q-mr-md" label="阅卷"
@click="gotoExamTestReview(props.row)" />
<q-btn v-if="props.row.ExamStatus==5" flat color="primary" size="xs" style="font-weight:400;" class="q-mr-md" label="详情"
@click="gotoExamTestInfo(props.row)" />
<q-btn v-if="props.row.ExamStatus==1||props.row.ExamStatus==2" flat color="primary" size="xs"
style="font-weight:400;" class="q-mr-md" label="学员考试" @click="gotoExamTest(props.row)" />
<q-btn v-if="props.row.ExamStatus==3" flat color="primary" size="xs" style="font-weight:400;"
class="q-mr-md" label="阅卷" @click="gotoExamTestReview(props.row)" />
<q-btn v-if="props.row.ExamStatus==5" flat color="primary" size="xs" style="font-weight:400;"
class="q-mr-md" label="详情" @click="gotoExamTestInfo(props.row)" />
</q-td>
</template>
</q-table>
......@@ -95,7 +100,13 @@
field: "ClassName",
align: "left",
},
{
{
name: "ExamStartTime",
label: "考试时间",
field: "ExamStartTime",
align: "left",
},
{
name: "ExamStatusName",
label: "状态",
field: "ExamStatusName",
......
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