From b47da15ef38b754aa9ead53279a689ef0ba8e23f Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期五, 29 一月 2021 09:46:59 +0800
Subject: [PATCH] 事件声音列表获取字段由data.list改为data

---
 src/api/shuohuang.ts |  132 ++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 122 insertions(+), 10 deletions(-)

diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts
index c2a5273..a046a30 100644
--- a/src/api/shuohuang.ts
+++ b/src/api/shuohuang.ts
@@ -1,16 +1,128 @@
-import request from "@/scripts/httpRequest";
+import request from '@/scripts/httpRequest'
 
 //鍒濆鍖栨煡璇�
-export const getlstInit = (query:any)=>request({
-    url:'/data/api-c/lkg/findlstA',
-    method:'get',
+export const getlstInit = (query: any) =>
+  request({
+    url: '/data/api-c/lkg/getlstA',
+    method: 'get',
     params: query
-});
-export const getShuohuangDepartTree = ()=>request({
+  })
+export const getlst = (query: any) =>
+  request({
+    url: '/data/api-c/lkg/getlstB',
+    method: 'get',
+    params: query
+  })
+export const getShuohuangDepartTree = () =>
+  request({
     url: '/data/api-c/dept/getlstWithUser',
     method: 'get'
-});
-export const getOrganizeTree = ()=>request({
-    url:'/data/api-c/dept/getlstWithOutUser',
+  })
+export const getOrganizeTree = () =>
+  request({
+    url: '/data/api-c/dept/getlstWithOutUser',
     method: 'get'
-});
+  })
+
+export const updateVideoAnalyze = (data: any) =>
+  request({
+    url: '/data/api-c/lkg/update',
+    method: 'post',
+    data
+  })
+export const getRelatedVideoInfo = (query: any) =>
+  request({
+    url: '/data/api-c/lkg/getRelatedVideo',
+    method: 'get',
+    params: query
+  })
+export const getLabelMap = () =>
+  request({
+    url: '/data/api-c/lkg/getCode',
+    method: 'get'
+  })
+export const delLabel = (data: any) =>
+  request({
+    url: '/data/api-c/lkg/delLable',
+    method: 'post',
+    data
+  })
+export const editLabel = (data: any) =>
+  request({
+    url: '/data/api-c/lkg/addLable',
+    method: 'post',
+    data
+  })
+export const getMemberList = (query: any) =>
+  request({
+    url: '/data/api-c/user/getlst',
+    method: 'get',
+    params: query
+  })
+export const updateUnit = (query: any) =>
+  request({
+    url: '/data/api-c/user/updateUnit',
+    method: 'post',
+    params: query
+  })
+export const addMember = (data: any) =>
+  request({
+    url: '/data/api-c/user/add',
+    method: 'post',
+    data
+  })
+export const updateMemberInfo = (data: any) =>
+  request({
+    url: '/data/api-c/user/update',
+    method: 'post',
+    data
+  })
+export const uploadMemberPic = (data: any) =>
+  request({
+    url: '/data/api-c/user/upload',
+    method: 'post',
+    data
+  })
+export const getMemberByOrg = (query: any) =>
+  request({
+    url: '/data/api-c/user/getUserByDeptID',
+    method: 'get',
+    params: query
+  })
+export const getVideoListByTrainNumber = (query: any) =>
+  request({
+    url: '/data/api-c/lkg/getlstB',
+    method: 'get',
+    params: query
+  })
+export const addToAssignList = (data: any) =>
+  request({
+    url: '/data/api-c/lkg/assignMission',
+    method: 'post',
+    data
+  })
+export const getTaskList = (query: any) =>
+  request({
+    url: '/data/api-c/lkg/getlstB',
+    method: 'get',
+    params: query
+  })
+export const distributeTask = (data: any) =>
+  request({
+    url: '/data/api-c/lkg/assignMissionEnd',
+    method: 'post',
+    data
+  })
+export const cancelMission = (data: any) =>
+  request({
+    url: '/data/api-c/lkg/cancelMission',
+    method: 'post',
+    data
+  })
+export const uploadDirectory = (data:any) =>{
+  request({
+    url:'/data/api-c/user/uploadMulti',
+    method:'post',
+    data
+  })
+}

--
Gitblit v1.8.0