|
@ -12,7 +12,7 @@ const tableKeyMap = [ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '优先级', |
|
|
title: '优先级', |
|
|
dataIndex: 'priority', |
|
|
dataIndex: 'prioritys', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '告警标题', |
|
|
title: '告警标题', |
|
@ -24,12 +24,11 @@ const tableKeyMap = [ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '重复次数', |
|
|
title: '重复次数', |
|
|
dataIndex: 'repetitions', |
|
|
dataIndex: 'rep', |
|
|
textEllipsis: true, |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '监测时长', |
|
|
title: '监测时长', |
|
|
dataIndex: 'monitorFrequency', |
|
|
dataIndex: 'monitorFrequencys', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '是否启用', |
|
|
title: '是否启用', |
|
@ -99,6 +98,9 @@ export const energyAlarmConfigs = ( |
|
|
name: 'FeedBackDetail', |
|
|
name: 'FeedBackDetail', |
|
|
dynamicParams: ['uuid', 'appealType'], |
|
|
dynamicParams: ['uuid', 'appealType'], |
|
|
handle: (data: any) => { |
|
|
handle: (data: any) => { |
|
|
|
|
|
data.monitorFrequency = data.monitorFrequency.value; |
|
|
|
|
|
data.priority = data.priority.value; |
|
|
|
|
|
data.repetitions = data.repetitions.value; |
|
|
editeEnergyAlarm.value.toggle(data); |
|
|
editeEnergyAlarm.value.toggle(data); |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|