From fa7044f3ccc9a91bc2bc117d1a06f650d86554f2 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期二, 15 六月 2021 16:07:16 +0800 Subject: [PATCH] 优化联动规则加载场景列表的操作 --- src/api/shuohuang.ts | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts index ac54af1..592f571 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 }) @@ -144,4 +150,14 @@ 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 getEventVideo = (query:any) => request({ + url:'/data/api-c/lkg/getEventClip', + method: 'get', + params: query }) \ No newline at end of file -- Gitblit v1.8.0