From a36a95ee0962af12a40e471cd706f2880f439887 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 24 八月 2023 14:11:14 +0800
Subject: [PATCH] 面板的页面跳转 修改  2023-8-24

---
 src/views/visualization.vue |   30 +++++++++++++++++-------------
 1 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/src/views/visualization.vue b/src/views/visualization.vue
index bd1552c..7546681 100644
--- a/src/views/visualization.vue
+++ b/src/views/visualization.vue
@@ -535,7 +535,8 @@
 
   methods: {
     reloadPage() {
-      window.location.reload();
+      // window.location.reload();
+      this.getTaskInfo();
     },
     getProgressInfo() {
       getProgress().then((res) => {
@@ -662,7 +663,7 @@
               if (res.code == 200) {
                 // res.data.number
                 this.procedureList[0].push({
-                  number: res.data.number,
+                  number: res.data.Number,
                   name: "宸ヨ壓",
                 });
               }
@@ -679,10 +680,13 @@
     },
     // 璁剧疆
     setUrl() {
-      const { href } = this.$router.resolve({
+      // const { href } = this.$router.resolve({
+      //   path: "/set",
+      // });
+      // window.open(href, "_blank");
+      this.$router.push({
         path: "/set",
       });
-      window.open(href, "_blank");
     },
     // 鍙充晶鎺у埗
     controlClick() {
@@ -735,24 +739,24 @@
     }
     .bg-title-span {
       position: absolute;
-      width: 400px;
-      height: 100px;
-      line-height: 100px;
+      width: 30%;
+      height: 4rem;
+      line-height:2.4;
       font-size: 26px;
       font-weight: 700;
       text-align: center;
-      left: 39%;
-      top: 5%;
+      left: 36%;
+      top: 1.5rem;
       display: inline-block;
     }
     .bg-set{
       position:absolute;
       right:10%;
-      height: 100px;
-      line-height: 100px;
+      height: 4rem;
+      line-height:2.4;
       font-size: 40px;
       font-weight: 700;
-      top: 5%;
+      top: 1rem;
     }
     .bg-date{
       position:absolute;
@@ -784,7 +788,7 @@
       margin: 0 auto;
       text-align: center;
       position: absolute;
-      top: 21%;
+      top: 9rem;
     }
   }
 }

--
Gitblit v1.8.0