#
luxiaotao1123
2020-11-21 22b0aa5c43d45f0e18f05d372ba927dc4a35bf75
src/main/webapp/views/monitor/js/monitor.js
@@ -7,11 +7,14 @@
var week = '星期一';
setInterval(function () {
    getOther();
    setDate();
    initlineChart();
    initPieChart();
}, 1000);
setInterval(function () {
    getOther();
}, 500);
function setDate() {
    getDate();
@@ -70,6 +73,17 @@
            // crnChartOption.series[3].data[0].value = (Math.random()*2).toFixed(2) - 0;
            crnChart.setOption(crnChartOption);
            // 中下
            if (res.data.isShow) {
                $('#banner').hide();
                $('#led-content').show();
                $('#led-p-content').text(res.data.content);
            } else {
                $('#led-content').hide();
                $('#banner').show();
                $('#led-p-content').text("");
            }
        } else if (res.code === 403){
            parent.location.href = baseUrl+"/login";
        }  else {