From e4e70f29e0142c4b3bc2ccb59be1e4246104050a Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期四, 13 五月 2021 16:28:56 +0800
Subject: [PATCH] 搜索 企业应急图片修改与图层控制联动。

---
 src/components/panel/RightSearchPanel.vue |   32 +++++++++++++++++++++++---------
 1 files changed, 23 insertions(+), 9 deletions(-)

diff --git a/src/components/panel/RightSearchPanel.vue b/src/components/panel/RightSearchPanel.vue
index 33a4380..3c1ee1e 100644
--- a/src/components/panel/RightSearchPanel.vue
+++ b/src/components/panel/RightSearchPanel.vue
@@ -24,7 +24,7 @@
             </ul>
           </div>
         </div>
-        <div class="right-control" :class="[{ 'unfold': !isCollapse },{ 'shrink': isCollapse }] ">
+        <div class="right-control" :class="[{ 'unfold': !isCollapse },{ 'shrink': isCollapse }] " v-if="gcComp!=''">
           <div class="panel-fold-btn" @click="toggleMonitorPanel">
             <div :class="[isCollapse? 'btn-stretch':'btn-shrink']"></div>
           </div>
@@ -60,6 +60,7 @@
 import SoilGroundWaterSearch from '@components/panel/topicSearch/SoilGroundWaterSearch.vue'
 import PipeChangesSearch from '@components/panel/topicSearch/pipeChangesSearch.vue'
 import PipeInformationSearch from '@components/panel/topicSearch/pipeInformationSearch.vue'
+import ReportSearch from './topicSearch/ReportSearch'
 
 import bus from '@/eventBus'
 
@@ -70,7 +71,8 @@
     WaterWasteSearch,
     SolidWasteSearch,
     EnvRiskSearch,
-    DischargeSearch
+    DischargeSearch,
+    ReportSearch
   },
   data () {
     return {
@@ -84,7 +86,6 @@
       hbVisible: false,
       pkVisible: false,
       toggleMonitorStyle: 'right:0px',
-
       title: '姹¢洦姘寸缃�',
       isCollapse: true,
       selectGroup: false
@@ -153,6 +154,9 @@
         case '绠¢亾淇℃伅':
           this.gcComp = PipeInformationSearch
           break
+        case '浼佷笟搴旀��':
+          this.gcComp = ReportSearch
+          break
       }
     },
     handlePage (page) {
@@ -213,10 +217,15 @@
   mounted () {
     const that = this
     bus.$on('changeSearchBar', function (obj) {
-      // console.log(obj.checked, obj.name)
+      that.gcComp = ''
       that.topicList.forEach((item) => {
         if (item.name === obj.name) {
-          item.isShow = obj.checked
+          if (obj.type > 0) {
+            item.isShow = true
+          } else {
+            item.isShow = false
+          }
+          // item.isShow = obj.checked
           if (item.isShow) {
             that.selected(item)
           } else {
@@ -225,6 +234,7 @@
         }
       })
     })
+  //  console.log(that.topicList)
   }
 }
 </script>
@@ -682,12 +692,16 @@
   }
 
   .footer-page {
-    position: absolute;
+   // position: absolute;
     background-color: transparent !important;
-    bottom: 10px !important;
-    margin-left: 0px;
+  //  bottom: 10px !important;
+   // margin-left: 0px;
     border: none;
-
+    margin: 0;
+    border-top: 1px solid rgba(0, 255, 246, 0.14);
+   .el-card__body{
+     padding: 5px;
+   }
     .warnPagination {
       .btn-quicknext, .btn-quickprev {
         color: #e4e8f1 !important;

--
Gitblit v1.8.0