南昌市物联网技防平台-前端
liuyg
2021-05-09 6582b5dd37e5779cc2eead7337e4b2cd7319a36d
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: "故障",