From b932227695d1118a93b104df8b13987d78514710 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期三, 16 十月 2024 09:43:12 +0800
Subject: [PATCH] 版本整合02
---
UI-Project/src/views/NewPage.vue | 54 +++++++++++++++++++++++++++---------------------------
1 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/UI-Project/src/views/NewPage.vue b/UI-Project/src/views/NewPage.vue
index 81d7e1a..6fd5636 100644
--- a/UI-Project/src/views/NewPage.vue
+++ b/UI-Project/src/views/NewPage.vue
@@ -23,32 +23,33 @@
<div class="centered-text">
<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>
- </div>
- </div>
- </div>
- </el-scrollbar>
- </div>
- </div>
- </el-card>
- </div>
- </template>
-
- <script setup>
- import { ref, onMounted, watch, watchEffect } from 'vue';
- import { useRoute, useRouter } from 'vue-router';
- import request from "@/utils/request"
- const route = useRoute();
- const router = useRouter();
- const current = ref(route.query.current || '');
- const adjustedRects = ref([]);
- const loading = ref(false);
- const adjustedRectsPerRow = ref([]);
- const divsData = ref([]);
- const rawData = ref([]);
- onMounted(() => {
- if (route.query.current) {
- current.value = route.query.current;
+ <div style="font-size: 30px;font-weight: bold;">{{ rect.widtha }}*{{ rect.heighta }}</div>
+ </div>
+ </div>
+ </div>
+ </el-scrollbar>
+ </div>
+ </div>
+ </el-card>
+ </div>
+</template>
+
+<script setup>
+import {onMounted, ref, watch} from 'vue';
+import {useRoute, useRouter} from 'vue-router';
+import request from "@/utils/request"
+
+const route = useRoute();
+const router = useRouter();
+const current = ref(route.query.current || '');
+const adjustedRects = ref([]);
+const loading = ref(false);
+const adjustedRectsPerRow = ref([]);
+const divsData = ref([]);
+const rawData = ref([]);
+onMounted(() => {
+ if (route.query.current) {
+ current.value = route.query.current;
console.log(current.value);
window.localStorage.setItem('current', current.value)
}
@@ -110,7 +111,6 @@
adjustedWidth = rect.width * (900/rect.olHeight);
adjustedHeight = rect.height * (430/rect.olWidth);
}
- // 璇ラ〉闈负椤烘椂閽堟棆杞�90搴�
let adjustedRect = {
...rect,
// x_axis: rect.y_axis * (959.35/rect.olHeight),
--
Gitblit v1.8.0