From 43f9ccbcf6c92c068fc7ec2e6d06afcdb1088ac0 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期三, 05 三月 2025 15:54:33 +0800
Subject: [PATCH] 原片仓储起始格子字段更改

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

diff --git a/UI-Project/src/views/Identify/identify.vue b/UI-Project/src/views/Identify/identify.vue
index ed36711..88c6d21 100644
--- a/UI-Project/src/views/Identify/identify.vue
+++ b/UI-Project/src/views/Identify/identify.vue
@@ -159,10 +159,12 @@
       totalPages.value = response.data.totalPatternSequence;
       const scaleFactor =  1621.78/6000; 
       const scaleFactory =  750/3300; 
-      adjustedRects.value = rawRects.map(rect => ({  
+      adjustedRects.value = rawRects.map(rect => ({
         ...rect,
-        xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * 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,
+        // xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * scaleFactor * 1.1,
+        // yaxisa: rect.yaxis * scaleFactory * 1.1,
         width: rect.edgWidth * scaleFactor  * 1.1,
         widtha: rect.edgWidth ,
         heighta: rect.edgHeight ,
@@ -184,8 +186,8 @@
       const scaleFactory =  750/3300; 
       adjustedRects.value = rawRects.map(rect => ({  
         ...rect,
-        xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * 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,
         widtha: rect.edgWidth ,
         heighta: rect.edgHeight ,

--
Gitblit v1.8.0