瀏覽代碼

导出带上时间

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() {
-    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();
   },