Browse Source

导出带上时间

xiaoran 1 năm trước cách đây
mục cha
commit
e96ef56434
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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();
   },