From b4d2703e653bf702d705b18c20d9edb9066c7c8a Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期三, 03 十一月 2021 17:35:10 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/web/vue-smart-ai
---
src/api/shuohuang.ts | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts
index 7fa5d49..e1929e4 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,7 @@
})
export const downloadFile = () => request({
- url: '/data/api-c/event/getEventVideo',
+ url: '/data/api-c/user/downloadExcel',
method: 'get',
+ responseType:"blob"
})
\ No newline at end of file
--
Gitblit v1.8.0