From 6fd01caea5136f8bb13c0692ecad4c705e148d7c Mon Sep 17 00:00:00 2001
From: fanluyan <754122931@qq.com>
Date: Tue, 25 Jul 2023 11:53:13 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E8=A3=85=E7=BD=AE=E6=95=B0?=
=?UTF-8?q?=E9=87=8F=E7=BB=9F=E8=AE=A1=EF=BC=8Cexcle?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/utils/api/index.js | 18 ++
src/views/stritl/index copy.vue | 502 --------------------------------
src/views/stritl/index.vue | 113 +++----
3 files changed, 54 insertions(+), 579 deletions(-)
delete mode 100644 src/views/stritl/index copy.vue
diff --git a/src/utils/api/index.js b/src/utils/api/index.js
index 6357008..b70088e 100644
--- a/src/utils/api/index.js
+++ b/src/utils/api/index.js
@@ -774,3 +774,21 @@ export function getTerminalListExcel() {
responseType: "blob",
});
}
+
+//首页查看数据
+
+export function getOnlineTerminalList(data) {
+ return request({
+ url: "/api/getOnlineTerminalList",
+ method: "get",
+ params: data,
+ });
+}
+//导出数据
+export function getOnlineTerminalListExcel() {
+ return request({
+ url: "/api/getOnlineTerminalListExcel",
+ method: "post",
+ responseType: "blob",
+ });
+}
diff --git a/src/views/stritl/index copy.vue b/src/views/stritl/index copy.vue
deleted file mode 100644
index e95bac0..0000000
--- a/src/views/stritl/index copy.vue
+++ /dev/null
@@ -1,502 +0,0 @@
-
-
- 在运数
- {{ infoData.deviceCount }}
-
- 在线数
- {{ infoData.hasPhotoCount }}
-
- 杆塔覆盖率
- {{ infoData.deviceCoverage }}%
-
- 在线率
- {{ infoData.hasPhotoRate }}%
- 注意:{{ patrolOpinions.month }}
- {{ patrolOpinions.info1 }}
- {{ patrolOpinions.info2 }}
- {{ numberUnits.name }}
- {{ hazardClass.name }}
- {{ monitLine.name }}
- {{ hazardType.name }}
- {{ deviceInfo.name }}
- {{ deviceOnline.name }}
- 线路分布(总计:5)
- {{ patrolOpinions.name }}
- 往年同期隐患比例分布图
-