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

页面修改

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