haoxuan
2023-09-01 1e1e5f612f252d66b0d0386cf52873bb1f3f7d7b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import request from "@/scripts/httpRequest";
 
// 检索页面数据列表
export const getSearchList = (query: any) => {
  return request({
    url: "/data/api-v/es/esSearch",
    method: "post",
    data: query
  });
};
 
// 以图搜图
export const findPersonByPic = (query: any) => {
  return request({
    url: "/data/api-v/dbperson/searchByPhoto",
    method: "post",
    data: query
  });
};
 
// 检索页面标签查询
export const getTagList = (query: any) => {
  return request({
    url: "/data/api-v/es/tagList",
    method: "post",
    data: query
  });
};
 
// 检索页面任务列表查询
export const getTaskList = (query: any) => {
  return request({
    url: "/data/api-v/task/aggregateTaskList",
    method: "get",
    params: query
  });
};
 
// 字典查询(布防等级)
export const getAlarmLevel = (query: any) => {
  return request({
    url: "/data/api-v/dictionary/findByType",
    method: "get",
    data: query
  });
};
 
// 
export const findPerson = (query: any) => {
  return request({
    url: "/data/api-v/es/queryEsCompareData",
    method: "post",
    data: query
  });
};
// 加入底库
export const addToBase = (query: any) => {
  return request({
    url: "/data/api-v/dbperson/joinDbTable",
    method: "post",
    data: query
  });
};