| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2023-03-10 15:27:59 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-11-12 18:10:32 |
| | | * @FilePath: \bigScreen\src\views\space\components\leftContainer.vue |
| | | * @LastEditTime: 2024-11-27 16:14:10 |
| | | * @FilePath: \bigScreen\src\views\companyInfo\components\box\unitContent.vue |
| | | * @Description: |
| | | * |
| | | * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. |
| | |
| | | let data = res.data.data.records |
| | | data.filter(i => i.lng && i.lng != '' && i.lat && i.lat != '').forEach(i => { |
| | | let img = image.value.filter(l => i.name.includes(l.label)) |
| | | img = img.length > 0 ? img : image |
| | | img = img.length > 0 ? img : image.value |
| | | let iconEl = `<div class="map-name">${i.name}</div> |
| | | <div class="map-icon"> <img src="${img[0].value}"> </div>` |
| | | let divIcon = new DC.DivIcon( |
| | |
| | | EventBus.emit('restHandleCheckChange', `3-3-4`) |
| | | }) |
| | | onUnmounted(() => { |
| | | console.log('leftContainer unmounted***********************') |
| | | let arr = Object.keys(addTileLayers) |
| | | arr.forEach(i => { |
| | | addTileLayers[i] && window.$viewer.removeLayer(addTileLayers[i]) |