diff --git a/src/views/sevenLargeScreen/comprehensiveManage/projectOverviewL/index.vue b/src/views/sevenLargeScreen/comprehensiveManage/projectOverviewL/index.vue index ea417dd..253912e 100644 --- a/src/views/sevenLargeScreen/comprehensiveManage/projectOverviewL/index.vue +++ b/src/views/sevenLargeScreen/comprehensiveManage/projectOverviewL/index.vue @@ -211,7 +211,7 @@ const getMachineryStatData = async () => { const res = await getMachineryStat({ projectSn: store.sn }); machineryData.value = res.result; const list = res.result?.devList || []; - if (locationList.value.find(val => val.name == "车辆")?.value) { + if (locationList.value.find(val => val.name == "机械设备")?.value) { list.map(item => { if (item.lat && item.lng) { console.log(item, "----------item--------"); @@ -408,6 +408,7 @@ const initPoint = data => { visibleDepth: false, // 是否遮挡 clampToGround: true // 是否贴地 }, + visibleDepth: false, // 是否遮挡 clampToGround: true } }); @@ -492,8 +493,11 @@ const getMonitorData = async () => { pixelOffsetY: -50, distanceDisplayCondition: true, distanceDisplayCondition_far: 500000, - distanceDisplayCondition_near: 0 + distanceDisplayCondition_near: 0, + visibleDepth: false, // 是否遮挡 + clampToGround: true }, + visibleDepth: false, // 是否遮挡 clampToGround: true } }); @@ -647,7 +651,7 @@ const getGltfModelList = async () => { // // pixelOffsetY: -50, // scaleByDistance: new Cesium.NearFarScalar(100, 1.0, 10000, 0.2), distanceDisplayCondition: true, - distanceDisplayCondition_far: 5000, + distanceDisplayCondition_far: 500000, distanceDisplayCondition_near: 0, clampToGround: false }