Commit 9922fb1eae59f5be5fc5f83e03234ebc99c63ff8
Merge branch 'ft' into 'main_dev'
fix: 修改设备详情里的告警记录告警等级危险改为紧急 See merge request yunteng/thingskit-front!837
Showing
3 changed files
with
3 additions
and
3 deletions
@@ -333,7 +333,7 @@ export const childDeviceColumns: BasicColumn[] = [ | @@ -333,7 +333,7 @@ export const childDeviceColumns: BasicColumn[] = [ | ||
333 | 333 | ||
334 | export const alarmLevel = (type: string): string => { | 334 | export const alarmLevel = (type: string): string => { |
335 | if (type === 'CRITICAL') { | 335 | if (type === 'CRITICAL') { |
336 | - return '危险'; | 336 | + return '紧急'; |
337 | } else if (type === 'MAJOR') { | 337 | } else if (type === 'MAJOR') { |
338 | return '重要'; | 338 | return '重要'; |
339 | } else if (type === 'MINOR') { | 339 | } else if (type === 'MINOR') { |
@@ -72,7 +72,7 @@ export const formSchemas: FormSchema[] = [ | @@ -72,7 +72,7 @@ export const formSchemas: FormSchema[] = [ | ||
72 | }, | 72 | }, |
73 | { | 73 | { |
74 | field: 'eventType', | 74 | field: 'eventType', |
75 | - label: '告警类型', | 75 | + label: '事件类型', |
76 | component: 'ApiSelect', | 76 | component: 'ApiSelect', |
77 | componentProps: { | 77 | componentProps: { |
78 | placeholder: '请选择事件类型', | 78 | placeholder: '请选择事件类型', |
@@ -749,7 +749,7 @@ export const actionSchema: FormSchema[] = [ | @@ -749,7 +749,7 @@ export const actionSchema: FormSchema[] = [ | ||
749 | placeholder: '请选择告警等级', | 749 | placeholder: '请选择告警等级', |
750 | options: [ | 750 | options: [ |
751 | { | 751 | { |
752 | - label: '危险', | 752 | + label: '紧急', |
753 | value: 'CRITICAL', | 753 | value: 'CRITICAL', |
754 | }, | 754 | }, |
755 | { | 755 | { |