From 82732610befafe88ae9512c9ac37e6a4bcf291c7 Mon Sep 17 00:00:00 2001
From: XingChuan <m17600301067@163.com>
Date: 星期日, 30 五月 2021 22:59:44 +0800
Subject: [PATCH] 废气小时数据、日数据、人工数据接口替换;增加点位id、检测项id查询;无数据提示;UI优化。

---
 src/components/base-page/WasteWater/WasteWaterIndex.vue |   38 +++++++++++++++++++++++---------------
 1 files changed, 23 insertions(+), 15 deletions(-)

diff --git a/src/components/base-page/WasteWater/WasteWaterIndex.vue b/src/components/base-page/WasteWater/WasteWaterIndex.vue
index 2d775ab..38dc2a7 100644
--- a/src/components/base-page/WasteWater/WasteWaterIndex.vue
+++ b/src/components/base-page/WasteWater/WasteWaterIndex.vue
@@ -25,12 +25,12 @@
             <i style=" background: #fc1d04;"></i>
           </div>
         </div>
-        <component :is="currentTab" ref="RealData"></component>
+        <component :is="currentTab" :OnlineMonEmissPointId="OnlineMonEmissPointId" :LabMonPointId='LabMonPointId' ref="RealData"></component>
       </div>
     </template>
-    <template v-slot:video>
+<!--    <template v-slot:video>
       <public-video></public-video>
-    </template>
+    </template>-->
   </public-sector>
 </template>
 
@@ -47,7 +47,17 @@
 
 export default {
   name: 'WasteWaterIndex',
-  props: ['storagePlaceId'],
+  props: {
+    storagePlaceId: {
+      type: Object
+    },
+    OnlineMonEmissPointId: {
+      type: Number
+    },
+    LabMonPointId: {
+      type: Number
+    }
+  },
   components: {
     PublicSector,
     PublicTabs,
@@ -84,26 +94,26 @@
   display: flex;
   align-items: center;
   justify-content: space-between;
-  padding: 5px 0;
+  padding-left: 0.07rem;
   border-bottom: 1px #243a55 solid;
-
   .navigation-left {
     display: flex;
     align-items: center;
 
     .uncheck {
-      margin: 0 10px;
       cursor: pointer;
-      padding: 5px;
+      margin-left: -0.05rem;
+      width: .8rem;
+      padding: 6px 0;
       /*border: 1px solid #2b87c8;*/
       /*border-radius: 4px;*/
+      background-position: 0 0;
+      background-repeat: no-repeat;
+      background-size: 100% 100%;
+      background-image: url("../../../../public/assets/images/map-pages/title_bg.png");
       text-align: center;
       vertical-align: middle !important;
       color: #fff;
-      -webkit-transform: skew(30deg);
-      -moz-transform: skew(30deg);
-      -o-transform: skew(30deg);
-      transform: skew(15deg);
     }
 
     .default-uncheck {
@@ -113,14 +123,13 @@
     }
 
     .hover {
-      background-color: #0e539e;
+      background-image: url("../../../../public/assets/images/map-pages/title_bg2.png");
       color: #ffffff;
       cursor: pointer;
     }
 
     .hover:hover {
       cursor: pointer;
-      padding: 5px;
       border-radius: 4px;
       text-align: center;
       color: #F0FFFF;
@@ -128,7 +137,6 @@
   }
 
   .navigation-left :hover {
-    background-color: #0e639e;
     color: #fff;
     cursor: pointer;
   }

--
Gitblit v1.8.0