Browse Source

批量确认数据告警

dev
巴林闲侠 2 years ago
parent
commit
537ec77cf3
  1. 4
      api/app/lib/controllers/alarm/data.js

4
api/app/lib/controllers/alarm/data.js

@ -172,8 +172,8 @@ async function list (ctx) {
// } else { // } else {
// corConfirmedData = {} // corConfirmedData = {}
// } // }
ar.confirmedContent = corConfirmedData.Content ar.confirmedContent = corConfirmedData.Content || null
ar.confirmedTime = corConfirmedData.Time ar.confirmedTime = corConfirmedData.Time || null
// 告警详情的数量 // 告警详情的数量
ar.detailCount = (alarmDetailCount.find(adc => adc.AlarmId == ar.AlarmId) || { count: 0 }).count ar.detailCount = (alarmDetailCount.find(adc => adc.AlarmId == ar.AlarmId) || { count: 0 }).count

Loading…
Cancel
Save