Browse Source

(*)城市安全告警信息展示优化

master
peng.peng 1 year ago
parent
commit
3081f781e1
  1. 9
      super-screen/client/src/sections/community-safty/components/city-safty.js

9
super-screen/client/src/sections/community-safty/components/city-safty.js

@ -21,7 +21,14 @@ function CitySafty(props) {
<div className='alarm_title1'>{moment(s.createTime).format('YYYY-MM-DD HH:mm:ss')}</div>
<div className='alarm_title2' style={{ color: handled ? '#FFF' : '#24DCF7' }}>{handled ? '已处理' : '处理中'}</div>
</div>
<div className='alarm_text'>{s?.location}</div>
<div className='alarm_text'>
<div>
<Tooltip title={s?.location}>
<div className='alarm_title1'>事件地点: {s?.location?.length > 20 ? s?.location.substring(0, 20) + '...' : s?.location}</div>
</Tooltip>
</div>
<div className='alarm_title1'>警情类型: {s?.type}</div>
</div>
</div>
</div>
})}

Loading…
Cancel
Save