| | |
| | | tabIndex: 0,
|
| | | tabStatus: 1,
|
| | | keyWord: '',
|
| | | loadingStatus: 'nomore'
|
| | | loadingStatus: 'nomore', |
| | | clickInfo: {}
|
| | | }
|
| | | },
|
| | | onShow() { |
| | | this.siteList = []
|
| | | this.resetParams()
|
| | | this.getSiteList()
|
| | | },
|
| | | onReachBottom() {
|
| | |
| | | } = res
|
| | | if (code !== 200) {
|
| | | uni.showToast({
|
| | | title: '数据请求失败'
|
| | | title: '数据请求失败', |
| | | icon: 'error'
|
| | | })
|
| | | return
|
| | | }
|
| | |
| | | this.getSiteList()
|
| | | },
|
| | | clearConfirm() {
|
| | | this.keyWord = ''
|
| | | this.keyWord = '' |
| | | this.resetParams() |
| | | this.searchConfirm()
|
| | | },
|
| | | resetParams() {
|
| | | this.siteList = []
|
| | |
| | | })
|
| | | return res
|
| | | },
|
| | | pushPage(id) {
|
| | | this.$u.func.globalNavigator('/subPackage/workbench/views/examine?id='+id)
|
| | | pushPage(id) { |
| | | const siteData = this.siteList.find(item => item.id === id) |
| | | const siteDataStr = JSON.stringify(siteData)
|
| | | // this.$u.func.globalNavigator('/subPackage/workbench/views/examine?id='+id) |
| | | this.$u.func.globalNavigator('/subPackage/workbench/views/examine?siteData='+siteDataStr)
|
| | | }
|
| | | }
|
| | | }
|