Commit 34ff600c authored by youjie's avatar youjie

no message

parent 42186a73
......@@ -453,8 +453,12 @@
</el-table-column>
</el-table>
<div style="padding-bottom:15px">
<el-pagination background @current-change="handleCurrentChanges"
layout="total,prev, pager, next, jumper" :page-size="msg.pageSize"
<el-pagination background
@size-change="handleSizeChange"
@current-change="handleCurrentChanges"
layout="total,sizes,prev, pager, next, jumper"
:page-sizes="[8, 20, 50, 70,100,200]"
:page-size="msg.pageSize"
:current-page.sync="currentPage" :total='total'>
</el-pagination>
</div>
......@@ -653,6 +657,11 @@ export default {
// 数据筛选
filterMethod(filters){
},
handleSizeChange(val) {
this.msg.pageSize = val
this.msg.pageIndex = 1;
this.getPageList();
},
handleCurrentChanges(val){
this.msg.pageIndex = val;
this.getPageList();
......
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