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/WasteGas/WasteGasRealChart.vue |   40 ++++++++++++++++++++++++++++++++++------
 1 files changed, 34 insertions(+), 6 deletions(-)

diff --git a/src/components/base-page/WasteGas/WasteGasRealChart.vue b/src/components/base-page/WasteGas/WasteGasRealChart.vue
index d8de3cf..5cb6fc1 100644
--- a/src/components/base-page/WasteGas/WasteGasRealChart.vue
+++ b/src/components/base-page/WasteGas/WasteGasRealChart.vue
@@ -1,5 +1,5 @@
 <template>
-  <div class="echarts-box">
+  <div id="wasteGasRealChartBox" class="echarts-box">
     <div class="tab-scroll">
       <PublicDataStandard :dataStandard="dataStandard"></PublicDataStandard>
     </div>
@@ -9,7 +9,7 @@
       <span class="demonstration">缁撴潫鏃堕棿锛�</span>
       <el-date-picker v-model="formData.endTime" value-format="yyyy-MM-dd HH:mm:ss" type="datetime" size="mini"></el-date-picker>
       <span class="demonstration">閲囨牱鐐规暟锛�</span>
-      <el-select v-model="formData.region" placeholder="璇烽�夋嫨" size="mini">
+      <el-select class="selectBox" v-model="formData.region" placeholder="璇烽�夋嫨" size="mini">
         <el-option v-for="(item,index) in formData.regionList" :key="index" :label="item" :value="item"></el-option>
       </el-select>
       <el-button @click="querySearch">鏌ヨ</el-button>
@@ -497,8 +497,11 @@
           }
         },
         grid: {
-          top: '40px',
-          bottom: '30px'
+          // 涓庣粷瀵瑰畾浣嶇浉浼硷紝top锛宭eft锛宺ight锛宐ottom 璁惧畾鏄牴鎹笂绾х洅瀛愬楂樻潵璁$畻
+          top: '20%',
+          left: '6%',
+          right: '6%',
+          bottom: '12%'
         },
         legend: {
           data: legend
@@ -602,8 +605,8 @@
 }
 </script>
 
-<style scoped lang="less">
-.echarts-box {
+<style lang="less">
+#wasteGasRealChartBox {
   .echarts-form {
     .demonstration {
       color: #00fff6;
@@ -639,4 +642,29 @@
     content: " ";
   }
 }
+#wasteGasRealChartBox .echarts-form .el-input__inner {
+  background-color: rgba(0, 0, 0, 0);
+  height: .13rem;
+  border-color: #336fa4;
+}
+#wasteGasRealChartBox .echarts-form{
+  margin-top: 1px
+}
+#wasteGasRealChartBox .echarts-form .el-input__icon{
+  height: .13rem;
+  top: -.02rem;
+  right: -0.03rem;
+  position: absolute;
+  color: #00d0f9;
+}
+#wasteGasRealChartBox .echarts-form .selectBox .el-input__icon:last-child{
+  top: .02rem;
+}
+#wasteGasRealChartBox .echarts-form .selectBox .is-reverse{
+  top: -.02rem !important;
+}
+#wasteGasRealChartBox .echarts-form .el-button{
+  background-color: rgba(0, 0, 0, 0);
+  height: .13rem;
+}
 </style>

--
Gitblit v1.8.0