| | |
| | | list: [], |
| | | currentPage: 1, |
| | | loadingStatus: 'nomore', |
| | | eventType: "" |
| | | eventType: "", |
| | | type: '', |
| | | } |
| | | }, |
| | | onLoad(option) { |
| | | |
| | | this.eventType = option.type; |
| | | if (option.type == 0) { |
| | | this.type = 3 |
| | | uni.setNavigationBarTitle({ |
| | | title: "公益报名" |
| | | }) |
| | | } else { |
| | | this.type = 4 |
| | | uni.setNavigationBarTitle({ |
| | | title: "选举调查" |
| | | }) |
| | |
| | | size: pageSize, |
| | | articleType: this.tabId, |
| | | eventType: this.eventType, |
| | | type: this.type, |
| | | houseCode: uni.getStorageSync("siteInfo").houseCode |
| | | }).then(res => { |
| | | this.$refs.paging.complete(res.data.records); |
| | |
| | | current: this.currentPage, |
| | | articleType: this.tabId, |
| | | eventType: this.eventType, |
| | | type: this.type, |
| | | houseCode: uni.getStorageSync("siteInfo").houseCode |
| | | } |
| | | const res = await getPage(param) |