From 9a7cc6ee6b4ff98ed3985b2ee1a23043a395d3a6 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Fri, 07 May 2021 16:03:15 +0800
Subject: [PATCH] 卡片模式顺序调整
---
src/views/supervisoryConsole/card.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/supervisoryConsole/card.vue b/src/views/supervisoryConsole/card.vue
index 3339a2b..80d268f 100644
--- a/src/views/supervisoryConsole/card.vue
+++ b/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>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3