From e7ce285475a1355eeaeaba1855e3cd615eafa13b Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期五, 24 十一月 2023 11:49:19 +0800
Subject: [PATCH] 1.修改了统计异常类型聚集度的具体异常个数的逻辑

---
 src/api/exceptionApi.js |   34 +++++++++++++++++++++++++++-------
 1 files changed, 27 insertions(+), 7 deletions(-)

diff --git a/src/api/exceptionApi.js b/src/api/exceptionApi.js
index 2ef532e..18133e5 100644
--- a/src/api/exceptionApi.js
+++ b/src/api/exceptionApi.js
@@ -8,15 +8,17 @@
    * @param {*} endTime
    * @returns
    */
-  analysisdata(siteName, beginTime, endTime) {
+  analysisdata(siteName, beginTime, endTime,type) {
     return $http.get('/dust/analysisdata', {
       params: {
         siteName: siteName,
         beginTime: beginTime,
-        endTime: endTime
+        endTime: endTime,
+        type:type
       }
     })
   },
+
   // 鏍规嵁鏈堜唤鍜岀被鍨嬫煡鎵惧垎鏋愭暟鎹�
   analysisdataByType(month,type) {
     return $http.get('/dust/analysisdataByType', {
@@ -26,6 +28,7 @@
       }
     })
   },
+
   // 鏍规嵁鏃舵鍜岀被鍨嬫煡鎵惧垎鏋愭暟鎹�
   analysisdataByTimeAndType(beginTime,endTime,type) {
     return $http.get('/dust/analysisdataByTimeAndType', {
@@ -36,6 +39,12 @@
       }
     })
   },
+
+
+
+
+
+
 
   /**
    *
@@ -58,10 +67,11 @@
   },
 
   
-
-
-
-
+/**
+ * 鑾峰彇鎵�鏈夌殑鐐逛綅鍚嶇О鍜屽搴旂殑璁惧缂栧彿
+ * @param锛� 
+ * @returns锛�
+ */
   getSitesNum() {
     return $http.get('/dust/sitename')
   },
@@ -77,5 +87,15 @@
       params.exceptionType = temp
     }
     return $http.get('/dust/exceptionsSiteName', { params: params })
-  }
+  },
+
+  /**
+   * 鏌ヨ涓嶅悓鐨勫紓甯哥被鍨�
+   * @param锛� 
+   * @returns锛�
+   */
+  queryExceptionType(){
+    return $http.get('/dust/exceptiontype')
+  },
+
 }

--
Gitblit v1.9.3