Commit 21a3fc57 authored by 黄奎's avatar 黄奎

页面修改

parent 7d4c051a
...@@ -58,9 +58,9 @@ ...@@ -58,9 +58,9 @@
<div class="col-2 q-table__title">考试管理</div> <div class="col-2 q-table__title">考试管理</div>
<q-space /> <q-space />
</template> </template>
<template v-slot:body-cell-StartTime="props"> <template v-slot:body-cell-ExamStartTime="props">
<q-td :props="props"> <q-td :props="props">
{{ props.row.StartTime }} -- {{ props.row.EndTime }} {{ props.row.ExamStartTime }} -- {{ props.row.ExamEndTime }}
</q-td> </q-td>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
</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 size="xs" color="primary" style="font-weight:400" @click="goExame(scope.row)" label="开始考试" />
</q-td> </q-td>
</template> </template>
</q-table> </q-table>
...@@ -114,15 +114,12 @@ ...@@ -114,15 +114,12 @@
field: "ExamStartTime", field: "ExamStartTime",
align: "left", align: "left",
}, },
{ {
name: "ExamTimes", name: "ExamTimes",
label: "考试时长", label: "考试时长",
field: "ExamTimes", field: "ExamTimes",
align: "left", align: "left",
}, },
{ {
name: "optioned", name: "optioned",
label: "操作", label: "操作",
...@@ -140,7 +137,10 @@ ...@@ -140,7 +137,10 @@
this.getList(); this.getList();
}, },
methods: { methods: {
//跳转到考试页面
goExame(item) {
},
//翻页 //翻页
changePage(val) { changePage(val) {
this.msg.pageIndex = val; this.msg.pageIndex = val;
......
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