mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
相关功能页面搜索完查询数据后页面会自动刷新返回到第一页,造成客户反馈不方便
This commit is contained in:
parent
4b44f3c353
commit
32a66c07c3
@ -15,7 +15,8 @@
|
||||
paId:'',
|
||||
areaNum: '',
|
||||
state:''
|
||||
}
|
||||
},
|
||||
currentPage:DEFAULT_PAGE
|
||||
}
|
||||
},
|
||||
_initMethod: function () {
|
||||
@ -23,7 +24,7 @@
|
||||
},
|
||||
_initEvent: function () {
|
||||
vc.on('listParkingSpace', 'listParkingSpaceData', function () {
|
||||
vc.component._listParkingSpaceData(DEFAULT_PAGE, DEFAULT_ROWS);
|
||||
vc.component._listParkingSpaceData($that.listParkingSpaceInfo.currentPage, DEFAULT_ROWS);
|
||||
vc.component.listParkingSpaceInfo.num = '';
|
||||
});
|
||||
vc.on('listParkingSpace', 'chooseParkingArea', function (_parkingArea) {
|
||||
@ -38,6 +39,7 @@
|
||||
vc.component.listParkingSpaceInfo.num = '';
|
||||
});
|
||||
vc.on('pagination', 'page_event', function (_currentPage) {
|
||||
$that.listParkingSpaceInfo.currentPage = _currentPage;
|
||||
vc.component._listParkingSpaceData(_currentPage, DEFAULT_ROWS);
|
||||
});
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user