|
|
@@ -127,7 +127,12 @@ function getDataRow(listen, i) {
|
|
|
statusCell.setAttribute("data-toggle", "tooltip");
|
|
|
statusCell.setAttribute("data-placement", "right");
|
|
|
statusCell.setAttribute("title", listen.description);
|
|
|
- statusCell.innerHTML = highLightKeywords(listen.status, "异常", null); //填充数据
|
|
|
+ if ("异常" == listen.status) {
|
|
|
+ statusCell.innerHTML = highLightKeywords(listen.status, listen.status, null); //填充数据
|
|
|
+ } else {
|
|
|
+ statusCell.innerHTML = highLightKeywords(listen.status, "异常", null);
|
|
|
+
|
|
|
+ }
|
|
|
row.appendChild(statusCell);
|
|
|
|
|
|
return row;
|