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 }}
- 往年同期隐患比例分布图
-