diff --git a/src/views/course/CourseManage.vue b/src/views/course/CourseManage.vue index a14d0605..1e2f6f80 100644 --- a/src/views/course/CourseManage.vue +++ b/src/views/course/CourseManage.vue @@ -942,6 +942,7 @@ export default { apicourseStudy .studyExport({ courseId: this.courseDetail.id, + contentName: this.recourseListQuery.contentName }) .then((res) => { this.handleExport( @@ -956,8 +957,8 @@ export default { courseId: this.courseDetail.id, aname: this.learningRecords.name, status: this.learningRecords.status, - queryStartTime: this.learningRecords.queryStartTime, - queryFinishTime: this.learningRecords.queryFinishTime, + queryStartTime: this.studyDateTime.length > 0 ? this.studyDateTime[0] : "", + queryFinishTime: this.studyDateTime.length > 1 ? this.studyDateTime[1] : "", }) .then((res) => { this.handleExport(res, this.courseDetail.name + "的学习记录.xlsx");