...
|
...
|
@@ -304,27 +304,27 @@ |
|
|
columns: [{
|
|
|
title: "id",
|
|
|
field: "id",
|
|
|
width: "50px"
|
|
|
width: "5%"
|
|
|
}, {
|
|
|
title: "列名",
|
|
|
field: "fields",
|
|
|
width: "150px"
|
|
|
width: "12%"
|
|
|
}, {
|
|
|
title: "数据库",
|
|
|
field: "database",
|
|
|
width: "150px"
|
|
|
width: "10%"
|
|
|
}, {
|
|
|
title: "告警类型",
|
|
|
field: "type",
|
|
|
width: "150px"
|
|
|
width: "8%"
|
|
|
}, {
|
|
|
title: "执行间隔m",
|
|
|
field: "interval",
|
|
|
width: "80px"
|
|
|
width: "5%"
|
|
|
}, {
|
|
|
title: "时间标志",
|
|
|
field: "timeFlag",
|
|
|
width: "80px",
|
|
|
width: "8%",
|
|
|
formatter: function (value, rowData, rowIndex) {
|
|
|
if(rowData.timeFlag == 1){
|
|
|
return "一直监控";
|
...
|
...
|
@@ -336,7 +336,7 @@ |
|
|
}, {
|
|
|
title: "告警方式",
|
|
|
field: "alarmType",
|
|
|
width: "200px",
|
|
|
width: "15%",
|
|
|
formatter: function (value, rowData, rowIndex) {
|
|
|
if(rowData.alarmType == 1){
|
|
|
return "单个influxdb未出现想要的数据则告警";
|
...
|
...
|
@@ -352,7 +352,7 @@ |
|
|
}, {
|
|
|
title: "数量标志",
|
|
|
field: "alarmNumFlag",
|
|
|
width: "80px"
|
|
|
width: "5%"
|
|
|
}, {
|
|
|
title: "监控状态",
|
|
|
field: "isOn",
|
...
|
...
|
@@ -363,11 +363,11 @@ |
|
|
return 'no';
|
|
|
}
|
|
|
},
|
|
|
width: "80px"
|
|
|
width: "5%"
|
|
|
}, {
|
|
|
title: "上次执行",
|
|
|
field: "lastTime",
|
|
|
width: "200px"
|
|
|
width: "15%"
|
|
|
}, {
|
|
|
title: "操作",
|
|
|
formatter: function (value, rowData, rowIndex) {
|
...
|
...
|
|