Commit e8e790a9 authored by 莫林毅's avatar 莫林毅

监控运营 ->告警监控 告警关联诊断 '新建'&'修改'页面

格式化 '业务'&'指标'栏 数据
parent d4188a14
......@@ -563,6 +563,7 @@
var strcheckBox = "";
for (var i = 0; i < jsonDa.length; i++) {
var strInput = "<input type='checkbox' onClick='BusinessCheckClick()' id=BusinessCheck_" + jsonDa[i].businessId + " name='BusinessCheck' class='provinceDetail' title='" + jsonDa[i].businessName + "' value='" + jsonDa[i].businessId + "'/>" + jsonDa[i].businessName;
if((i !=0)&&((i+1)%6 ===0)){strInput=strInput+'<br>'}
strcheckBox += strInput;
}
$("#businessActivedListTd").append(strcheckBox);
......@@ -614,6 +615,7 @@
var strcheckBox = "";
for (var i = 0; i < jsonDa.length; i++) {
var strInput = "<input type='checkbox' onClick='BusinessCheckClick()' id=BusinessCheck_" + jsonDa[i].businessId + " name='BusinessCheck' class='provinceDetail' title='" + jsonDa[i].businessName + "' value='" + jsonDa[i].businessId + "'/>" + jsonDa[i].businessName;
if((i !=0)&&((i+1)%6 ===0)){strInput=strInput+'<br>'}
strcheckBox += strInput;
}
$("#businessActivedListTd").append(strcheckBox);
......@@ -658,11 +660,14 @@
success: function (data) {
var jsonDa = eval('(' + data + ')');
var colLength=0;
for (var i = 0; i < jsonDa.length; i++) {
if ($.inArray(jsonDa[i].kpiId, dimKpiSelected) < 0) {
var strInput = "<input type='checkbox' id=dimKpiCheck_" + jsonDa[i].kpiId + " name='dimKpiCheck' class='provinceDetail' title='"+jsonDa[i].code + "' value='" + jsonDa[i].kpiId + "'/><font>" + jsonDa[i].name + "</font>";
if((colLength !=0)&&((colLength+1)%5 ===0)){strInput=strInput+'<br>'}
$("#dimKpiListTd").append(strInput);
colLength=colLength+1;
}
}
......
......@@ -549,6 +549,7 @@
success: function (data) {
var jsonDa = eval('(' + data + ')');
var colLength=0;
for (var i = 0; i < jsonDa.length; i++) {
......@@ -559,7 +560,9 @@
continue;
}
var strInput = "<input type='checkbox' id=dimKpiCheck_" + jsonDa[i].kpiId + " name='dimKpiCheck' class='provinceDetail' title='"+jsonDa[i].code+ "' value=" + jsonDa[i].kpiId + "'/><font>" + jsonDa[i].name + "</font>";
if((colLength !=0)&&((colLength+1)%5 ===0)){strInput=strInput+'<br>'}
$("#dimKpiListTd").append(strInput);
colLength=colLength+1;
}
}
});
......@@ -646,6 +649,7 @@
var strcheckBox = "";
for (var i = 0; i < jsonDa.length; i++) {
var strInput = "<input type='checkbox' id=BusinessCheck_" + jsonDa[i].businessId + " name='BusinessCheck' onClick='BusinessCheckClick()' class='provinceDetail' title='" + jsonDa[i].businessName + "' value=" + jsonDa[i].businessId + "'/>" + jsonDa[i].businessName;
if((i !=0)&&((i+1)%6 ===0)){strInput=strInput+'<br>'}
strcheckBox += strInput;
}
$("#businessActivedListTd").append(strcheckBox);
......@@ -698,6 +702,7 @@
var strcheckBox = "";
for (var i = 0; i < jsonDa.length; i++) {
var strInput = "<input type='checkbox' id=BusinessCheck_" + jsonDa[i].businessId + " name='BusinessCheck' onClick='BusinessCheckClick()' class='provinceDetail' title='" + jsonDa[i].businessName + "' value=" + jsonDa[i].businessId + "'/>" + jsonDa[i].businessName;
if((i !=0)&&((i+1)%6 ===0)){strInput=strInput+'<br>'}
strcheckBox += strInput;
}
$("#businessActivedListTd").append(strcheckBox);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment