吉安感知网项目-前端
shuishen
2026-02-09 8c4e362abd97794ad71db05d0b0a8ec3b98d464b
feat:数据驾驶舱加载icon层级调整
2 files modified
26 ■■■■ changed files
applications/drone-command/src/components/map-container/device-map-container.vue 11 ●●●● patch | view | raw | blame | history
applications/drone-command/src/views/dataCockpit/components/SceneDeployment.vue 15 ●●●●● patch | view | raw | blame | history
applications/drone-command/src/components/map-container/device-map-container.vue
@@ -1,4 +1,4 @@
<template>
<template>
    <div class="map-shell">
        <CommonCesiumMap ref="mapRef" class="command-cesium map-container" :dom-id="props.containerId" :active="true"
            :flat-mode="false" :terrain="true" :layer-mode="4" :contour="false" :boundary="false"
@@ -303,10 +303,10 @@
    if (deviceRingOutlinePrimitives.length) {
        deviceRingOutlinePrimitives.forEach(primitive => cockpitPrimitiveLayer.add(primitive))
    }
    if (commandPostBillboardCollection) cockpitPrimitiveLayer.add(commandPostBillboardCollection)
    if (deviceBillboardCollection) cockpitPrimitiveLayer.add(deviceBillboardCollection)
    if (droneTrackPolylineCollection) cockpitPrimitiveLayer.add(droneTrackPolylineCollection)
    if (droneTrackBillboardCollection) cockpitPrimitiveLayer.add(droneTrackBillboardCollection)
    if (deviceBillboardCollection) cockpitPrimitiveLayer.add(deviceBillboardCollection)
    if (commandPostBillboardCollection) cockpitPrimitiveLayer.add(commandPostBillboardCollection)
}
const clearDeviceEntities = () => {
@@ -1238,6 +1238,7 @@
                width: 40,
                height: 56,
                verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
                disableDepthTestDistance: Number.POSITIVE_INFINITY,
            })
        })
    }
@@ -1330,7 +1331,7 @@
    setDroneVisibility(!showCluster)
}
const handleMapReady = ({ viewer: mapViewer, publicCesium: mapPublic }) => {
const  handleMapReady = async ({ viewer: mapViewer, publicCesium: mapPublic }) => {
    if (mapReadyHandled) return
    mapReadyHandled = true
    viewer = mapViewer
@@ -1340,10 +1341,10 @@
    const height = viewer?.camera?.positionCartographic?.height
    const stage = getStageByHeight(height)
    updateStageDisplay(stage)
    await loadCommandPosts()
    renderDeviceEntities(props.allDevices)
    loadPartitions()
    loadAggregation()
    loadCommandPosts()
    renderSimulatedDroneTrack(props.alarmDrones)
    initDeviceClickHandler()
}
applications/drone-command/src/views/dataCockpit/components/SceneDeployment.vue
@@ -59,6 +59,8 @@
                    </div>
                    <div class="row">
                        <span class="label">有效时间</span>
                    </div>
                    <div class="row">
                        <span class="value">{{ formatTimeRange(item.effectiveDateStart, item.effectiveDateEnd) }}</span>
                    </div>
                </div>
@@ -290,7 +292,6 @@
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        font-family: Source Han Sans CN, Source Han Sans CN;
        font-weight: 400;
@@ -301,15 +302,27 @@
        text-transform: none;
        .row {
            margin-top: 10px;
            line-height: 22px;
            .label {
                margin-right: 10px;
                color: #D4D5D7;
            }
            &:first-child {
                margin-top: 0;
            }
            &:last-child {
                margin-top: 0;
            }
        }
        .rows {
            margin-top: 10px;
            display: flex;
            .col {