guojy 1 year ago
parent
commit
1dc7f7d452
1 changed files with 4 additions and 0 deletions
  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;