|
|
@ -130,6 +130,7 @@ import * as echarts from 'echarts'
|
|
|
|
import {getData} from "@/api/board/getData";
|
|
|
|
import {getData} from "@/api/board/getData";
|
|
|
|
import {mixData} from "@/api/board/mixData";
|
|
|
|
import {mixData} from "@/api/board/mixData";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let intervalFun = null
|
|
|
|
const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100
|
|
|
|
const vw = (document.documentElement.clientWidth || document.body.clientWidth) / 100
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
@ -2853,6 +2854,25 @@ export default {
|
|
|
|
mixData(val)
|
|
|
|
mixData(val)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
intervalFun = setInterval(() => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(this.nowLine === 1 ){
|
|
|
|
|
|
|
|
this.RequestDataSet.forEach(val => {
|
|
|
|
|
|
|
|
mixData(val)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if(this.nowLine === 2 ){
|
|
|
|
|
|
|
|
this.RequestDataSet1.forEach(val => {
|
|
|
|
|
|
|
|
mixData(val)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if(this.nowLine === 3 ){
|
|
|
|
|
|
|
|
this.RequestDataSet2.forEach(val => {
|
|
|
|
|
|
|
|
mixData(val)
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}, 1000 * 10)
|
|
|
|
let min = Math.ceil(Math.min(...[61, 25, 57, 83, 87, 73, 17, 25, 57, 83, 87, 73],))
|
|
|
|
let min = Math.ceil(Math.min(...[61, 25, 57, 83, 87, 73, 17, 25, 57, 83, 87, 73],))
|
|
|
|
let max = Math.ceil(Math.max(...[61, 25, 57, 83, 87, 73, 17, 25, 57, 83, 87, 73],))
|
|
|
|
let max = Math.ceil(Math.max(...[61, 25, 57, 83, 87, 73, 17, 25, 57, 83, 87, 73],))
|
|
|
|
|
|
|
|
|
|
|
@ -2907,6 +2927,12 @@ export default {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
beforeDestroy() {
|
|
|
|
|
|
|
|
if(intervalFun){
|
|
|
|
|
|
|
|
clearInterval(intervalFun)
|
|
|
|
|
|
|
|
intervalFun = null
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|