| | |
| | | onReachBottom() { |
| | | //这里是判断是否需要继续掉接口 |
| | | if (this.isLoading) { |
| | | console.log('1122111') |
| | | this.status = 'loading' |
| | | //请求一次接口,页码就++ |
| | | this.page.currentPage = ++this.page.currentPage |
| | |
| | | } |
| | | this.getWorkOrder() |
| | | }, |
| | | setData() { |
| | | this.workOderList = [] |
| | | this.page = { |
| | | currentPage: 1, |
| | | pageSize: 10 |
| | | } |
| | | this.getContaminateList() |
| | | }, |
| | | // 获取责任单位list |
| | | getUnitList() { |
| | | this.$http.httpGet('/allocation/unit').then(res => { |
| | |
| | | data.allocationId = e.allocationId |
| | | data.state = e.state |
| | | data.allocationNum = e.allocationNum |
| | | data.current = this.current |
| | | let myData = JSON.stringify(data) |
| | | uni.navigateTo({ |
| | | url: '/pages/actionChange/workOrderDetails/index?infor=' + myData + '&type=jump', |