From 40e702344f3d35e251bb098d1227fdea74ee8e4e Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 20 三月 2024 17:50:24 +0800
Subject: [PATCH] 11

---
 src/views/project/donationwitness/index.vue |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/views/project/donationwitness/index.vue b/src/views/project/donationwitness/index.vue
index 87dbb83..53ba2a5 100644
--- a/src/views/project/donationwitness/index.vue
+++ b/src/views/project/donationwitness/index.vue
@@ -1032,6 +1032,10 @@
     };
   },
   created() {
+    if (sessionStorage.getItem("donationwitness")) {
+      this.queryParams = JSON.parse(sessionStorage.getItem("donationwitness"));
+      console.log(this.queryParams, "queryParams");
+    }
     this.getCoordinatorList1();
     this.getCoordinatorList2();
   },
@@ -1191,6 +1195,11 @@
     getList(e) {
       this.loading = true;
       this.queryParams.params = {};
+      sessionStorage.removeItem("donationwitness");
+      sessionStorage.setItem(
+        "donationwitness",
+        JSON.stringify(this.queryParams)
+      );
       if (this.starttime != "") {
         this.queryParams.starttime = this.starttime;
       }

--
Gitblit v1.9.3