From e6758ef29bd686e894b4679edf1bd88436b84148 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期三, 13 一月 2021 19:07:03 +0800 Subject: [PATCH] 分析检索/人员管理接口联调 --- src/api/shuohuang.ts | 87 ++++++++++++++++++++++++++++++++++++++----- 1 files changed, 77 insertions(+), 10 deletions(-) diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts index c2a5273..b6a83fe 100644 --- a/src/api/shuohuang.ts +++ b/src/api/shuohuang.ts @@ -1,16 +1,83 @@ -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 +}) \ No newline at end of file -- Gitblit v1.8.0