|
|
@ -16,6 +16,7 @@ $(() => {
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let request = () =>{
|
|
|
|
$.get(ctx + 'broad/home/queryParam', {name}, (e) => {
|
|
|
|
$.get(ctx + 'broad/home/queryParam', {name}, (e) => {
|
|
|
|
|
|
|
|
|
|
|
|
let enumArr = {
|
|
|
|
let enumArr = {
|
|
|
@ -41,7 +42,7 @@ $(() => {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
arr.forEach(val => {
|
|
|
|
arr.forEach(val => {
|
|
|
|
let html = `
|
|
|
|
let html = `
|
|
|
|
<div class="centerInfo" style="top: ${val.top};left:${val.left}">
|
|
|
|
<div class="centerInfo" style="top: ${val.top};left:${val.left};z-index:2000">
|
|
|
|
<div class="win" style="display: none">
|
|
|
|
<div class="win" style="display: none">
|
|
|
|
<div class="title">${val.name}</div>
|
|
|
|
<div class="title">${val.name}</div>
|
|
|
|
<div class="span1">${val.data1}: ${val.num1 || 0}${val.unit1}</div>
|
|
|
|
<div class="span1">${val.data1}: ${val.num1 || 0}${val.unit1}</div>
|
|
|
@ -88,6 +89,12 @@ $(() => {
|
|
|
|
$("#statusD").html(html)
|
|
|
|
$("#statusD").html(html)
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
request()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setInterval(() => {
|
|
|
|
|
|
|
|
request()
|
|
|
|
|
|
|
|
}, 1000 * 60)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
let chart = null
|
|
|
|
let chart = null
|
|
|
|