派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-21 b187fa62b3e02d8417d73139dcf3e2271268788d
src/components/panel/topicSearch/SewersSearch.vue
@@ -135,6 +135,13 @@
    // tab切换
    handleClick (tab, event) {
      console.log(tab, event)
      if (tab.label === '分析') {
        // 关闭弹窗
        window.mapManager.clickDialogSwitch = false
      } else {
        // 打开弹窗
        window.mapManager.clickDialogSwitch = true
      }
    },
    // 根据返回数据 确认展示图片
    getImgSrc () {
@@ -164,12 +171,13 @@
    // 搜索功能
    async handleSearch () {
      // console.log(this.form.dataType.sname, this.form.keyword)
      // console.log(this.form)
      this.list = []
      this.wfsHelper.clearFilter()
      // todo 现在管网还没区分开类型,后面改
      this.wfsHelper.setTypeName([this.form.dataType.typeName])
      if (this.form.keyword) {
        this.wfsHelper.addLike('name', this.form.keyword)
        this.wfsHelper.addLike('pipename', this.form.keyword)
      }
      const filter = this.form.dataType.filter
      if (filter) {