提交 ec97946f 编写于 作者: J jialinsun

modify js code

上级 415ffde5
......@@ -112,8 +112,8 @@ public class AlertReportService extends AbstractReportService<AlertReport> {
AlertReport alertReport = merger.getAlertReport();
alertReport.setStartTime(start);
alertReport.setEndTime(end);
alertReport.setEndTime(new Date(end.getTime() - 1));
return alertReport;
}
......
......@@ -50,7 +50,6 @@
}else{
e.preventDefault();
}
//var cell = document.getElementById('');
$.ajax({
type: "get",
url: anchor.href,
......@@ -64,7 +63,7 @@
});
});
</script>
<div>
<div class="row-fluid">
<div class="span2">
......
......@@ -6,10 +6,11 @@
$(document).ready(function() {
var source = new Array();
source = "${model.exceptionList}".replace('[','').replace(']','').split(',');
source = "${model.exceptionList}".replace(/[\[\]]/g,'').split(', ');
if(document.getElementById("jqxcombobox")) {
$("#jqxcombobox").jqxComboBox({ source: source, selectedIndex: 0, width: '200px', height: '25px' });
}
});
</script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册