From 0dbf19e9f92f5cb1d5ca9a06fd268d3b16e466e3 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期三, 07 十二月 2022 15:22:01 +0800
Subject: [PATCH] 完善断流监控,集群和设备详情的查询

---
 src/api/report.ts |   64 +++++++++++++++++++++++++++++++
 1 files changed, 63 insertions(+), 1 deletions(-)

diff --git a/src/api/report.ts b/src/api/report.ts
index 4d1424a..6f7fd07 100644
--- a/src/api/report.ts
+++ b/src/api/report.ts
@@ -65,7 +65,7 @@
 
 /**
  * 
- * 鏁版嵁鎺ㄩ�� 璁惧淇℃伅缁存姢
+ * 鏁版嵁涓婁紶 璁惧淇℃伅缁存姢
 鏌ヨ璁惧
  */
 export const getDevicesList = (query: any) => {
@@ -104,3 +104,65 @@
     params: query
   })
 }
+/**
+ * 
+ * 鐐逛綅淇℃伅缁存姢
+鏌ヨ
+ */
+export const camerasList = (query: any) => {
+  return request({
+    url: "/api-a/v1/cameras/list",
+    method: "get",
+    params: query
+  })
+}
+//娣诲姞鐐逛綅
+export const camerasCreate = (query: any) => {
+  return request({
+    url: "/api-a/v1/cameras/create",
+    method: "post",
+    data: query
+  })
+}
+// 缂栬緫
+export const camerasUpdate = (query: any) => {
+  return request({
+    url: "/api-a/v1/cameras/update",
+    method: "post",
+    data: query
+  })
+}
+//鍒犻櫎
+export const camerasDelete = (query: any) => {
+  return request({
+    url: "/api-a/v1/cameras/delete",
+    method: "get",
+    params: query
+  })
+}
+// 鎬诲紑鍏崇殑鏀瑰彉
+export const camerasSwitch = (query: any) => {
+  return request({
+    url: "/api-a/v1/cameras/switch",
+    method: "get",
+    params: query
+  })
+}
+// 鎬诲紑鍏崇殑鐘舵��
+export const camerasConfig = () => {
+  return request({
+    url: "/api-a/v1/cameras/config",
+    method: "get"
+  })
+}
+/**
+ *
+ * 鎶ヨ鎺ㄩ�佹棩蹇�
+ */
+export const camerasReportLog = (query: any) => {
+  return request({
+    url: "/api-a/v1/cameras/reportLog",
+    method: "get",
+    params: query
+  })
+}

--
Gitblit v1.8.0