From 9a953e26fc6c3cf3ef61d60df04525bb6e926787 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期二, 06 七月 2021 14:00:25 +0800
Subject: [PATCH] 按条件筛选
---
src/api/shuohuang.ts | 23 +++++++++++++++++++----
1 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts
index 4e284cc..e1929e4 100644
--- a/src/api/shuohuang.ts
+++ b/src/api/shuohuang.ts
@@ -1,4 +1,6 @@
import request from '@/scripts/httpRequest'
+import qs from "qs";
+
//鍒濆鍖栨煡璇�
export const getlstInit = (query: any) =>
@@ -28,7 +30,7 @@
request({
url: '/data/api-c/lkg/updateFollow',
method: 'post',
- data
+ data: qs.stringify(data)
})
export const getRelatedVideoInfo = (query: any) =>
request({
@@ -125,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',
@@ -151,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) =>
@@ -187,4 +196,10 @@
url: '/data/api-c/event/getEventVideo',
method: 'get',
params: query
+})
+
+export const downloadFile = () => request({
+ url: '/data/api-c/user/downloadExcel',
+ method: 'get',
+ responseType:"blob"
})
\ No newline at end of file
--
Gitblit v1.8.0