Commit feb2a28e9e1a89de59a704c74f828ab1ee9118bb

Authored by xp.Huang
2 parents 81d79e11 a8658d6a

Merge branch 'ft' into 'main_dev'

perf: DEFECT-1503 优化告警记录里面,告警级别筛选条件和场景联动告警级别条件需一致

See merge request yunteng/thingskit-front!814
@@ -335,7 +335,7 @@ export const childDeviceColumns: BasicColumn[] = [ @@ -335,7 +335,7 @@ export const childDeviceColumns: BasicColumn[] = [
335 335
336 export const alarmLevel = (type: string): string => { 336 export const alarmLevel = (type: string): string => {
337 if (type === 'CRITICAL') { 337 if (type === 'CRITICAL') {
338 - return '紧急'; 338 + return '危险';
339 } else if (type === 'MAJOR') { 339 } else if (type === 'MAJOR') {
340 return '重要'; 340 return '重要';
341 } else if (type === 'MINOR') { 341 } else if (type === 'MINOR') {