南昌市物联网技防平台-前端
zengh
2021-05-07 9a7cc6ee6b4ff98ed3985b2ee1a23043a395d3a6
卡片模式顺序调整
1 files modified
10 ■■■■ changed files
src/views/supervisoryConsole/card.vue 10 ●●●● patch | view | raw | blame | history
src/views/supervisoryConsole/card.vue
@@ -174,12 +174,12 @@
          f = [];
        if (this.radio == "全部") {
          res.data.data.forEach((item) => {
            if (item.dtype == 1) {
            if (item.dtype == 2) {
              f.push(item);
            } else {
              if (item.dtype == 0) a.push(item);
              if (item.dtype == 2) c.push(item);
              if (item.dtype == 3) b.push(item);
              if (item.dtype == 3) a.push(item);
              if (item.dtype == 1) c.push(item);
              if (item.dtype == 0) b.push(item);
            }
          });
        } else if (this.radio == "仅显示预警设备") {
@@ -379,4 +379,4 @@
    }
  }
}
</style>
</style>