Commit d68cc002 authored by 黄奎's avatar 黄奎

页面修改

parent cd4cca53
...@@ -49,7 +49,8 @@ ...@@ -49,7 +49,8 @@
</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 color="accent" size="sm" style="display:none" class="q-mr-md" label="学员考试"
@click="gotoExamTest(props.row)" />
</q-td> </q-td>
</template> </template>
</q-table> </q-table>
...@@ -123,12 +124,16 @@ ...@@ -123,12 +124,16 @@
this.msg.pageIndex = val; this.msg.pageIndex = val;
this.getList(); this.getList();
}, },
//刷新页面 //刷新页面
refreshPage() { refreshPage() {
this.msg.pageIndex = 1; this.msg.pageIndex = 1;
this.getList(); this.getList();
}, },
//跳转到考试详情
gotoExamTest(item) {
var qMsg = {};
this.OpenNewUrl('/exam/examtest', qMsg);
},
}, },
}; };
......
...@@ -11,7 +11,10 @@ ...@@ -11,7 +11,10 @@
label="输入试卷名称" /> label="输入试卷名称" />
</div> </div>
</div> </div>
<div class="page-option"></div> <div class="page-option">
<q-btn color="accent" size="sm" style="display:none" class="q-mr-md" label="学员考试"
@click="gotoExamTest()" />
</div>
</div> </div>
<div class="page-content"> <div class="page-content">
<exampublishlist :dataList="dataList" :loading="loading" @close="closeExamPublishForm" @success="refreshPage"> <exampublishlist :dataList="dataList" :loading="loading" @close="closeExamPublishForm" @success="refreshPage">
......
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