From ae2d855c89ca722ac7309fdf1aa6ceed370e3b95 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期一, 11 十月 2021 20:22:30 +0800
Subject: [PATCH] 监控ui

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

diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts
index 7fa5d49..9f76c70 100644
--- a/src/api/shuohuang.ts
+++ b/src/api/shuohuang.ts
@@ -127,6 +127,13 @@
     method: 'post',
     data
   })
+
+export const cancelAssign = (data: any) =>
+  request({
+    url: '/data/api-c/lkg/cancelAssign',
+    method: 'post',
+    data
+  })
 export const uploadDirectory = (data: any) =>
   request({
     url: '/data/api-c/user/uploadMulti',
@@ -153,10 +160,10 @@
   url: '/data/api-c/device/getlst',
   method: 'get'
 })
-export const getDeviceInfoById = (query: any) => request({
+export const getDeviceInfo = (data: any) => request({
   url: '/data/api-c/slot/getlst',
-  method: 'get',
-  params: query
+  method: 'post',
+  data: data
 })
 
 export const uploadLKG = (data: any) =>
@@ -192,6 +199,13 @@
 })
 
 export const downloadFile = () => request({
-  url: '/data/api-c/event/getEventVideo',
+  url: '/data/api-c/user/downloadExcel',
   method: 'get',
-})
\ No newline at end of file
+  responseType: "blob"
+})
+
+export const getHiddenEventStatistics = (query: any) => request({
+  url: '/data/api-c/index/getHiddenEventStatistics',
+  method: 'get',
+  params: query
+})

--
Gitblit v1.8.0