From 49d084254f77912b46b5abc3e82bc2f6a14a2363 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期三, 15 十一月 2023 11:05:58 +0800
Subject: [PATCH] feat: 修复工序运行时间不更新的问题; 选中已完成任务工序运行时间以选中任务为准

---
 src/views/dashboard/components/DeviceNumberInfo.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/dashboard/components/DeviceNumberInfo.vue b/src/views/dashboard/components/DeviceNumberInfo.vue
index 839a73c..6182433 100644
--- a/src/views/dashboard/components/DeviceNumberInfo.vue
+++ b/src/views/dashboard/components/DeviceNumberInfo.vue
@@ -12,8 +12,12 @@
       <el-scrollbar always class="scroller">
         <div class="device-t">浜戠璁惧缂栫爜</div>
         <div class="device-b">
-          <div v-for="(item, index) in deviceInfo?.deviceIDList" :key="index" class="device-info">
-            {{ item }}
+          <div v-for="item in deviceInfo?.deviceList" :key="item.deviceID" class="device-info">
+            <el-popover placement="top" :width="200" trigger="click" :content="item.deviceID">
+              <template #reference>
+                <el-text truncated style="color: #fff; max-width: 100px">{{ item.deviceID }}</el-text>
+              </template>
+            </el-popover>
           </div>
         </div>
       </el-scrollbar>

--
Gitblit v1.8.0