wangfei
2025-03-11 a1bf701b728e79151bc34ffc8cbe479ab9ca53e4
UI-Project/src/views/NewPage.vue
@@ -22,6 +22,7 @@
       height: `${rect.height}px`,  
      backgroundColor:  'lightblue'}">
   <div  class="centered-text">
  <div style="font-size: 15px;font-weight: bold;">{{ rect.sort }}</div>
  <div style="font-size: 15px;font-weight: bold;">{{ rect.process_id }}</div>  
  <div style="font-size: 15px;font-weight: bold;">{{ rect.project_no }}</div>  
  <div style="font-size: 30px;font-weight: bold;">{{ rect.widtha }}*{{ rect.heighta }}</div>  
@@ -59,11 +60,9 @@
         if (response.code === 200) {  
           rawData.value = response.data;
                 processData(rawData.value);
         } else {
          //  ElMessage.warning(res.msg)
         } else {
         }  
       } catch (error) {
         // console.error('Error fetching rects :', error);
       } catch (error) {
       }  
     }); 
   watch(  
@@ -135,9 +134,7 @@
function getAdjustedRectsForRow(rowIndex) {
return adjustedRectsPerRow.value[rowIndex] || [];  
}  
   </script>
</script>
<style scoped>  
.row {  
display: flex;