From e01cac63860c20450a6b9d8dd3a937dafdcc1d3b Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期四, 24 六月 2021 15:09:10 +0800 Subject: [PATCH] 切换路况视频左侧高亮的bug --- src/api/shuohuang.ts | 69 ++++++++++++++++++++++++++++------ 1 files changed, 56 insertions(+), 13 deletions(-) diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts index ac54af1..accdfee 100644 --- a/src/api/shuohuang.ts +++ b/src/api/shuohuang.ts @@ -36,6 +36,12 @@ method: 'get', params: query }) +export const getCarVideos = (query: any) => + request({ + url: '/data/api-c/lkg/getCarVideos', + method: 'get', + params: query + }) export const getLabelMap = () => request({ url: '/data/api-c/lkg/getCode', @@ -89,9 +95,9 @@ method: 'get', params: query }) -export const getVideoListByTrainNumber = (query: any) => +export const getVideoListBySearch = (query: any) => request({ - url: '/data/api-c/lkg/getlstB', + url: '/data/api-c/lkg/getlstBySearch', method: 'get', params: query }) @@ -103,7 +109,7 @@ }) export const getTaskList = (query: any) => request({ - url: '/data/api-c/lkg/getlstB', + url: '/data/api-c/lkg/getTaskList', method: 'get', params: query }) @@ -119,29 +125,66 @@ method: 'post', data }) -export const uploadDirectory = (data:any) => +export const uploadDirectory = (data: any) => request({ - url:'/data/api-c/user/uploadMulti', - method:'post', + url: '/data/api-c/user/uploadMulti', + method: 'post', data }) -export const getTransferRecord = (query:any) => request({ - url:'/data/api-c/saverecord/getlst', +export const getTransferRecord = (query: any) => request({ + url: '/data/api-c/saverecord/getlst', method: 'get', params: query }) export const getTransferStatusList = () => request({ - url:'/data/api-c/saverecord/getStatusList', + url: '/data/api-c/saverecord/getStatusList', method: 'get' }) -export const addDevice = (data:any)=>request({ - url:'/data/api-c/device/add', +export const addDevice = (data: any) => request({ + url: '/data/api-c/device/add', method: 'post', data }) -export const getDeviceList = ()=>request({ - url:'/data/api-c/device/getlst', +export const getDeviceList = () => request({ + url: '/data/api-c/device/getlst', method: 'get' +}) +export const getDeviceInfoById = (query: any) => request({ + url: '/data/api-c/slot/getlst', + method: 'get', + params: query +}) + +export const uploadLKG = (data: any) => + request({ + url: '/data/api-c/lkg/uploadLKGExcel', + method: 'post', + data + }) + +export const getLKGData = () => + request({ + url: '/data/api-c/lkg/getLKGData', + method: 'get', + }) + +export const delLKGData = (query: any) => + request({ + url: '/data/api-c/lkg/delLKGData', + method: 'get', + params: query + }) + +export const getEventVideo = (query: any) => request({ + url: '/data/api-c/event/getEventClip', + method: 'get', + params: query +}) + +export const getVideoUrl = (query: any) => request({ + url: '/data/api-c/event/getEventVideo', + method: 'get', + params: query }) \ No newline at end of file -- Gitblit v1.8.0