南昌市物联网技防平台-前端
liuyg
2021-05-07 27da7b76d81f97e84ebdded5f62023151989ab11
src/views/supervisoryConsole/data.vue
@@ -257,7 +257,7 @@
  getList,
  getEquipmentList,
  getDayWarnList,
  getEquipment,
  getEquipments,
} from "@/api/supervisory/data";
export default {
@@ -292,7 +292,7 @@
      that.drawPillar(res.data.data);
    });
    getEquipment().then((res) => {
    getEquipments().then((res) => {
      console.log(res.data.data, 123);
      var total = 0;
@@ -300,6 +300,7 @@
      total += res.data.data.zx;
      total += res.data.data.dx;
      total += res.data.data.gz;
      total += res.data.data.yj;
      console.log(total, 45);
@@ -350,6 +351,8 @@
        sum += item.value;
      });
      sum +=that.yj;
      var option = {
        title: [
          {