| | |
| | | }, |
| | | getListData(){ |
| | | uni.showLoading({ title: '加载中...' }); |
| | | this.$reqGet('gateAuth',{current:this.page.current,size:this.page.size,status:30}).then(res=>{ |
| | | this.$reqGet('gateAuth',{current:this.page.current,size:this.page.size,status:25}).then(res=>{ |
| | | console.log(res,'result'); |
| | | if(res.code == 0){ |
| | | uni.hideLoading(); |
| | |
| | | scrolltolower(){ |
| | | console.log('触发') |
| | | this.page.current += 1; |
| | | this.$reqGet('gateAuth',{current:this.page.current,size:this.page.size,status:30}).then(res=>{ |
| | | this.$reqGet('gateAuth',{current:this.page.current,size:this.page.size,status:25}).then(res=>{ |
| | | console.log(res,'result'); |
| | | if(res.code == 0){ |
| | | uni.hideLoading(); |
| | |
| | | }); |
| | | }else if(this.roleType == 7){ |
| | | |
| | | this.$reqGet('gateAuth',{current:1,size:5,status:30}).then(res => { |
| | | this.$reqGet('gateAuth',{current:1,size:5,status:25}).then(res => { |
| | | if (res.code == 0) { |
| | | if(res.data.records.length){ |
| | | this.orderPlanData = res.data.records; |