From 3e136d18ac8f7a0c6aede92cfdd30206b20417d3 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期三, 02 七月 2025 11:16:03 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/opo-web --- src/views/project/organallocation/index.vue | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/views/project/organallocation/index.vue b/src/views/project/organallocation/index.vue index 1a3fb06..b43cf20 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; } @@ -695,7 +700,7 @@ this.queryParams.reportervalue = this.reportervalue; console.log(JSON.stringify(this.queryParams)); - // this.queryParams.city='001' + // this.queryParams.city='053' //console.log(JSON.stringify(this.queryParams)); if (this.starttime != "") { this.queryParams.starttime = this.starttime; @@ -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