Showing
1 changed file
with
1 additions
and
1 deletions
@@ -393,7 +393,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele | @@ -393,7 +393,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele | ||
393 | var resStyle = obj.alarmEleMatchStyle(ar.flag, ar.kpiId); | 393 | var resStyle = obj.alarmEleMatchStyle(ar.flag, ar.kpiId); |
394 | span += ' <span ' + menuId + ' style="text-align:left;width:40%">' + ar.kpiName + '</span>' + | 394 | span += ' <span ' + menuId + ' style="text-align:left;width:40%">' + ar.kpiName + '</span>' + |
395 | '<span title="' + titleStr + '" style="width:60%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;' + resStyle + '">' | 395 | '<span title="' + titleStr + '" style="width:60%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;' + resStyle + '">' |
396 | - + $html + valueStr + '</span>'; | 396 | + + $html + valueStr +(ar.unit?ar.unit:'')+ '</span>'; |
397 | //补充空白区域 | 397 | //补充空白区域 |
398 | if (v.length < cols) { | 398 | if (v.length < cols) { |
399 | var l = cols - v.length; | 399 | var l = cols - v.length; |
-
Please register or login to post a comment