|
@@ -114,19 +114,23 @@ |
|
|
response.rows.map(res=>{ |
|
|
response.rows.map(res=>{ |
|
|
_this.applicationList.push(res); |
|
|
_this.applicationList.push(res); |
|
|
}) |
|
|
}) |
|
|
|
|
|
console.log(_this.applicationList.length + "--------------" + response.total); |
|
|
if(_this.applicationList.length >= response.total){ |
|
|
if(_this.applicationList.length >= response.total){ |
|
|
|
|
|
console.log('aaaaaaaaaaaaaaaaa') |
|
|
_this.finished = true; |
|
|
_this.finished = true; |
|
|
return; |
|
|
return; |
|
|
}else{ |
|
|
}else{ |
|
|
|
|
|
console.log('bbbbbbbbbbbbbbbbbbb') |
|
|
_this.loading = false; |
|
|
_this.loading = false; |
|
|
_this.queryParams.pageNum += 1 ; |
|
|
_this.queryParams.pageNum += 1 ; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
tabClick(year){ |
|
|
tabClick(year){ |
|
|
this.queryParams.year = year ; |
|
|
this.queryParams.year = year ; |
|
|
|
|
|
this.queryParams.pageNum = 1 ; |
|
|
this.applicationList = []; |
|
|
this.applicationList = []; |
|
|
|
|
|
this.finished = false; |
|
|
this.getList(); |
|
|
this.getList(); |
|
|
}, |
|
|
}, |
|
|
tabShow(){ |
|
|
tabShow(){ |
|
|