From 21fe2968337eb8eab97adc88750b71c4057e98f8 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 17 七月 2024 15:39:46 +0800
Subject: [PATCH] 11

---
 src/views/project/donatefinish/index.vue |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/views/project/donatefinish/index.vue b/src/views/project/donatefinish/index.vue
index fafa17a..fc5c30a 100644
--- a/src/views/project/donatefinish/index.vue
+++ b/src/views/project/donatefinish/index.vue
@@ -192,7 +192,7 @@
               :value="scope.row.workflow"
             />
           </div>
-          <div v-else>浠诲姟涓</div>
+          <div v-else>浠诲姟缁堟</div>
         </template>
       </el-table-column>
 
@@ -705,9 +705,10 @@
     };
   },
   created() {
-    // this.getDicts('country').then(res=>{
-    //   this.nationality =res.data
-    // })
+    if (sessionStorage.getItem("donatefinish")) {
+      this.queryParams = JSON.parse(sessionStorage.getItem("donatefinish"));
+      console.log(this.queryParams, "queryParams");
+    }
   },
   activated() {
     this.selecttime = "";
@@ -720,9 +721,7 @@
     if (this.$route.params.starttime != null && this.$route.params.endtime) {
       this.selecttime = [
         this.$moment(this.$route.params.starttime).format("YYYY-MM-DD"),
-        this.$moment(this.$route.params.endtime)
-          .add(-1, "month")
-          .format("YYYY-MM-DD")
+        this.$moment(this.$route.params.endtime).format("YYYY-MM-DD")
       ];
     }
     if (this.$route.params.reporterno != "") {
@@ -958,6 +957,8 @@
     getList() {
       this.loading = true;
       this.queryParams.params = {};
+      sessionStorage.removeItem("donatefinish");
+      sessionStorage.setItem("donatefinish", JSON.stringify(this.queryParams));
       if (null != this.daterangeReporttime && "" != this.daterangeReporttime) {
         this.queryParams.params[
           "beginReporttime"

--
Gitblit v1.9.3