src/views/supervisoryConsole/data.vue
@@ -320,6 +320,7 @@ methods: { drawPie() { var that = this; debugger; var myChart = this.$echarts.init( document.getElementById("base_information_pie_echarts") ); @@ -332,6 +333,12 @@ itemStyle: { color: "#29c194" }, }, { value: that.yj, legendname: "预警", name: "预警", itemStyle: { color: "#F34A4A" }, }, { value: that.gz, legendname: "故障", name: "故障",