| | |
| | | var week = '星期一'; |
| | | |
| | | setInterval(function () { |
| | | getOther(); |
| | | setDate(); |
| | | initlineChart(); |
| | | initPieChart(); |
| | | }, 1000); |
| | | |
| | | setInterval(function () { |
| | | getOther(); |
| | | }, 500); |
| | | |
| | | function setDate() { |
| | | getDate(); |
| | |
| | | // 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 { |