ZZJ
2022-04-29 5ee0d36e051d591f930ba93ba660e45f10710c3f
src/api/search.ts
@@ -3,7 +3,7 @@
// 检索页面数据列表
export const getSearchList = (query: any) => {
  return request({
    url: "/data/api-v/es/esSearch",
    url: "/saas/api-s/es/search",
    method: "post",
    data: query
  });
@@ -21,7 +21,7 @@
// 检索页面标签查询
export const getTagList = (query: any) => {
  return request({
    url: "/data/api-v/es/tagList",
    url: "/saas/api-s/es/tagList",
    method: "post",
    data: query
  });
@@ -30,25 +30,27 @@
// 检索页面任务列表查询
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: "/saas/api-s/dictionary/findByType",
    method: "get",
    url: "/saas/api-s/es/aggTaskList",
    method: "post",
    data: query
  });
};
// 获取标签字典
// param:type
export const getAlarmLevel = (query: any) => {
  return request({
    url: '/saas/api-s/dictionary/findByType',
    method: "get",
    params: query
  })
}
// 
export const findPerson = (query: any) => {
  return request({
    url: "/data/api-v/es/queryEsCompareData",
    url: "/saas/api-s/es/queryEsCompareData",
    method: "post",
    data: query
  });