From 0175cda6150656bc74b34c6f6c71edd1e1fc653c Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期四, 04 二月 2021 18:22:54 +0800
Subject: [PATCH] treee, 修复tab切换时树的选中状态.添加区域

---
 src/api/shuohuang.ts |   26 +++++++++++++++++++-------
 1 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts
index 8c60ae4..ac54af1 100644
--- a/src/api/shuohuang.ts
+++ b/src/api/shuohuang.ts
@@ -126,10 +126,22 @@
     data
   })
 
-export const uploadFile = (data:any) =>{
-  request({
-    url:'/data/api-c/user/uploadFile',
-    method:'post',
-    data
-  })
-}
+export const getTransferRecord = (query:any) => request({
+  url:'/data/api-c/saverecord/getlst',
+  method: 'get',
+  params: query
+})
+
+export const getTransferStatusList = () => request({
+  url:'/data/api-c/saverecord/getStatusList',
+  method: 'get'
+})
+export const addDevice = (data:any)=>request({
+  url:'/data/api-c/device/add',
+  method: 'post',
+  data
+})
+export const getDeviceList = ()=>request({
+  url:'/data/api-c/device/getlst',
+  method: 'get'
+})
\ No newline at end of file

--
Gitblit v1.8.0