|
@@ -39,12 +39,13 @@
|
|
|
<div align="right">
|
|
|
<el-pagination
|
|
|
:current-page.sync="currentPage"
|
|
|
- :page-sizes="[15, 30, 45, total]"
|
|
|
+ :page-sizes="[15, 20, 30]"
|
|
|
:page-size="pageSize"
|
|
|
background
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
:total="total"
|
|
|
@current-change="handleCurrentChange"
|
|
|
+ @size-change="handleSizeChange"
|
|
|
/>
|
|
|
</div>
|
|
|
|
|
@@ -169,6 +170,10 @@ export default {
|
|
|
this.drawerShow = false
|
|
|
})
|
|
|
},
|
|
|
+ handleSizeChange(val) {
|
|
|
+ this.pageSize = val
|
|
|
+ this.bugGetTableList(this.queryData, false)
|
|
|
+ },
|
|
|
handleCurrentChange(val) { // 分页
|
|
|
this.curIndex = val
|
|
|
this.bugGetTableList(this.queryData, false)
|