diff --git a/src/api/ems/site.js b/src/api/ems/site.js index e1b3f5a..e80d29a 100644 --- a/src/api/ems/site.js +++ b/src/api/ems/site.js @@ -54,3 +54,11 @@ export function deleteService(id) { method: 'delete', }) } + +//获取所有设备 +export function getDeviceList(siteId) { + return request({ + url: `/ems/siteConfig/getDeviceList?siteId=${siteId}`, + method: 'get', + }) +} diff --git a/src/views/ems/dzjk/zxlt/index.vue b/src/views/ems/dzjk/zxlt/index.vue index f7981b7..6b392d9 100644 --- a/src/views/ems/dzjk/zxlt/index.vue +++ b/src/views/ems/dzjk/zxlt/index.vue @@ -2,56 +2,77 @@
- - ems +
+
+ +
+
+
+
+
+
+
+ + ems +
+
- - + +
+
bms
-
- +
+
通讯状态:{{communicationStatusOptions[item.communicationStatus] || '-'}}
+ +
{{item.deviceName}}
- - +
+
pcs
-
- +
+
通讯状态:{{communicationStatusOptions[item.communicationStatus] || '-'}}
+ +
{{item.deviceName}}
- - +
+
电表
-
- +
+
通讯状态:{{communicationStatusOptions[item.communicationStatus] || '-'}}
+ +
{{item.deviceName}}
- - +
+
冷却
-
- +
+
通讯状态:{{communicationStatusOptions[item.communicationStatus] || '-'}}
+ +
{{item.deviceName}}
- - +
+
@@ -59,8 +80,9 @@