LuChongMei 2 dagar sedan
förälder
incheckning
9ff9162776

+ 3 - 0
jp-ui/src/views/modules/reportmanage/reportContinueQuestion.vue

@@ -127,6 +127,9 @@
       }
     },
     activated() {
+      const start = new Date();
+      start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
+      this.searchForm.start = start
       this.searchForm.end = this.formatDate(new Date())
       this.value2 = [this.searchForm.start, this.searchForm.end]
       this.getData();

+ 3 - 0
jp-ui/src/views/modules/reportmanage/reportFinishQuestion.vue

@@ -67,6 +67,9 @@
       }
     },
     activated() {
+      const start = new Date();
+      start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
+      this.searchForm.start = start
       this.searchForm.end = this.formatDate(new Date())
       this.value2 = [this.searchForm.start, this.searchForm.end]
       this.getData();