From 171558c783772979546d5c0285809165c273fc0e Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期四, 04 二月 2021 14:36:10 +0800
Subject: [PATCH] 添加giant tree 组件. 基于ztree
---
src/api/camera.ts | 27 ++++++++++++++++++++++++++-
1 files changed, 26 insertions(+), 1 deletions(-)
diff --git a/src/api/camera.ts b/src/api/camera.ts
index 4705f56..e830ecf 100644
--- a/src/api/camera.ts
+++ b/src/api/camera.ts
@@ -189,4 +189,29 @@
method: 'post',
data
})
-}
\ No newline at end of file
+}
+
+//淇濆瓨鎽勫儚鏈哄垎缁�
+export const saveCameraGroupInfo = (data:any) => {
+ return request({
+ url: '/data/api-v/camera/group/save',
+ method: 'post',
+ data
+ })
+}
+
+//鏌ヨ鎽勫儚鏈哄垎缁勪俊鎭�
+export const findCameraGroups = () => {
+ return request({
+ url: '/data/api-v/camera/group/findAll',
+ method: 'get'
+ })
+}
+
+export const delCameraGroup = (groupId:string)=>{
+ return request({
+ url:'/data/api-v/camera/group/del?groupId='+groupId,
+ method: 'post'
+ })
+}
+
--
Gitblit v1.8.0