whychdw
2021-08-03 a82b6eb05820368bd047d7a47fac6797567e99b3
src/pages/AFEinverter/afeInverter.vue
@@ -111,7 +111,7 @@
import * as echarts from 'echarts';
// import ContentBox from "@/components/ContentBox";
import gridCircuitDiagram from '@/pages/AFEinverter/js/gridCircuitDiagram'
// import diagramStates from '@/pages/home/topoGraphdiagram/js/diagramStates'
import diagramStates from '@/pages/AFEinverter/js/diagramStates'
let diagram;
export default {
    chart: {},
@@ -150,6 +150,7 @@
    mounted() {
        let self = this;
        diagram = gridCircuitDiagram(this.$refs.static, this.$refs.flush);
        diagramStates(diagram, 'run1');
        self.initEcharts();
        self.openSocket();
        window.addEventListener('resize', () => {
@@ -264,6 +265,7 @@
                        bottom: '30'
                    },
                    tooltip: {
                        "trigger":"axis",
                        show: true
                    },
                    xAxis: {
@@ -379,7 +381,7 @@
    padding: 1%;
}
.content_top{
    height: 22%;
    height: 16%;
}
.content_cent{
    height: 42%;
@@ -387,6 +389,9 @@
.content_cent{
    margin: 1% 0;
}
.content_bottom {
    height: 40%;
}
.title_into{
    padding-left: 1%;
    color: #ffff18;