| | |
| | | this.getFirstPageData() |
| | | }) |
| | | }, |
| | | onReachBottom() { |
| | | this.getShopPage() |
| | | }, |
| | | methods:{ |
| | | bindChange1 (e) { |
| | | this.tempStartDate = e.detail.value || null |
| | |
| | | }).then(res => { |
| | | if (res.code == 200) { |
| | | if(res.data.page == 1){ |
| | | this.getShopSummary() |
| | | this.hasNext = true |
| | | this.dataList=[] |
| | | } |
| | |
| | | this.hasNext = true |
| | | } |
| | | } |
| | | }).finally(() => { |
| | | this.loading = false |
| | | }) |
| | | }, |
| | | getShopSummary() { |
| | |
| | | this.endDate = null |
| | | |
| | | this.getShopStatistics() |
| | | this.getShopSummary() |
| | | // this.getShopSummary() |
| | | this.getFirstPageData() |
| | | }, |
| | | checkActive(index){ |
| | |
| | | this.tempType =index |
| | | }, |
| | | getFirstPageData(){ |
| | | this.currentPage = 0 |
| | | this.currentPage = 1 |
| | | this.hasNext = true |
| | | this.loading = false |
| | | this.total = 0 |