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 |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/src/api/exceptionApi.js b/src/api/exceptionApi.js
index cfc4c1f..4140a68 100644
--- a/src/api/exceptionApi.js
+++ b/src/api/exceptionApi.js
@@ -63,7 +63,11 @@
   },
 
   
-
+/**
+ * 鑾峰彇鎵�鏈夌殑鐐逛綅鍚嶇О鍜屽搴旂殑璁惧缂栧彿
+ * @param锛� 
+ * @returns锛�
+ */
   getSitesNum() {
     return $http.get('/dust/sitename')
   },
@@ -79,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