GULIMMO
2023-11-09 79e5599727c2ad19bb40cccd35f6f3302ff1b896
subPackage/workbench/views/cshw.vue
@@ -65,11 +65,12 @@
            tabIndex: 0,
            tabStatus: 1,
            keyWord: '',
            loadingStatus: 'nomore'
            loadingStatus: 'nomore',
            clickInfo: {}
         }
      },
      onShow() {
         this.siteList = []
         this.resetParams()
         this.getSiteList()
      },
      onReachBottom() {
@@ -95,7 +96,8 @@
            } = res
            if (code !== 200) {
               uni.showToast({
                  title: '数据请求失败'
                  title: '数据请求失败',
                  icon: 'error'
               })
               return
            }
@@ -112,7 +114,9 @@
            this.getSiteList()
         },
         clearConfirm() {
            this.keyWord = ''
            this.keyWord = ''
            this.resetParams()
            this.searchConfirm()
         },
         resetParams() {
            this.siteList = []
@@ -124,8 +128,11 @@
            })
            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)
         }
      }
   }