派生自 wuyushui/SewerAndRainNetwork

ChenZeping02609
2021-05-13 5aa19a5070b49f164c0b9db8dcd239f41bd14b8a
src/components/panel/RightSearchPanel.vue
@@ -154,7 +154,7 @@
        case '管道信息':
          this.gcComp = PipeInformationSearch
          break
        case '应急图层':
        case '企业应急':
          this.gcComp = ReportSearch
          break
      }
@@ -217,11 +217,9 @@
  mounted () {
    const that = this
    bus.$on('changeSearchBar', function (obj) {
      // console.log(obj.checked, obj.name)
      that.gcComp = ''
      that.topicList.forEach((item) => {
        if (item.name === obj.name) {
          // console.log(obj)
          if (obj.type > 0) {
            item.isShow = true
          } else {
@@ -236,6 +234,7 @@
        }
      })
    })
  //  console.log(that.topicList)
  }
}
</script>