| | |
| | | } else { |
| | | item1.type = 1 // 半选 |
| | | } |
| | | if (item1.name === '企业应急') { |
| | | console.log(item1) |
| | | bus.$emit('changeSearchBar', item1) |
| | | } |
| | | // console.log(item1.layers.length, item1.istrue, item1.isfalse, item1.type) |
| | | } |
| | | }) |
| | | console.log(this.serviceLayers) |
| | | // console.log(this.serviceLayers) |
| | | }, |
| | | swLayers (layers, checked) { |
| | | if (layers) { |
| | |
| | | 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> |
| | |
| | | |
| | | export const LayerEmergency = { |
| | | code: 'sewersEmergency', |
| | | name: '应急图层', |
| | | name: '企业应急', |
| | | checked: false, |
| | | isShow: true, |
| | | type: 0, |