| | |
| | | currentStatus: 1, |
| | | list: [], |
| | | loadingStatus: 'nomore', |
| | | currentPage: 1 |
| | | currentPage: 1, |
| | | frequency: '', |
| | | } |
| | | }, |
| | | |
| | | onLoad(option) { |
| | | if(option.type == 1){ |
| | | if (option.type == 1) { |
| | | uni.setNavigationBarTitle({ |
| | | title:"一次性" |
| | | title: "一次性" |
| | | }) |
| | | this.frequency = 1 |
| | | } |
| | | if(option.type == 2){ |
| | | if (option.type == 2) { |
| | | uni.setNavigationBarTitle({ |
| | | title:"周期性" |
| | | title: "周期性" |
| | | }) |
| | | this.frequency = 2 |
| | | } |
| | | this.getList() |
| | | }, |
| | | onReachBottom() { |
| | | this.currentPage++ |
| | | this.getPageList() |
| | | this.getList() |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | getAuditReportingList({ |
| | | page: this.currentPage, |
| | | size: 20, |
| | | status: this.currentStatus |
| | | status: this.currentStatus, |
| | | frequency: this.frequency, |
| | | }).then(res => { |
| | | if (res.code != 200) { |
| | | uni.showToast({ |
| | |
| | | } |
| | | } |
| | | } |
| | | </style> |
| | | </style> |