From e4c5bd13edea4cf6a1b0f4e825902344b5cb599e Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期三, 08 二月 2023 10:17:54 +0800
Subject: [PATCH] 元数据添加版本选项

---
 src/views/Synthesis/LeftMenu.vue |   68 ++++++++++++++++++---------------
 1 files changed, 37 insertions(+), 31 deletions(-)

diff --git a/src/views/Synthesis/LeftMenu.vue b/src/views/Synthesis/LeftMenu.vue
index d02c0ee..a3c61b4 100644
--- a/src/views/Synthesis/LeftMenu.vue
+++ b/src/views/Synthesis/LeftMenu.vue
@@ -7,13 +7,21 @@
       :class="{ lefMenuDivActive: showTwoMenuFlag == item.id }"
       :key="index"
     >
-      <div class="menuTwoImage" :class="item.css"></div>
+      <div
+        class="menuTwoImage"
+        :class="item.css"
+      ></div>
       <div>{{ $t(item.label) }}</div>
     </div>
     <mapinfo ref="mapinfo" />
     <maplayer ref="maplayer" />
     <queryinfo ref="queryinfo" />
-    <input type="file" accept=".kml" class="file" style="display: none" />
+    <input
+      type="file"
+      accept=".kml"
+      class="file"
+      style="display: none"
+    />
   </div>
 </template>
 
@@ -400,27 +408,27 @@
     setPlot(res) {
       switch (res) {
         case "h1":
-          sgworld.Creator.createSimpleGraphic("point", {}, function (entity) {})
+          sgworld.Creator.createSimpleGraphic("point", {}, function (entity) { })
           break
         case "h2":
           sgworld.Creator.createSimpleGraphic(
             "polyline",
             {},
-            function (entity) {}
+            function (entity) { }
           )
           break
         case "h3":
           sgworld.Creator.createSimpleGraphic(
             "rectangle",
             {},
-            function (entity) {}
+            function (entity) { }
           )
           break
         case "h4":
           sgworld.Creator.createSimpleGraphic(
             "polygon",
             {},
-            function (entity) {}
+            function (entity) { }
           )
           break
         case "h5":
@@ -434,7 +442,7 @@
 
           break
         case "h8":
-          sgworld.Creator.createSimpleGraphic("label", {}, function (entity) {})
+          sgworld.Creator.createSimpleGraphic("label", {}, function (entity) { })
           break
       }
     },
@@ -539,18 +547,18 @@
         url,
         name,
         "height=" +
-          iHeight +
-          ",,innerHeight=" +
-          iHeight +
-          ",width=" +
-          iWidth +
-          ",innerWidth=" +
-          iWidth +
-          ",top=" +
-          iTop +
-          ",left=" +
-          iLeft +
-          ",toolbar=no,menubar=no,scrollbars=auto,resizeable=no,location=no,status=no"
+        iHeight +
+        ",,innerHeight=" +
+        iHeight +
+        ",width=" +
+        iWidth +
+        ",innerWidth=" +
+        iWidth +
+        ",top=" +
+        iTop +
+        ",left=" +
+        iLeft +
+        ",toolbar=no,menubar=no,scrollbars=auto,resizeable=no,location=no,status=no"
       )
     },
 
@@ -629,9 +637,8 @@
             "auto",
             data => {
               if (volumetricMeasurementTool.popupData) {
-                volumetricMeasurementTool.popupData.value = `濉柟锛�${
-                  data.volume.fill.toFixed(4) + data.unit.fill
-                }<br>鎸栨柟锛�${data.volume.dig.toFixed(4) + data.unit.dig}`
+                volumetricMeasurementTool.popupData.value = `濉柟锛�${data.volume.fill.toFixed(4) + data.unit.fill
+                  }<br>鎸栨柟锛�${data.volume.dig.toFixed(4) + data.unit.dig}`
               } else {
                 data.id = window.sgworld.Core.getuid()
                 this.measureData.set(data.id, volumetricMeasurementTool)
@@ -695,9 +702,8 @@
           })
           break
         case "浣撶Н鏂归噺":
-          info = `濉柟锛�${
-            data.volume.fill.toFixed(4) + data.unit.fill
-          }<br>鎸栨柟锛�${data.volume.dig.toFixed(4) + data.unit.dig}`
+          info = `濉柟锛�${data.volume.fill.toFixed(4) + data.unit.fill
+            }<br>鎸栨柟锛�${data.volume.dig.toFixed(4) + data.unit.dig}`
           break
       }
       return (
@@ -786,9 +792,8 @@
             "auto",
             data => {
               if (volumetricMeasurementTool.popupData) {
-                volumetricMeasurementTool.popupData.value = `濉柟锛�${
-                  data.volume.fill.toFixed(4) + data.unit.fill
-                }<br>鎸栨柟锛�${data.volume.dig.toFixed(4) + data.unit.dig}`
+                volumetricMeasurementTool.popupData.value = `濉柟锛�${data.volume.fill.toFixed(4) + data.unit.fill
+                  }<br>鎸栨柟锛�${data.volume.dig.toFixed(4) + data.unit.dig}`
               } else {
                 data.id = sgworld.Core.getuid()
                 this.measureData.set(data.id, volumetricMeasurementTool)
@@ -870,7 +875,7 @@
             window.Excavation = sgworld.Analysis.TerrainExcavation(
               10,
               {},
-              function () {}
+              function () { }
             )
           }
           break
@@ -952,7 +957,7 @@
         GroupID: 0,
         url: "/SmartEarthSDK/Workers/image/waterNormals.jpg",
       }
-      window.AnalysisFlood = sgworld.Command.execute(2, 2, method, value => {})
+      window.AnalysisFlood = sgworld.Command.execute(2, 2, method, value => { })
     },
     addterrainSectionAnalysis() {
       window.AnalysisDXPM = sgworld.Command.execute(
@@ -1158,7 +1163,8 @@
 .menu_Box {
   width: 100%;
   height: 100%;
-
+  background: #303030;
+  color: white;
   margin: 0;
   padding: 0;
   overflow-y: auto;

--
Gitblit v1.9.3