From 00192d25a3132b3f20b528ed46a8298f46b602ef Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期四, 20 二月 2025 15:19:04 +0800
Subject: [PATCH] 中空一线添加必填判断、更改tag标签显示

---
 UI-Project/src/views/Identify/identifwu.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/UI-Project/src/views/Identify/identifwu.vue b/UI-Project/src/views/Identify/identifwu.vue
index 53db6c7..455f8dc 100644
--- a/UI-Project/src/views/Identify/identifwu.vue
+++ b/UI-Project/src/views/Identify/identifwu.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>
@@ -140,7 +141,7 @@
           if (existingRect) {
             return {
               ...existingRect,
-              xAxisa: (6000 - (rect.xAxis + rect.width)) * scaleFactor * 1.1,
+              xAxisa: (6000 - (rect.xAxis + rect.edgWidth)) * scaleFactor * 1.1,
               yAxisa: rect.yAxis * scaleFactory * 1.1,
               width: rect.edgWidth * scaleFactor * 1.1,
               height: rect.edgHeight * scaleFactory * 1.1,
@@ -153,7 +154,7 @@
             // 濡傛灉涓嶅瓨鍦紝鍒欐坊鍔犳柊鐭╁舰锛岄粯璁� isActive 涓� false
             return {
               ...rect,
-              xAxisa: (6000 - (rect.xAxis + rect.width)) * scaleFactor * 1.1,
+              xAxisa: (6000 - (rect.xAxis + rect.edgWidth)) * scaleFactor * 1.1,
               yAxisa: rect.yAxis * scaleFactory * 1.1,
               width: rect.edgWidth * scaleFactor * 1.1,
               height: rect.edgHeight * scaleFactory * 1.1,

--
Gitblit v1.8.0