From b87174cde67aaa8420ea492af9b79fcc9a692036 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期二, 10 十二月 2024 18:11:05 +0800
Subject: [PATCH] bug

---
 src/views/projectManage/plan/planInfo.vue |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/views/projectManage/plan/planInfo.vue b/src/views/projectManage/plan/planInfo.vue
index 54012b5..310c175 100644
--- a/src/views/projectManage/plan/planInfo.vue
+++ b/src/views/projectManage/plan/planInfo.vue
@@ -101,7 +101,9 @@
       }
     }
   },
-
+  created() {
+    this.getProjectInfoData();
+  },
   methods: {
     // 椤甸潰鍔犺浇
     search() {
@@ -111,7 +113,12 @@
     getProjectInfoData() {
       // 浠庢煡璇㈠弬鏁颁腑鑾峰彇鏁版嵁
       this.projectInfoData = this.$route.query.projectInfoData
-      this.planInfoData = this.$route.query.data
+      this.planInfoData.id = this.$route.query.id;
+      this.planInfoData.projectName = this.$route.query.projectName;
+      this.planInfoData.projectCode = this.$route.query.projectCode;
+      this.planInfoData.planTime = this.$route.query.planTime;
+      this.planInfoData.planTimeFlag = this.$route.query.planTimeFlag;
+      this.planInfoData.managerFlag = this.$route.query.managerFlag;
       this.search();
     },
     // 鑾峰彇椤圭洰璁″垝椤�
@@ -179,9 +186,6 @@
         }
       })
     }
-  },
-  created() {
-    this.getProjectInfoData();
   },
 };
 </script>

--
Gitblit v1.8.0