From 93a26507f76156fa65aead1515c430688c089e1d Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期一, 22 二月 2021 15:49:01 +0800
Subject: [PATCH] 新版目录树样式调试及状态更新调试;朔黄批量导入列表调试;视频检索页面添加处理参数,添加标注接口添加参数;分页器展示优化,默认检索时间调整;转储设备接口调试

---
 src/api/polygon.ts |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/src/api/polygon.ts b/src/api/polygon.ts
index cfa4bf9..c7d1202 100644
--- a/src/api/polygon.ts
+++ b/src/api/polygon.ts
@@ -23,3 +23,34 @@
     data: params
   });
 };
+
+export const findByCamGroup = (query: any) => {
+  return request({
+    url:'/data/api-v/polygon/findByCamGroup',
+    method: 'get',
+    params: query
+  });
+}
+
+export const saveRelationPolygon = (data: any) => {
+  return request({
+    url: "/data/api-v/polygon/relation/save",
+    method: "post",
+    data
+  });
+}
+
+export const findByGroup = (query:any) =>{
+  return request({
+    url:"/data/api-v/polygon/relation/findByGroup",
+    method: "get",
+    params: query
+  })
+}
+
+export const delRelation = (id:string) => {
+  return request({
+    url: "/data/api-v/polygon/relation/del?id="+id,
+    method: "post"
+  })
+}
\ No newline at end of file

--
Gitblit v1.8.0