diff --git a/admin/src/views/device/detail.vue b/admin/src/views/device/detail.vue index 58750321..8f0e0754 100644 --- a/admin/src/views/device/detail.vue +++ b/admin/src/views/device/detail.vue @@ -10,37 +10,39 @@
-
+
所属土地:
-
ID:{{ deviceData.device.land_id }} / 名称:{{ deviceData.device.land_title }}
+
ID:{{ deviceData.device.land_id }} / 名称:{{ + deviceData.device.land_title }}
-
+
所属产品:
-
ID:{{ deviceData.device.product_id }} / 名称:{{ deviceData.device.product_name }}
+
ID:{{ deviceData.device.product_id }} / 名称:{{ + deviceData.device.product_name }}
-
+
设备名称:
{{ deviceData.device.name }}
-
+
设备编码:
{{ deviceData.device.code }}
-
+
设备类型:
-
+
设备状态:
-
+
是否在线:
@@ -51,26 +53,35 @@ + + + + + + + - +
{{ item.name }}
-
+
历史数据
{{ item.monitor_value }}
-
只读{{ item.last_time }}
+
只读{{ + item.last_time }}
- - - +
@@ -81,16 +92,9 @@ - - + + \ No newline at end of file diff --git a/admin/src/views/device/index.vue b/admin/src/views/device/index.vue index 32943239..368c73b4 100644 --- a/admin/src/views/device/index.vue +++ b/admin/src/views/device/index.vue @@ -198,7 +198,8 @@ :to="{ path: getRoutePath('device.device/detail'), query: { - device_id: row.id + device_id: row.id, + userName:row.account } }" > @@ -229,7 +230,7 @@
-
+