王通 hace 2 años
padre
commit
479673d359
Se han modificado 1 ficheros con 6 adiciones y 2 borrados
  1. 6 2
      src/views/monitor.vue

+ 6 - 2
src/views/monitor.vue

@@ -81,7 +81,7 @@
       <!--<supermap ref="supermap" style="width: 100%;height: 100vh;" :mapDiv="'forestMap'" class="indexSupermapClass"-->
       <!--:mapSite="{doubleClickZoom:false}" :codes="['9fa5']" :isSideBySide="false" @preview="preview">-->
       <!--</supermap>-->
-      <supermap ref="supermap" @preview="preview">
+      <supermap ref="supermap" @preview="preview"@jump="jump">
       </supermap>
       <!-- 右侧 -->
       <div class="rightbar" :class="indentright" ref="right">
@@ -454,7 +454,7 @@
                   lat: 43.02,
                   icon: "marker",
                   bindPopupHtml: "",
-                  click: "",
+                  click: "jump",
                   parameter: "",
                   keepBindPopup: false,
                   isAggregation: false,
@@ -481,6 +481,10 @@
             console.error(error);
           });
       },
+      jump()
+      {// 跳转大喇叭页面
+        window.open("https://sts.sty1818.com");
+      },
       getDlblistBydeptIds(index) {
         let that = this;
         let markersList = [];