diff --git a/src/views/sunVillage_info/list_finance.vue b/src/views/sunVillage_info/list_finance.vue index e5f20844..2ac8f1d2 100644 --- a/src/views/sunVillage_info/list_finance.vue +++ b/src/views/sunVillage_info/list_finance.vue @@ -114,19 +114,23 @@ response.rows.map(res=>{ _this.applicationList.push(res); }) + console.log(_this.applicationList.length + "--------------" + response.total); if(_this.applicationList.length >= response.total){ + console.log('aaaaaaaaaaaaaaaaa') _this.finished = true; return; }else{ + console.log('bbbbbbbbbbbbbbbbbbb') _this.loading = false; _this.queryParams.pageNum += 1 ; } - }); }, tabClick(year){ this.queryParams.year = year ; + this.queryParams.pageNum = 1 ; this.applicationList = []; + this.finished = false; this.getList(); }, tabShow(){