jiangping
2024-07-26 06df90b8a8349e520f7415a407a26ca6454f9c2c
wechat_jiaxuan/components/disRealpic/index.js
@@ -18,7 +18,7 @@
    pageNum: 1,
    pageSize: 10,
    query: '',
    sortType: 'NORMAL',
    sortType: '',
    catalogCode: 'real_case'
  },
  attached() {
@@ -50,6 +50,10 @@
          total: res.data.total,
        })
      })
    },
    scrolltoupper() {
      this.setData({ pageNum: 1,datalist: [],total: 0})
      this.getList()
    },
    scrolltolower() {
      console.log('触底事件');
@@ -147,16 +151,17 @@
      const { cateList } = this.data
      cateList.forEach(item => {
        item.paramIndex = -1
        item.paramName = ''
        item.paramName = item.paramName || ''
      })
      this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 })
    },
    bindblur() {
      this.setData({ pageNum: 1,dataList: [],total: 0})
      this.getList()
    },
    subParam() {
      this.setData({ activeParam: [] })
      this.setData({ pageNum: 1,dataList: [],total: 0})
      this.setData({ pageNum: 1,activeIndex: -1,dataList: [],total: 0})
      this.getList()
    },
    changeShowParams(e){