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) {
       } else if(this.subjectId) {
         data.subjectId = 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) => {
       getDealerOrCourseRecode(data).then((res) => {
         this.rLoading = false
         this.rLoading = false
         this.recordDetails = res.list;
         this.recordDetails = res.list;