南昌市物联网技防平台-前端
liuyg
2021-04-09 431519589994d49464afb1199eac4efad555befa
Merge branch 'master' of http://192.168.0.105:10010/r/jfpt-Vue
1 files modified
20 ■■■■■ changed files
src/views/supervisoryConsole/data.vue 20 ●●●●● patch | view | raw | blame | history
src/views/supervisoryConsole/data.vue
@@ -312,6 +312,16 @@
        ],
      };
      myChart.setOption(option);
      myChart.on('click', function (params) {
        if (params.name == "正常"){
          //跳转在线设备
          that.StartEquipment({dxtype:1});
        }else {
          //跳转离线设备
          that.StartEquipment({dxtype:0});
        }
      });
    },
    drawLine(result) {
@@ -471,7 +481,15 @@
      };
      myChart.setOption(option);
    },
    //在线设备分页数据
    StartEquipment(data) {
      this.$router.push({
        path: `/clientManagement/index`,
        query: data,
      });
    },
  },
};
</script>
@@ -733,4 +751,4 @@
    border-bottom: 0px !important;
  }
}
</style>
</style>