From 61eb5a39f95962d021e8170e83286fdc790d1567 Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期三, 09 十月 2024 15:55:09 +0800
Subject: [PATCH] 案件信息

---
 static/layers.json                          |  236 +++++++++++++++++++++++++++++++++++++++
 src/components/menu/tools/special.vue       |   74 ++---------
 static/SmartEarthSDK/Workers/image/案件信息.png |    0 
 3 files changed, 253 insertions(+), 57 deletions(-)

diff --git a/src/components/menu/tools/special.vue b/src/components/menu/tools/special.vue
index eaf4ef6..c981328 100644
--- a/src/components/menu/tools/special.vue
+++ b/src/components/menu/tools/special.vue
@@ -2,52 +2,28 @@
   <div class="special" id="special">
     <div class="specialTools">
       <div class="specialTool" @click="tdglHandle">
-        <el-tooltip
-          class="item"
-          effect="dark"
-          content="鍦熷湴绠$悊"
-          placement="top-start"
-          popper-class="item_tooltip"
-        >
+        <el-tooltip class="item" effect="dark" content="鍦熷湴绠$悊" placement="top-start" popper-class="item_tooltip">
           <el-button>
             <img src="@/assets/img/left/ztfx/tdgl.png" />
           </el-button>
         </el-tooltip>
       </div>
       <div class="specialTool" @click="stdsj">
-        <el-tooltip
-          class="item"
-          effect="dark"
-          content="瑙嗗浘澶ф暟鎹钩鍙�"
-          placement="top-start"
-          popper-class="item_tooltip"
-        >
+        <el-tooltip class="item" effect="dark" content="瑙嗗浘澶ф暟鎹钩鍙�" placement="top-start" popper-class="item_tooltip">
           <el-button>
             <img src="@/assets/img/left/ztfx/dashuju.png" />
           </el-button>
         </el-tooltip>
       </div>
       <div class="specialTool" @click="spjkHandle">
-        <el-tooltip
-          class="item"
-          effect="dark"
-          content="瑙嗛鐩戞帶"
-          placement="top-start"
-          popper-class="item_tooltip"
-        >
+        <el-tooltip class="item" effect="dark" content="瑙嗛鐩戞帶" placement="top-start" popper-class="item_tooltip">
           <el-button>
             <img src="@/assets/img/left/ztfx/spjk.png" />
           </el-button>
         </el-tooltip>
       </div>
       <div class="specialTool" @click="jjHandle">
-        <el-tooltip
-          class="item"
-          effect="dark"
-          content="琛楁櫙"
-          placement="top-start"
-          popper-class="item_tooltip"
-        >
+        <el-tooltip class="item" effect="dark" content="琛楁櫙" placement="top-start" popper-class="item_tooltip">
           <el-button>
             <img src="@/assets/img/left/ztfx/jiejing.png" />
           </el-button>
@@ -55,26 +31,14 @@
       </div>
 
       <div class="specialTool" @click="qytj">
-        <el-tooltip
-          class="item"
-          effect="dark"
-          content="鏁版嵁姹囪仛"
-          placement="top-start"
-          popper-class="item_tooltip"
-        >
+        <el-tooltip class="item" effect="dark" content="鏁版嵁姹囪仛" placement="top-start" popper-class="item_tooltip">
           <el-button>
             <img src="@/assets/img/left/ztfx/yqfk.png" />
           </el-button>
         </el-tooltip>
       </div>
       <div class="specialTool" @click="rangeQuery()">
-        <el-tooltip
-          class="item"
-          effect="dark"
-          content="鑼冨洿鏌ヨ"
-          placement="top-start"
-          popper-class="item_tooltip"
-        >
+        <el-tooltip class="item" effect="dark" content="鑼冨洿鏌ヨ" placement="top-start" popper-class="item_tooltip">
           <el-button>
             <img src="@/assets/img/left/ztfx/sjxq.png" />
           </el-button>
@@ -378,7 +342,7 @@
     ...mapState(["viewer1Show", "yqfk", "cesiumInit"]),
     ...mapState(["viewer1Show", "yqfk", "qyEchartsShow"])
   },
-  mounted() {},
+  mounted() { },
   watch: {
     cesiumInit: {
       handler(newVal, oldVal) {
@@ -453,7 +417,7 @@
               sgworld.drawObj &&
                 (sgworld.drawObj.drawHandler &&
                   sgworld.drawObj.drawHandler.destroy(),
-                sgworld.drawObj.end && sgworld.drawObj.end());
+                  sgworld.drawObj.end && sgworld.drawObj.end());
 
               let props = pick.id.properties;
               let screenHeight =
@@ -532,7 +496,7 @@
           {},
           "0",
           true,
-          function() {}
+          function () { }
         );
         window.panoramaHandler = new Cesium.ScreenSpaceEventHandler(
           Viewer.scene.canvas
@@ -558,7 +522,7 @@
       } else {
         try {
           window.panoramaLayer.deleteObject();
-        } catch (e) {}
+        } catch (e) { }
         window.panoramaHandler.destroy();
         window.panoramaHandler = undefined;
       }
@@ -662,7 +626,6 @@
                 Longtitude,
                 ...userData
               } = obj;
-
               // 鍒ゆ柇灞曠ず鐨勭被鍨�
               if (
                 userData.hasOwnProperty("閮ㄤ欢鍚嶇О") ||
@@ -682,9 +645,7 @@
                 // 灞曠ずLayerField鏁版嵁
                 for (let item in LayerField) {
                   let value = LayerField[item];
-                  value &&
-                    (tooltipHTML += `<p>${item}锛�${value ||
-                      "鏃�"}</p>`);
+                  value && (tooltipHTML += `<p>${item}锛�${value || "鏃�"}</p>`);
                 }
               } else if (
                 userData.hasOwnProperty("褰撲簨浜哄悕绉�") ||
@@ -713,13 +674,12 @@
                   // console.log(tooltipHTML);
                 }
               } else {
-                // 鐩存帴灞曠ず
-                for (let itemName in newOBJ) {
+                for (let itemName in userData) {
+                  let CnName = itemName;
                   let value = userData[itemName];
-                  let CnName = keyName[itemName] || itemName;
                   value &&
-                    (tooltipHTML += `<p>${CnName}锛�${value || "鏃�"}</p>`);
-                  // console.log(tooltipHTML);
+                    (tooltipHTML += `<p style="margin-top:7px;">${CnName}锛�${value ||
+                      "鏃�"}</p>`);
                 }
               }
 
@@ -1036,7 +996,7 @@
           offset: "r",
           skin: "other-class",
           content: SmartEarthRootUrl + "Workers/path/Path.html",
-          end: function() {
+          end: function () {
             PathAnimationData.fly && PathAnimationData.fly.exit();
           }
         });
@@ -1078,7 +1038,7 @@
               "http://10.10.4.116:8086/getCamerasInfoHls?cameraIndexCode=" +
               item[i].cameraIndexCode,
             // url: "http://10.10.4.116:8086/getCamerasInfoHls?cameraIndexCode=49ee9fed701444738112e80a4835122c",
-            success: function(result) {
+            success: function (result) {
               video = sgworld.Creator.Video3D({
                 cameraPosition: position, //鐩告満瀹夎浣嶇疆
                 heading: item[i].heading, //64
diff --git "a/static/SmartEarthSDK/Workers/image/\346\241\210\344\273\266\344\277\241\346\201\257.png" "b/static/SmartEarthSDK/Workers/image/\346\241\210\344\273\266\344\277\241\346\201\257.png"
new file mode 100644
index 0000000..6b0b089
--- /dev/null
+++ "b/static/SmartEarthSDK/Workers/image/\346\241\210\344\273\266\344\277\241\346\201\257.png"
Binary files differ
diff --git a/static/layers.json b/static/layers.json
index d39f2c6..56877d0 100644
--- a/static/layers.json
+++ b/static/layers.json
@@ -25,6 +25,242 @@
             "expanded": false
         },
         {
+            "id": "CD402B51",
+            "name": "缁煎悎鎵ф硶灞�",
+            "children": [
+                {
+                    "id": "jianguanduixinag",
+                    "name": "鐩戠瀵硅薄鍒嗗竷",
+                    "disabled": false,
+                    "children": [
+                        {
+                            "id": "xxdj-you",
+                            "name": "浼佷笟淇$敤绛夌骇-浼�",
+                            "sourceType": "wfs",
+                            "alpha": 1,
+                            "class": "point",
+                            "urls": "http://10.10.4.121:8070/gisserver/wfsserver/qiyexinyongdengji",
+                            "layer": "淇$敤绛夌骇-浼�",
+                            "color": "#ffffff",
+                            "outlineColor": "#ffffff",
+                            "clampToGround": true,
+                            "classificationType": 2,
+                            "image": "./static/SmartEarthSDK/Workers/image/妗堜欢淇℃伅.png",
+                            "minimumLevel": 13,
+                            "maximumLevel": 22,
+                            "font": "Arial",
+                            "scale": 2,
+                            "outlineWidth": 1,
+                            "offsetX": 0,
+                            "offsetY": 0,
+                            "imageScale": 1,
+                            "disableDepthTestDistance": "Infinity",
+                            "checked": false,
+                            "rename": false
+                        },
+                        {
+                            "id": "xxdj-liang",
+                            "name": "浼佷笟淇$敤绛夌骇-鑹�",
+                            "sourceType": "wfs",
+                            "alpha": 1,
+                            "class": "point",
+                            "urls": "http://10.10.4.121:8070/gisserver/wfsserver/qiyexinyongdengji",
+                            "layer": "淇$敤绛夌骇-鑹�",
+                            "color": "#ffffff",
+                            "outlineColor": "#ffffff",
+                            "clampToGround": true,
+                            "classificationType": 2,
+                            "image": "./static/SmartEarthSDK/Workers/image/妗堜欢淇℃伅.png",
+                            "minimumLevel": 13,
+                            "maximumLevel": 22,
+                            "font": "Arial",
+                            "scale": 2,
+                            "outlineWidth": 1,
+                            "offsetX": 0,
+                            "offsetY": 0,
+                            "imageScale": 1,
+                            "disableDepthTestDistance": "Infinity",
+                            "checked": false,
+                            "rename": false
+                        },
+                        {
+                            "id": "xxdj-zhong",
+                            "name": "浼佷笟淇$敤绛夌骇-涓�",
+                            "sourceType": "wfs",
+                            "alpha": 1,
+                            "class": "point",
+                            "urls": "http://10.10.4.121:8070/gisserver/wfsserver/qiyexinyongdengji",
+                            "layer": "淇$敤绛夌骇-涓�",
+                            "color": "#ffffff",
+                            "outlineColor": "#ffffff",
+                            "clampToGround": true,
+                            "classificationType": 2,
+                            "image": "./static/SmartEarthSDK/Workers/image/妗堜欢淇℃伅.png",
+                            "minimumLevel": 13,
+                            "maximumLevel": 22,
+                            "font": "Arial",
+                            "scale": 2,
+                            "outlineWidth": 1,
+                            "offsetX": 0,
+                            "offsetY": 0,
+                            "imageScale": 1,
+                            "disableDepthTestDistance": "Infinity",
+                            "checked": false,
+                            "rename": false
+                        },
+                        {
+                            "id": "xxdj-cha",
+                            "name": "浼佷笟淇$敤绛夌骇-宸�",
+                            "sourceType": "wfs",
+                            "alpha": 1,
+                            "class": "point",
+                            "urls": "http://10.10.4.121:8070/gisserver/wfsserver/qiyexinyongdengji",
+                            "layer": "淇$敤绛夌骇-宸�",
+                            "color": "#ffffff",
+                            "outlineColor": "#ffffff",
+                            "clampToGround": true,
+                            "classificationType": 2,
+                            "image": "./static/SmartEarthSDK/Workers/image/妗堜欢淇℃伅.png",
+                            "minimumLevel": 13,
+                            "maximumLevel": 22,
+                            "font": "Arial",
+                            "scale": 2,
+                            "outlineWidth": 1,
+                            "offsetX": 0,
+                            "offsetY": 0,
+                            "imageScale": 1,
+                            "disableDepthTestDistance": "Infinity",
+                            "checked": false,
+                            "rename": false
+                        }
+                    ],
+                    "rename": false,
+                    "expanded": false
+                },
+                {
+                    "id": "xingzhengzhifa",
+                    "name": "琛屾斂鎵ф硶鍒嗗竷",
+                    "disabled": false,
+                    "children": [
+                        {
+                            "id": "ajxx",
+                            "name": "妗堜欢淇℃伅",
+                            "sourceType": "wfs",
+                            "alpha": 1,
+                            "class": "point",
+                            "urls": "http://10.10.4.121:8070/gisserver/wfsserver/anjianxinxi",
+                            "layer": "妗堜欢绠$悊淇℃伅",
+                            "color": "#ffffff",
+                            "outlineColor": "#ffffff",
+                            "clampToGround": true,
+                            "classificationType": 2,
+                            "image": "./static/SmartEarthSDK/Workers/image/妗堜欢淇℃伅.png",
+                            "minimumLevel": 13,
+                            "maximumLevel": 22,
+                            "font": "Arial",
+                            "scale": 2,
+                            "outlineWidth": 1,
+                            "offsetX": 0,
+                            "offsetY": 0,
+                            "imageScale": 1,
+                            "disableDepthTestDistance": "Infinity",
+                            "checked": false,
+                            "rename": false
+                        }
+                    ],
+                    "rename": false,
+                    "expanded": false
+                },
+                {
+                    "id": "gaoweifengxian",
+                    "name": "楂樺嵄椋庨櫓鍒嗗竷",
+                    "disabled": false,
+                    "children": [
+                        {
+                            "id": "gaofxqy",
+                            "name": "楂橀闄╀紒涓�",
+                            "sourceType": "wfs",
+                            "alpha": 1,
+                            "class": "point",
+                            "urls": "http://10.10.4.121:8070/gisserver/wfsserver/fengxianqiye",
+                            "layer": "楂橀闄╀紒涓�",
+                            "color": "#ffffff",
+                            "outlineColor": "#ffffff",
+                            "clampToGround": true,
+                            "classificationType": 2,
+                            "image": "./static/SmartEarthSDK/Workers/image/妗堜欢淇℃伅.png",
+                            "minimumLevel": 13,
+                            "maximumLevel": 22,
+                            "font": "Arial",
+                            "scale": 2,
+                            "outlineWidth": 1,
+                            "offsetX": 0,
+                            "offsetY": 0,
+                            "imageScale": 1,
+                            "disableDepthTestDistance": "Infinity",
+                            "checked": false,
+                            "rename": false
+                        },
+                        {
+                            "id": "zhongfxqy",
+                            "name": "涓闄╀紒涓�",
+                            "sourceType": "wfs",
+                            "alpha": 1,
+                            "class": "point",
+                            "urls": "http://10.10.4.121:8070/gisserver/wfsserver/fengxianqiye",
+                            "layer": "涓闄╀紒涓�",
+                            "color": "#ffffff",
+                            "outlineColor": "#ffffff",
+                            "clampToGround": true,
+                            "classificationType": 2,
+                            "image": "./static/SmartEarthSDK/Workers/image/妗堜欢淇℃伅.png",
+                            "minimumLevel": 13,
+                            "maximumLevel": 22,
+                            "font": "Arial",
+                            "scale": 2,
+                            "outlineWidth": 1,
+                            "offsetX": 0,
+                            "offsetY": 0,
+                            "imageScale": 1,
+                            "disableDepthTestDistance": "Infinity",
+                            "checked": false,
+                            "rename": false
+                        },
+                        {
+                            "id": "difxqy",
+                            "name": "浣庨闄╀紒涓�",
+                            "sourceType": "wfs",
+                            "alpha": 1,
+                            "class": "point",
+                            "urls": "http://10.10.4.121:8070/gisserver/wfsserver/fengxianqiye",
+                            "layer": "浣庨闄╀紒涓�",
+                            "color": "#ffffff",
+                            "outlineColor": "#ffffff",
+                            "clampToGround": true,
+                            "classificationType": 2,
+                            "image": "./static/SmartEarthSDK/Workers/image/妗堜欢淇℃伅.png",
+                            "minimumLevel": 13,
+                            "maximumLevel": 22,
+                            "font": "Arial",
+                            "scale": 2,
+                            "outlineWidth": 1,
+                            "offsetX": 0,
+                            "offsetY": 0,
+                            "imageScale": 1,
+                            "disableDepthTestDistance": "Infinity",
+                            "checked": false,
+                            "rename": false
+                        }
+                    ],
+                    "rename": false,
+                    "expanded": false
+                }
+            ],
+            "rename": false,
+            "checked": false,
+            "expanded": false
+        },
+        {
             "id": "482040AD",
             "name": "瀹d紶鏂囧寲閮�",
             "children": [

--
Gitblit v1.9.3