|
@@ -255,11 +255,11 @@
|
|
|
import {
|
|
|
addCourseWatchLog,
|
|
|
delCourseWatchLog,
|
|
|
- exportCourseWatchLog,
|
|
|
+ exportCourseWatchLog, exportCourseWatchLogMy,
|
|
|
getCourseWatchLog,
|
|
|
myListCourseWatchLog,
|
|
|
updateCourseWatchLog
|
|
|
-} from "@/api/course/courseWatchLog";
|
|
|
+} from '@/api/course/courseWatchLog'
|
|
|
import {courseList, myListCourseRedPacketLog, videoList} from '@/api/course/courseRedPacketLog'
|
|
|
import {myListLogs} from "@/api/course/courseAnswerlogs";
|
|
|
import {getMyQwUserList} from "@/api/qw/user";
|
|
@@ -453,6 +453,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
handleClickX(tab) {
|
|
|
+
|
|
|
this.activeName=tab.name;
|
|
|
if(tab.name=="00"){
|
|
|
this.queryParams.logType=null;
|
|
@@ -589,6 +590,11 @@ export default {
|
|
|
},
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
+
|
|
|
+ if (this.activeName=="00"){
|
|
|
+ this.queryParams.logType=null;
|
|
|
+ }
|
|
|
+
|
|
|
const queryParams = this.queryParams;
|
|
|
this.$confirm('是否确认导出所有短链课程看课记录数据项?', "警告", {
|
|
|
confirmButtonText: "确定",
|
|
@@ -596,7 +602,7 @@ export default {
|
|
|
type: "warning"
|
|
|
}).then(() => {
|
|
|
this.exportLoading = true;
|
|
|
- return exportCourseWatchLog(queryParams);
|
|
|
+ return exportCourseWatchLogMy(queryParams);
|
|
|
}).then(response => {
|
|
|
this.download(response.msg);
|
|
|
this.exportLoading = false;
|