From 98aec0baaef46392f6bede8f507466fc75eca137 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期四, 23 三月 2023 14:37:57 +0800
Subject: [PATCH] 顶部菜单修改,目录管理批量导入修改

---
 src/components/preview_map.vue |   47 ++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 46 insertions(+), 1 deletions(-)

diff --git a/src/components/preview_map.vue b/src/components/preview_map.vue
index 40c1fc6..cb39621 100644
--- a/src/components/preview_map.vue
+++ b/src/components/preview_map.vue
@@ -186,6 +186,47 @@
 
       </div>
     </el-dialog>
+    <!-- <el-dialog
+      :title=" $t('synthesis.rangequery')"
+      :visible.sync="dialogMapVisible"
+      width="90%"
+      top="10vh"
+      :before-close="handleMapClose"
+    >
+      <div style="height:700px">
+        <map-sdk v-if='showMapVisible'></map-sdk>
+      </div>
+    </el-dialog> -->
+    <el-dialog
+      title="棰勮"
+      :append-to-body="false"
+      :visible.sync="dialog.dialogVisible"
+      width="70%"
+      :close-on-click-modal="false"
+    >
+      <div
+        v-if="dialog.isPdf"
+        class="pdfClass"
+      >
+        <iframe
+          :src="dialog.src"
+          type="application/x-google-chrome-pdf"
+          width="100%"
+          height="100%"
+        >
+        </iframe>
+      </div>
+      <div
+        v-if="dialog.isJpg"
+        class="pdfClass"
+      >
+        <img
+          style="width:100%; height:100%"
+          :src="dialog.src"
+          alt=""
+        />
+      </div>
+    </el-dialog>
   </div>
 </template>
 
@@ -375,7 +416,6 @@
     },
     //闄勪欢鍒楄〃鏌ヨ
     async getAttacthFlieList() {
-      debugger
       var obj = {
         eventid: this.layerID,
         tabName: "lf.sys_style"
@@ -719,5 +759,10 @@
     max-height: 300px;
     overflow: auto;
   }
+  .pdfClass {
+    height: 70vh;
+    width: 100%;
+    position: relative;
+  }
 }
 </style>
\ No newline at end of file

--
Gitblit v1.9.3