guojy 1 년 전
부모
커밋
1dc7f7d452
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/course/statistics/home.vue

+ 4 - 0
src/course/statistics/home.vue

@@ -292,6 +292,10 @@ export default {
       } else if(this.subjectId) {
         data.subjectId = this.subjectId;
       }
+      if (this.searchTime && this.searchTime.length > 0) {
+        data.startDate = this.searchTime[0];
+        data.endDate = this.searchTime[1];
+      }
       getDealerOrCourseRecode(data).then((res) => {
         this.rLoading = false
         this.recordDetails = res.list;