派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-21 bb588bddeaee7ea617f8ad019ba9f5e1825d9e27
src/components/panel/topicSearch/SewersSearch.vue
@@ -135,13 +135,6 @@
    // tab切换
    handleClick (tab, event) {
      console.log(tab, event)
      if (tab.label === '分析') {
        // 关闭弹窗
        window.mapManager.clickDialogSwitch = false
      } else {
        // 打开弹窗
        window.mapManager.clickDialogSwitch = true
      }
    },
    // 根据返回数据 确认展示图片
    getImgSrc () {
@@ -171,12 +164,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) {