diff --git a/public/components/report/dataReportFeeStatistics/dataReportFeeStatistics.js b/public/components/report/dataReportFeeStatistics/dataReportFeeStatistics.js index 7d0cf48de..81d238cbf 100644 --- a/public/components/report/dataReportFeeStatistics/dataReportFeeStatistics.js +++ b/public/components/report/dataReportFeeStatistics/dataReportFeeStatistics.js @@ -72,7 +72,7 @@ ); }, _loadFloors:function(){ - var param = { + let param = { params: { page:1, row:100, @@ -84,17 +84,14 @@ vc.http.apiGet('/floor.queryFloors', param, function(json, res) { - var listFloorData = JSON.parse(json); + let listFloorData = JSON.parse(json); - vc.component.listFloorInfo.total = listFloorData.total; - vc.component.listFloorInfo.records = listFloorData.records; - vc.component.listFloorInfo.floors = listFloorData.apiFloorDataVoList; + let _floors = listFloorData.apiFloorDataVoList; + let _floorIds = []; + for(let _floorIndex = 0; _floorIndex < _floors.length;_floorIndex ++){ + _floorIds.push(_floors[_floorIndex].floorId); + } - vc.emit('pagination', 'init', { - total: vc.component.listFloorInfo.records, - dataCount: vc.component.listFloorInfo.total, - currentPage: _page - }); }, function(errInfo, error) { console.log('请求失败处理');