From 6914d3d6ab1f76e6f1b85fdb547b016707ae0179 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 01 八月 2024 17:34:30 +0800
Subject: [PATCH] 11

---
 src/views/project/organallocation/index.vue |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/views/project/organallocation/index.vue b/src/views/project/organallocation/index.vue
index 1a3fb06..ada013a 100644
--- a/src/views/project/organallocation/index.vue
+++ b/src/views/project/organallocation/index.vue
@@ -87,7 +87,7 @@
         </el-col>
 
         <el-col :span="12">
-          <el-form-item label="鎶ュ憡鏃ユ湡">
+          <el-form-item label="妗堜緥鏃堕棿">
             <el-date-picker
               style="width: 100%"
               v-model="selecttime"
@@ -686,6 +686,11 @@
     /** 鏌ヨ鎹愮尞鍩虹鍒楄〃 */
     getBaseInfoList(e) {
       this.loading = true;
+      sessionStorage.removeItem("organallocation");
+      sessionStorage.setItem(
+        "organallocation",
+        JSON.stringify(this.queryParams)
+      );
       if (this.queryParams.recordstate == "") {
         this.queryParams.recordstate = null;
       }
@@ -1104,6 +1109,10 @@
   },
   //鐢熷懡鍛ㄦ湡 - 鍒涘缓瀹屾垚锛堝彲浠ヨ闂綋鍓峵his瀹炰緥锛�
   created() {
+    if (sessionStorage.getItem("organallocation")) {
+      this.queryParams = JSON.parse(sessionStorage.getItem("organallocation"));
+      console.log(this.queryParams, "queryParams");
+    }
     this.getBaseInfoList();
     this.resetForm();
   }

--
Gitblit v1.9.3