| | |
| | | // checked: '/changjing/img/leftnav/monitor-checked.png', |
| | | // layer: 'leftMonitorLayer' |
| | | // }, |
| | | { |
| | | flag: false, |
| | | label: '活动', |
| | | img: '/changjing/img/leftnav/activity.png', |
| | | normal: '/changjing/img/leftnav/activity.png', |
| | | checked: '/changjing/img/leftnav/activity-checked.png', |
| | | layer: 'leftNavHD' |
| | | }, |
| | | // { |
| | | // flag: false, |
| | | // label: '活动', |
| | | // img: '/changjing/img/leftnav/activity.png', |
| | | // normal: '/changjing/img/leftnav/activity.png', |
| | | // checked: '/changjing/img/leftnav/activity-checked.png', |
| | | // layer: 'leftNavHD' |
| | | // }, |
| | | // { |
| | | // flag: false, |
| | | // label: 'AED', |
| | |
| | | mounted () { |
| | | const that = this |
| | | // 初始化新增标签图层 |
| | | that.$EventBus.$on('closeTagLayer', () => { |
| | | this.map2D.addLayer(this.leftNavBQ) |
| | | this.map2D.addLayer(this.leftNavDL) |
| | | this.map2D.addLayer(this.leftNavSJ) |
| | |
| | | this.map2D.addLayer(this.leftNavTC) |
| | | this.map2D.addLayer(this.leftNavCR) |
| | | |
| | | that.$EventBus.$on('closeTagLayer', () => { |
| | | that.leftNavData.forEach(item => { |
| | | if (item.layer && item.flag == true) { |
| | | item.flag = false |
| | |
| | | }, |
| | | |
| | | initialize (campus) { |
| | | |
| | | var that = this |
| | | |
| | | that.$nextTick(() => { |
| | | |
| | | this.leftNavData[0].flag = true |
| | | this.leftNavData[0].img = this.leftNavData[0].checked |
| | |
| | | })) |
| | | }) |
| | | }) |
| | | }) |
| | | }, |
| | | |
| | | getCurItemFeature (params) { |