+
+
-
{{ deviceInfo.name }}
-
- 详情
-
-
- 数据
-
+
{{ deviceInfo.devicename }}
+
+
+
+ 详情
+
+
+ 数据
+
+
-
- {{ deviceInfo.statusText }}
+
+
+ {{ getStatusText(deviceInfo.devicestatus) }}
+
设备ID:
- {{ deviceInfo.id }}
+ {{ deviceInfo.devicecode }}
类型:
- {{ deviceInfo.type }}
+ {{ getDeviceTypeName(deviceInfo.devicetype) }}
位置:
- {{ deviceInfo.address }}
+ {{ deviceInfo.location }}
+
+
+
启用
+
停用
+
设置
+
-
diff --git a/src/views/devices/index.vue b/src/views/devices/index.vue
index e830a3d4..439e7082 100644
--- a/src/views/devices/index.vue
+++ b/src/views/devices/index.vue
@@ -10,7 +10,7 @@
>
+
+
@@ -82,60 +89,38 @@
@@ -185,4 +183,10 @@ onMounted(() => {
gap: 20px;
padding: 20px;
}
+
+.pagination-container {
+ display: flex;
+ justify-content: center;
+ margin-top: 20px;
+}