From ccee429d379e0108b7445f72ade8d97c110a6fb3 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期二, 09 十一月 2021 18:01:59 +0800 Subject: [PATCH] 问题修复 --- src/api/shuohuang.ts | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts index 3e689e5..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) => @@ -189,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