|
@@ -126,8 +126,8 @@
|
|
|
:columns="costAllocationColumns"
|
|
|
:data-source="costAllocationData"
|
|
|
:loading="loading"
|
|
|
- :pagination="pagination"
|
|
|
- :scroll="{ x: 1000 }"
|
|
|
+ :pagination="ipagination"
|
|
|
+ :scroll="{ x: 1000 ,y:450}"
|
|
|
@change="handleTableChange"
|
|
|
>
|
|
|
<!-- 操作 -->
|
|
@@ -248,12 +248,6 @@ export default {
|
|
|
// 查询条件
|
|
|
queryParam: {
|
|
|
|
|
|
- },
|
|
|
- // 分页
|
|
|
- pagination: {
|
|
|
- // total: '',
|
|
|
- // current: 0,
|
|
|
- // pageSize: 0
|
|
|
},
|
|
|
apply:"",
|
|
|
dateFormat: 'YYYY-MM-DD',
|
|
@@ -277,7 +271,7 @@ export default {
|
|
|
this.costAllocationData.map((item,index)=>{
|
|
|
this.getSign(item,index)
|
|
|
})
|
|
|
- this.pagination = {
|
|
|
+ this.ipagination = {
|
|
|
total: res.result.total,
|
|
|
current: res.result.current,
|
|
|
pageSize: res.result.size
|
|
@@ -479,6 +473,7 @@ export default {
|
|
|
|
|
|
handleTableChange(pagination, filters, sorter) {
|
|
|
this.queryParam.pageNo = pagination.current
|
|
|
+ this.queryParam.pageSize = pagination.pageSize
|
|
|
this.getCostList()
|
|
|
},
|
|
|
// father 抽屉方法
|