From f3acb8ce787f3df0eda633031473be4e6a9ff448 Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期四, 12 十月 2023 16:56:28 +0800
Subject: [PATCH] 油烟 更新了实时监控页面

---
 src/views/HistoryFume.vue |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/src/views/HistoryFume.vue b/src/views/HistoryFume.vue
index 58bf326..ec814a2 100644
--- a/src/views/HistoryFume.vue
+++ b/src/views/HistoryFume.vue
@@ -5,7 +5,6 @@
 import axiosInstanceInstance from '../utils/request.js'
 import TimeSelect from '../sfc/TimeSelect.vue';
 
-// import ShopNameAndID from '../sfc/TimeSelect.vue';
 
 const ShopNameAndID = defineAsyncComponent(() =>
   import('../sfc/../sfc/ShopNameAndID.vue')
@@ -163,7 +162,6 @@
             }
           ]
         }
-        console.log('option涓猴細',this.options);
       }
       else if (this.radio == 2) {
          // x杞存棩鏈熸椂闂�
@@ -201,7 +199,6 @@
          
         ]
         }
-        console.log('option涓猴細',this.options);
       }
       else {
         // x杞存棩鏈熸椂闂�
@@ -245,11 +242,8 @@
         ]
         }
       }
-      console.log('option涓猴細',this.options);
       }
-      else{
-        console.log('exceedingData鏃犳暟鎹�');
-      }
+   
       
     
   },
@@ -266,7 +260,6 @@
     this.exportBeginTime =this.beginTime
     this.exportEndTime = this.endTime
 
-    console.log(this.currentDateTime, this.oneWeekAgoDateTime);
 
     let params = {};
     params['devId'] = 'qinshi_31010320210010';
@@ -289,9 +282,6 @@
         this.total = this.exceedingData.length;
         // 榛樿鏄剧ず绗竴椤�
         this.handleCurrentChange(1);
-        // this.drawChart();
-        this.loading = false;
-        console.log('鍘嗗彶鏁版嵁涓猴細', this.exceedingData);
       })
   
   },
@@ -370,7 +360,6 @@
 
     axiosInstanceInstance.get('/fume/export', { params: params }).then((result) => {
       this.exportData = result.data.data;
-      console.log(this.exportData);
     });
   },
   exportExcel() {
@@ -434,7 +423,6 @@
     const year2 = date2.getFullYear();
     const month2 = date2.getMonth();
     const day2 = date2.getDate();
-    console.log(month1, month2);
 
     // 鍒ゆ柇涓や釜鏃ユ湡鏄惁鐩稿樊涓�涓湀
     if (year1 === year2) {
@@ -682,4 +670,8 @@
 .el-table {
   color: #000000;
 }
+.chart-container {
+  height: 60vh;
+  width:80vw
+}
 </style>

--
Gitblit v1.9.3