|
@@ -90,10 +90,11 @@
|
|
|
</el-table>
|
|
|
<div class="text-align-c">
|
|
|
<el-pagination
|
|
|
+ @size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
|
:current-page.sync="page2.current"
|
|
|
:page-sizes="[20, 40, 60, 100]"
|
|
|
- :page-size="100"
|
|
|
+ :page-size="page2.pageSize"
|
|
|
layout="total, prev, pager, next,sizes"
|
|
|
:total="page2.total">
|
|
|
</el-pagination>
|
|
@@ -536,9 +537,15 @@ export default {
|
|
|
},
|
|
|
|
|
|
handleCurrentChange(index){
|
|
|
+
|
|
|
this.page2.current = index;
|
|
|
this.getAllocationList();
|
|
|
},
|
|
|
+ handleSizeChange(val) {
|
|
|
+ console.log(val,'val');
|
|
|
+ this.page2.pageSize = val;
|
|
|
+ this.getAllocationList();
|
|
|
+ },
|
|
|
|
|
|
tableFormatter(row, column, cellValue){
|
|
|
//console.log(row,'row');
|