From feaf0a9778879ef211c5587a513ba4cbdabb52d0 Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期四, 23 六月 2022 17:42:58 +0800
Subject: [PATCH] bug修复
---
src/api/shuohuang.ts | 27 +++++++++++++++++++++++----
1 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts
index 3e689e5..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) =>
@@ -189,4 +196,16 @@
url: '/data/api-c/event/getEventVideo',
method: 'get',
params: query
-})
\ No newline at end of file
+})
+
+export const downloadFile = () => request({
+ url: '/data/api-c/user/downloadExcel',
+ method: 'get',
+ responseType: "blob"
+})
+
+export const getHiddenEventStatistics = (query: any) => request({
+ url: '/data/api-c/index/getHiddenEventStatistics',
+ method: 'get',
+ params: query
+})
--
Gitblit v1.8.0