| | |
| | | case '管道信息': |
| | | this.gcComp = PipeInformationSearch |
| | | break |
| | | case '应急图层': |
| | | case '企业应急': |
| | | this.gcComp = ReportSearch |
| | | break |
| | | } |
| | |
| | | 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 { |
| | |
| | | } |
| | | }) |
| | | }) |
| | | // console.log(that.topicList) |
| | | } |
| | | } |
| | | </script> |
| | |
| | | color: @color-tool; |
| | | position: absolute; |
| | | top: 24px; |
| | | right: 0.02rem; |
| | | left: 0.02rem; |
| | | border: none; //1px solid @color-tool; |
| | | width: 0.2rem; |
| | | height: 0.2rem; |