@@ -155,7 +155,7 @@
.null-img{
display: block;
width:200px;
- margin:70px auto;
+ margin:70px auto 0;
}
.bottom-max-big-box::-webkit-scrollbar {
@@ -204,6 +204,14 @@
echartsBox.setOption(option);
},
+ beforeDestroy() {
+ //清除定时器
+ window.clearInterval(this.eChartsTimer);
+ },
+ destroyed() {
+ }
</script>
<style scoped lang="scss">
@@ -98,6 +98,14 @@
});
@@ -35,8 +35,7 @@
// checkType:'troubleDistributionComponents', //后续列表未对接 暂时注销
//eCharts定时器
- eChartsTimerLeft:null,
- eChartsTimerRight:null,
+ eChartsTimer:null,
//选择器组件传参
propsOption:[
{label:'全校',value:'11'},
@@ -336,11 +335,11 @@
beforeDestroy() {
//清除定时器
- window.clearInterval(this.eChartsTimerLeft);
destroyed() {
- window.clearInterval(this.eChartsTimerRight);
@@ -63,7 +63,6 @@ import {
},1000*30);
getData(){
- console.log('111')
reportReportBigDataDangerSort({type:this.buttonType}).then( response => {
let deptSortName = [];
let notRectifyNum = [];