From f99fd37cdbaaa4f09e5b7383442ee264fd332232 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期六, 08 五月 2021 10:55:37 +0800
Subject: [PATCH] 新增图层点击弹窗开关

---
 src/components/table/SummarySheet.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/components/table/SummarySheet.vue b/src/components/table/SummarySheet.vue
index bbfaf98..c23dcd5 100644
--- a/src/components/table/SummarySheet.vue
+++ b/src/components/table/SummarySheet.vue
@@ -9,7 +9,6 @@
       <div class="subtopic" v-if="subtopic">
         <el-tooltip :popper-class="'map-tooltip'" effect="dark" content="缁熻琛�" placement="bottom">
           <div :class='["iconBtn",summaryVisible ? "active-button" : ""]' @click="closeBtn('缁熻琛�')">
-            <!--  -->
             <i class="icon iconfont iconbiaoge2"></i>
             <!--<span class="icon-name">缁熻琛�</span>-->
           </div>
@@ -80,14 +79,20 @@
     closeBtn (item) {
       this.$refs.titleProp.refsDatatitle(item)
       this.summaryVisible = !this.summaryVisible
-    },
-    showWarnDialog (item) {
-      this.$refs.titlePropStatics.refsDatatitle(item)
-      this.warnVisible = !this.warnVisible
+      this.warnVisible = false
+      this.companyVisible = false
     },
     showStatisDialog (item) {
       this.$refs.titlePropWarn.refsDatatitle(item)
       this.companyVisible = !this.companyVisible
+      this.summaryVisible = false
+      this.warnVisible = false
+    },
+    showWarnDialog (item) {
+      this.$refs.titlePropStatics.refsDatatitle(item)
+      this.warnVisible = !this.warnVisible
+      this.summaryVisible = false
+      this.companyVisible = false
     },
     subtopicBtn () {
       this.subtopic = !this.subtopic

--
Gitblit v1.8.0