From 0ecf7b3bc6d6a008a804d55c859833bf2cf6473a Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期三, 22 十一月 2023 10:06:29 +0800
Subject: [PATCH] 1.增加了有效率异常展示页面 2.风险模型的所属场景和运维商的详细信息,以及1个跳转页面链接 3.飞行巡检页面增加增加地址和运维商的筛选条件 4.飞行巡检页面是最新当日日期时,每类异常右上角增加一个“辅助审核” 5.历史数据管理增加 站点总数

---
 src/api/historyApi.js |   27 +++++++++++++++++++++++++--
 1 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/src/api/historyApi.js b/src/api/historyApi.js
index 30b5bc3..a699d02 100644
--- a/src/api/historyApi.js
+++ b/src/api/historyApi.js
@@ -1,5 +1,28 @@
-import { $http } from './index';
+import { $http } from './index'
 
 export default {
+  // 鏌ヨ鍘嗗彶鏁版嵁 涓嶅垎椤�
+  queryHistoryData({ siteName, mnCode, beginTime, endTime, scenarioType }) {
+    const params = {
+      beginTime: beginTime,
+      endTime: endTime
+    }
+    if (siteName) {
+      params.siteName = siteName
+    }
+    if (mnCode) {
+      params.mnCode = mnCode
+    }
+    if (scenarioType) {
+      params.scenarioType = scenarioType
+    }
+
+    return $http.get('/dust/historyall', {
+      params: params
+    })
+  },
+
   
-};
+
+
+}

--
Gitblit v1.9.3