소스 검색

导出带上时间

xiaoran 1 년 전
부모
커밋
e96ef56434
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/views/allcase/reviewIndicatorsList.vue

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

@@ -212,7 +212,11 @@ export default {
     },
     },
   },
   },
   created() {
   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.getList();
     this.getDepartmentList();
     this.getDepartmentList();
   },
   },