| | |
| | | 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 |
| | | }) |