完善首页以及告警界面
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user