|
|
|
@ -10,6 +10,7 @@
|
|
|
|
|
<script src="../../js/echarts.js"></script>
|
|
|
|
|
<script src="../../js/scrollTable.js"></script>
|
|
|
|
|
<script src="../../js/tableAnimation.js"></script>
|
|
|
|
|
<script src="../../board/monitoring.js"></script>
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
let pageSize = 10
|
|
|
|
@ -101,10 +102,10 @@
|
|
|
|
|
const Modal1Search = () => {
|
|
|
|
|
let params = {}
|
|
|
|
|
if ($('#startTime1').val()) {
|
|
|
|
|
params.beginTime = $.common.dateFormat(new Date($('#startTime1').val()), 'yyyy-MM-dd HH-mm-ss');
|
|
|
|
|
params.beginTime = dateFormat(new Date($('#startTime1').val()), 'yyyy-MM-dd hh-mm-ss');
|
|
|
|
|
}
|
|
|
|
|
if ($('#endTime1').val()) {
|
|
|
|
|
params.endTime = $.common.dateFormat(new Date($('#endTime1').val()), 'yyyy-MM-dd HH-mm-ss');
|
|
|
|
|
params.endTime = dateFormat(new Date($('#endTime1').val()), 'yyyy-MM-dd hh-mm-ss');
|
|
|
|
|
}
|
|
|
|
|
params.timeInterval = $('#timeInterval1').val();
|
|
|
|
|
$.get(ctx + 'broad/home/queryParamListA', params, (e) => {
|
|
|
|
@ -209,7 +210,7 @@
|
|
|
|
|
</li>
|
|
|
|
|
<li onclick="pageClick(this,${num1}})">
|
|
|
|
|
<a aria-label="Previous" href="#">
|
|
|
|
|
<span aria-hidden="true">首页</span>
|
|
|
|
|
<span aria-hidden="true">尾页</span>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
`)
|
|
|
|
@ -220,13 +221,14 @@
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
const Modal2Search = async () => {
|
|
|
|
|
console.log( $.common)
|
|
|
|
|
let params = {}
|
|
|
|
|
params.timeInterval = $('#timeInterval').val();
|
|
|
|
|
if ($('#startTime2').val()) {
|
|
|
|
|
params.beginTime = $.common.dateFormat(new Date($('#startTime2').val()), 'yyyy-MM-dd HH-mm-ss');
|
|
|
|
|
params.beginTime = dateFormat(new Date($('#startTime2').val()), 'yyyy-MM-dd hh-mm-ss');
|
|
|
|
|
}
|
|
|
|
|
if ($('#endTime2').val()) {
|
|
|
|
|
params.endTime = $.common.dateFormat(new Date($('#endTime2').val()), 'yyyy-MM-dd HH-mm-ss');
|
|
|
|
|
params.endTime = dateFormat(new Date($('#endTime2').val()), 'yyyy-MM-dd hh-mm-ss');
|
|
|
|
|
}
|
|
|
|
|
await Modal2SearchReq(params)
|
|
|
|
|
$($(".page")[0]).addClass('active')
|
|
|
|
@ -240,10 +242,10 @@
|
|
|
|
|
let params = {}
|
|
|
|
|
params.timeInterval = $('#timeInterval').val();
|
|
|
|
|
if ($('#startTime2').val()) {
|
|
|
|
|
params.beginTime = $.common.dateFormat(new Date($('#startTime2').val()), 'yyyy-MM-dd HH-mm-ss');
|
|
|
|
|
params.beginTime = dateFormat(new Date($('#startTime2').val()), 'yyyy-MM-dd hh-mm-ss');
|
|
|
|
|
}
|
|
|
|
|
if ($('#endTime2').val()) {
|
|
|
|
|
params.endTime = $.common.dateFormat(new Date($('#endTime2').val()), 'yyyy-MM-dd HH-mm-ss');
|
|
|
|
|
params.endTime = dateFormat(new Date($('#endTime2').val()), 'yyyy-MM-dd hh-mm-ss');
|
|
|
|
|
}
|
|
|
|
|
Modal2SearchReq(params)
|
|
|
|
|
}
|
|
|
|
@ -256,10 +258,10 @@
|
|
|
|
|
let params = {}
|
|
|
|
|
params.timeInterval = $('#timeInterval').val();
|
|
|
|
|
if ($('#startTime2').val()) {
|
|
|
|
|
params.beginTime = $.common.dateFormat(new Date($('#startTime2').val()), 'yyyy-MM-dd HH-mm-ss');
|
|
|
|
|
params.beginTime = dateFormat(new Date($('#startTime2').val()), 'yyyy-MM-dd hh-mm-ss');
|
|
|
|
|
}
|
|
|
|
|
if ($('#endTime2').val()) {
|
|
|
|
|
params.endTime = $.common.dateFormat(new Date($('#endTime2').val()), 'yyyy-MM-dd HH-mm-ss');
|
|
|
|
|
params.endTime = dateFormat(new Date($('#endTime2').val()), 'yyyy-MM-dd hh-mm-ss');
|
|
|
|
|
}
|
|
|
|
|
Modal2SearchReq(params)
|
|
|
|
|
}
|
|
|
|
@ -271,10 +273,10 @@
|
|
|
|
|
let params = {}
|
|
|
|
|
params.timeInterval = $('#timeInterval').val();
|
|
|
|
|
if ($('#startTime2').val()) {
|
|
|
|
|
params.beginTime = $.common.dateFormat(new Date($('#startTime2').val()), 'yyyy-MM-dd HH-mm-ss');
|
|
|
|
|
params.beginTime = dateFormat(new Date($('#startTime2').val()), 'yyyy-MM-dd hh-mm-ss');
|
|
|
|
|
}
|
|
|
|
|
if ($('#endTime2').val()) {
|
|
|
|
|
params.endTime = $.common.dateFormat(new Date($('#endTime2').val()), 'yyyy-MM-dd HH-mm-ss');
|
|
|
|
|
params.endTime = dateFormat(new Date($('#endTime2').val()), 'yyyy-MM-dd hh-mm-ss');
|
|
|
|
|
}
|
|
|
|
|
Modal2SearchReq(params)
|
|
|
|
|
}
|
|
|
|
@ -294,10 +296,10 @@
|
|
|
|
|
|
|
|
|
|
params.timeInterval = $('#timeInterval').val();
|
|
|
|
|
if ($('#startTime2').val()) {
|
|
|
|
|
params.beginTime = $.common.dateFormat(new Date($('#startTime2').val()), 'yyyy-MM-dd HH-mm-ss');
|
|
|
|
|
params.beginTime = dateFormat(new Date($('#startTime2').val()), 'yyyy-MM-dd hh-mm-ss');
|
|
|
|
|
}
|
|
|
|
|
if ($('#endTime2').val()) {
|
|
|
|
|
params.endTime = $.common.dateFormat(new Date($('#endTime2').val()), 'yyyy-MM-dd HH-mm-ss');
|
|
|
|
|
params.endTime = dateFormat(new Date($('#endTime2').val()), 'yyyy-MM-dd hh-mm-ss');
|
|
|
|
|
}
|
|
|
|
|
if ($('#name').val()) {
|
|
|
|
|
params.name = $('#name').val()
|
|
|
|
|