From 82541a55189fc3e611391ba5ff4342dbe57598dd Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期三, 22 十一月 2023 14:39:55 +0800
Subject: [PATCH] 1.用import异常图标 2.修改飞行巡检的时间格式 3.修改了部分网络请求为api函数形式

---
 src/api/exceptionApi.js |   24 ++++++++++++++++++++----
 1 files changed, 20 insertions(+), 4 deletions(-)

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

--
Gitblit v1.9.3