1
lzhe
2024-10-21 14f5bd1e7b56ed069602c3f787de9cca03811cc4
1
已修改1个文件
11 ■■■■■ 文件已修改
src/views/mdc/realtime-status/index.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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 {