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;