| | |
| | | }, |
| | | methods: { |
| | | searchList() { |
| | | if (this.searchParams.keyword == '') { |
| | | uni.showToast({ |
| | | title: '请输入关键字搜索', |
| | | icon: 'none', |
| | | mask: true |
| | | }) |
| | | return |
| | | } |
| | | // if (this.searchParams.keyword == '') { |
| | | // uni.showToast({ |
| | | // title: '请输入关键字搜索', |
| | | // icon: 'none', |
| | | // mask: true |
| | | // }) |
| | | // return |
| | | // } |
| | | this.searchParams.pageNum = 1 |
| | | this.fetchList(this.searchParams, (e) => { |
| | | this.list = e.records || [] |
| | |
| | | }, |
| | | toDetailProgress(item) { |
| | | uni.navigateTo({ |
| | | url: `/pages/supervision/supervision-progress?id=${item.id}` |
| | | url: `/pages/supervision/supervision-progress?id=${this.type==1?item.id :item.complaintId}` |
| | | }) |
| | | }, |
| | | fetchList(params, callback) { |