zhitong.yu
8 天以前 378d781e6f35f89652aa36e079a8b7fc44cea77e
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
import { ResPage, User } from "@/api/interface/index";
import http from "@/api";
 
/**
 * @name 告警管理模块
 */
// 获取告警列表信息
export const getWarningList = (params: User.ReqUserParams) => {
  return http.post<ResPage<User.ResUserList>>(`/Warning/FindWarningInfo`, params);
};
 
// 获取未处理告警列表信息
export const FindWarningUntreated = (params: User.ReqUserParams) => {
  return http.post<ResPage<User.ResUserList>>(`/Warning/FindWarningUntreated`, params);
};
 
// 全部处理告警
export const UpAllHandle = () => {
  return http.post(`/Warning/AllHandle`);
};
 
// 处理告警
export const UpHandle = (params: { id: string[] }) => {
  return http.post(`/Warning/Handle`, params);
};
 
// 告警统计分析
export const FindWarningAll = () => {
  return http.post(`/Warning/FindWarningAll`);
};