From 5c86125ac72746d7b2ad46c01700f6d74ca07160 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Mon, 11 Nov 2024 17:53:50 +0800
Subject: [PATCH] 企业详情优化

---
 src/views/layout/components/scomponents/layersControl.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/views/layout/components/scomponents/layersControl.vue b/src/views/layout/components/scomponents/layersControl.vue
index 63a14b6..61b606f 100644
--- a/src/views/layout/components/scomponents/layersControl.vue
+++ b/src/views/layout/components/scomponents/layersControl.vue
@@ -222,7 +222,7 @@
         layerName: 'gsgw',
         source: gsgw,
         color: DC.Color.BLUE,
-        height: 1,
+        height: 5,
       },
       {
         id: '6-2',
@@ -232,7 +232,7 @@
         layerName: 'wsgw',
         source: wsgw,
         color: DC.Color.BLACK,
-        height: 2,
+        height: 10,
       },
       {
         id: '6-3',
@@ -242,7 +242,7 @@
         layerName: 'rqgw',
         source: rqgw,
         color: DC.Color.RED,
-        height: 3,
+        height: 15,
       },
       {
         id: '6-4',
@@ -252,7 +252,7 @@
         layerName: 'ysgw',
         source: ysgw,
         color: DC.Color.CYAN,
-        height: 4,
+        height: 20,
       },
 
     ]
@@ -399,7 +399,7 @@
 
           item.source.features.forEach(i => {
             let polylineVolume = new DC.PolylineVolume(
-              i.geometry.coordinates.map(d => [d[0], d[1], 0.0].join(',')).join(';'),
+              i.geometry.coordinates.map(d => [d[0], d[1], item.height].join(',')).join(';'),
               computeCircle(0.3)
             )
 
@@ -429,9 +429,9 @@
 }
 
 onMounted(() => {
-  // handleCheckChange(data.filter(i => i.id == '1'), {
-  //   checkedKeys: ['1']
-  // })
+  handleCheckChange(data.filter(i => i.id == '1'), {
+    checkedKeys: ['1']
+  })
 })
 
 onUnmounted(() => {

--
Gitblit v1.9.3