Browse Source

导出带上时间

xiaoran 1 year ago
parent
commit
e96ef56434
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/allcase/reviewIndicatorsList.vue

+ 5 - 1
src/views/allcase/reviewIndicatorsList.vue

@@ -212,7 +212,11 @@ export default {
     },
   },
   created() {
-    console.log('vvvvmmm111111');
+    // 获取默认时间
+    let year = this.$route.query.year;
+    this.timeData.startTime = `${year}-01-01`;
+    this.timeData.endTime = `${year}-12-31`;
+
     this.getList();
     this.getDepartmentList();
   },