From 9f468e0447a71eb7fcc4f1d78df3be9d348f6fe0 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 25 三月 2024 11:33:02 +0800 Subject: [PATCH] 11 --- src/views/project/organallocation/index.vue | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/views/project/organallocation/index.vue b/src/views/project/organallocation/index.vue index 1a3fb06..5d1e5f1 100644 --- a/src/views/project/organallocation/index.vue +++ b/src/views/project/organallocation/index.vue @@ -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