From a3acace85322dbe506259a4b2ed384a90d77802a Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期五, 07 三月 2025 16:19:14 +0800
Subject: [PATCH] 时间获取新增websockect推送,提供全局使用,所有模块更改时间选择器获取方式,中空理片笼表格,钢化理片笼表格

---
 UI-Project/src/views/Identify/identifwutwo.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/UI-Project/src/views/Identify/identifwutwo.vue b/UI-Project/src/views/Identify/identifwutwo.vue
index d1b8dc6..5f99dfb 100644
--- a/UI-Project/src/views/Identify/identifwutwo.vue
+++ b/UI-Project/src/views/Identify/identifwutwo.vue
@@ -14,7 +14,8 @@
                }">
             <div class="centered-text">
               <div style="font-size: 20px;font-weight: bold;">{{ rect.glassId }}</div>
-              <div style="font-size: 20px;font-weight: bold;">{{ rect.widtha }}*{{ rect.heighta }}</div>
+              <div style="font-size: 20px;font-weight: bold;">{{ rect.flowCardId }}</div>
+              <div style="font-size: 30px;font-weight: bold;">{{ rect.widtha }}*{{ rect.heighta }}</div>
             </div>
           </div>
         </div>
@@ -58,21 +59,20 @@
           if (existingRect) {
             return {
               ...existingRect,
-              xAxisa: (6000 - (rect.xAxis + rect.width)) * scaleFactor * 1.1,
-              yAxisa: rect.yAxis * scaleFactory * 1.1,
+               xAxisa: rect.xAxis * scaleFactor * 1.1,
+               yAxisa: (3300 - (rect.yAxis + rect.edgHeight + 300)) * scaleFactory * 1.1,
               width: rect.edgWidth * scaleFactor * 1.1,
               height: rect.edgHeight * scaleFactory * 1.1,
               widtha: rect.edgWidth,
               heighta: rect.edgHeight,
               state: rect.state,
-              // 淇濇寔 isActive 鐘舵�佷笉鍙�
             };
           } else {
             // 濡傛灉涓嶅瓨鍦紝鍒欐坊鍔犳柊鐭╁舰锛岄粯璁� isActive 涓� false
             return {
               ...rect,
-              xAxisa: (6000 - (rect.xAxis + rect.width)) * scaleFactor * 1.1,
-              yAxisa: rect.yAxis * scaleFactory * 1.1,
+               xAxisa: rect.xAxis * scaleFactor * 1.1,
+               yAxisa: (3300 - (rect.yAxis + rect.edgHeight + 300)) * scaleFactory * 1.1,
               width: rect.edgWidth * scaleFactor * 1.1,
               height: rect.edgHeight * scaleFactory * 1.1,
               widtha: rect.edgWidth,

--
Gitblit v1.8.0