whychdw
2021-08-03 a82b6eb05820368bd047d7a47fac6797567e99b3
src/pages/boostingTransformer/boostingTransformer.vue
@@ -86,6 +86,7 @@
import getWsUrl from "@/assets/js/getWsUrl";
import * as echarts from 'echarts';
import gridCircuitDiagram from '@/pages/boostingTransformer/js/gridCircuitDiagram'
import diagramStates from '@/pages/boostingTransformer/js/diagramStates'
let diagram;
export default {
    chart: {},
@@ -121,6 +122,7 @@
        
        let self = this;
        diagram = gridCircuitDiagram(this.$refs.static, this.$refs.flush);
        diagramStates(diagram, 'run1');
        self.initEcharts();
        self.openSocket();
    },
@@ -222,6 +224,7 @@
                        bottom: '30'
                    },
                    tooltip: {
                        "trigger":"axis",
                        show: true
                    },
                    xAxis: {
@@ -323,13 +326,13 @@
    padding: 1%;
}
.content_top{
    height: 25%;
    height: 12%;
}
.content_cent{
    height: 40%;
    height: 28%;
}
.content_bottom{
    height: 33%;
    height: 58%;
}
.content_cent{
    margin: 1% 0;