Commit 34ff600c authored by youjie's avatar youjie

no message

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