完善首页以及告警界面

This commit is contained in:
lai committed 2024-01-26 14:29:44 +08:00
1 parent fa96c33972
commit 62bf6be2f1
11 files changed
+594 -326

No files matched your search

+2 -2
View File
@@ -290,12 +290,12 @@ export async function exportAll(query: Record<string, any>) {
/**
* 首页活动告警
* 展示页全部告警
* @param query 查询参数
* @returns bolb
*/
export async function mainGet() {
let totalSQL = `select count(*) as value,alarm_type as name from alarm where alarm_status=1 group by alarm_type`;
let totalSQL = `select count(*) as value,orig_severity as name from alarm group by orig_severity`;
// 发起请求
const result = await request({