From 1e487a42549384f6e937a5c7d557563aedafec2c Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 20 三月 2024 18:41:29 +0800
Subject: [PATCH] 11

---
 src/views/project/relativesconfirmation/index.vue |   26 +++++++++++++++++---------
 1 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/src/views/project/relativesconfirmation/index.vue b/src/views/project/relativesconfirmation/index.vue
index 4b60609..af87770 100644
--- a/src/views/project/relativesconfirmation/index.vue
+++ b/src/views/project/relativesconfirmation/index.vue
@@ -1112,6 +1112,10 @@
     // this.getDicts('country').then(res=>{
     //   this.nationality =res.data
     // })
+    if (sessionStorage.getItem("relativesconfirmation")) {
+      this.queryParams = JSON.parse(sessionStorage.getItem("relativesconfirmation"));
+      console.log(this.queryParams, "queryParams");
+    }
     this.getuserlist();
     this.getLeaderList();
     this.getCoordinatorList1();
@@ -1429,7 +1433,11 @@
     /** 鏌ヨ鎹愮尞鍩虹鍒楄〃 */
     getList(e) {
       this.loading = true;
-
+      sessionStorage.removeItem("relativesconfirmation");
+      sessionStorage.setItem(
+        "relativesconfirmation",
+        JSON.stringify(this.queryParams)
+      );
       if (null != this.daterangeReporttime && "" != this.daterangeReporttime) {
         this.queryParams.params[
           "beginReporttime"
@@ -1578,14 +1586,14 @@
     },
     /** 瀹跺睘纭鎿嶄綔 */
     handleAdd(row) {
-      // this.$router.push({
-      //   path: "/organ/donationdetails/",
-      //   query: {
-      //     id: row.id,
-      //     organType: "edit",
-      //   }
-      // });
-      // return ;
+      this.$router.push({
+        path: "/organ/donationdetails/",
+        query: {
+          id: row.id,
+          organType: "edit",
+        }
+      });
+      return ;
       console.log("ppppppp", row);
       this.showSaveBtn = false;
       this.flowname = "瀹跺睘纭鐧昏";

--
Gitblit v1.9.3