From 14f5bd1e7b56ed069602c3f787de9cca03811cc4 Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期一, 21 十月 2024 15:03:50 +0800
Subject: [PATCH] 1
---
src/views/mdc/realtime-status/index.vue | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/src/views/mdc/realtime-status/index.vue b/src/views/mdc/realtime-status/index.vue
index 9c99b9c..e356414 100644
--- a/src/views/mdc/realtime-status/index.vue
+++ b/src/views/mdc/realtime-status/index.vue
@@ -1,7 +1,7 @@
<!--
* @Date: 2024-04-09 22:11:21
* @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-10-21 13:45:54
+ * @LastEditTime: 2024-10-21 15:01:18
* @FilePath: /cps-web/src/views/mdc/realtime-status/index.vue
瀹炴椂鐪嬫澘
-->
@@ -49,7 +49,7 @@
<div class="status-card-box" style="border-color: #ccc;">
<div class="status-card-top">
<div class="status-card-detail">
- <div title="461" class="status-card-detail-name">{{ item.code }}</div>
+ <div class="status-card-detail-name" :title="item.name">{{ item.name }}</div>
<div class="status-card-detail-status">
<div class="status-card-detail-point" :style="{ 'background-color': item.statusStyle }">
</div>{{ item.statusName }}
@@ -359,8 +359,6 @@
item.time = diffTime;
}
}
- console.log(eventData,111)
-
item.properties.forEach((item1, index1) => {
if (item1.key == "DeviceStatus") { //鏈哄櫒鐘舵��
that.allwcs.forEach(item2 => {
@@ -386,7 +384,6 @@
item1.name = v.code;
item1.code = v.msg;
}
- alert(1)
}
} else {
if (eventData.data[item1.key]) {
@@ -545,7 +542,7 @@
font-weight: 700;
font-size: 16px;
color: #333;
- width: 26%;
+ max-width: 37%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@@ -566,7 +563,7 @@
.status-card-detail-time {
line-height: 12px;
- margin-left: 16px;
+ margin-left: 8px;
}
.status-card-machine {
--
Gitblit v1.9.3