| | |
| | | const ImagBright = '/assets/images/map/exhaust/fq_bright_green.png' |
| | | |
| | | const mapApi = require('../../../api/mapApi').default |
| | | const publicBounced = require('../../BaseNav/PublicBounced/PublicBounced').default |
| | | module.exports = function () { |
| | | /** |
| | | * 返回marker对象数组 |
| | |
| | | |
| | | this.bindTooltip = (layer) => { |
| | | console.log(layer) |
| | | return '测试废气' |
| | | return '废气点' |
| | | } |
| | | |
| | | this.clickListener = (e) => { |
| | | console.log(e) |
| | | this.clickListener = async (e) => { |
| | | // console.log(e) |
| | | this.animalService.pulseEffect(e.latlng) |
| | | const dataValue = { |
| | | StoragePlaceId: e.layer.options.test.StoragePlaceId |
| | | } |
| | | const result = await mapApi.GetWasteGas(dataValue) |
| | | const PublicBounced = window.Vue.extend(publicBounced) |
| | | const instance = new PublicBounced() |
| | | instance.setData(result) |
| | | instance.$mount() |
| | | document.body.appendChild(instance.$el) |
| | | } |
| | | // 不同类型图片封装 |
| | | // 不同类型图片加载 |
| | | this.differentTypes = (ContrLevel) => { |
| | | var effectOfChange |
| | | if (ContrLevel === 1) { |