|
@@ -456,15 +456,15 @@ export default {
|
|
|
netWorkExport() {
|
|
|
let url = "/api-web/export/courseReviews";
|
|
|
let obj = {};
|
|
|
- obj.organId = this.searchForm.organId || null;
|
|
|
- obj.teacherId = this.searchForm.teacherId || null;
|
|
|
- obj.eduTeacherId = this.searchForm.eduTeacherId || null;
|
|
|
- obj.isFree = this.searchForm.isFree || null;
|
|
|
- obj.studentReview = this.searchForm.studentReview || null;
|
|
|
- obj.hasHandHomework = this.searchForm.hasHandHomework || null;
|
|
|
- obj.hasReview = this.searchForm.hasReview || null;
|
|
|
- obj.courseReview = this.searchForm.courseReview || null;
|
|
|
- obj.search = this.searchForm.search;
|
|
|
+ this.searchForm.organId?obj.organId = this.searchForm.organId : null;
|
|
|
+ this.searchForm.teacherId?obj.teacherId = this.searchForm.teacherId : null;
|
|
|
+ this.searchForm.eduTeacherId?obj.eduTeacherId = this.searchForm.eduTeacherId : null;
|
|
|
+ this.searchForm.isFree?obj.isFree = this.searchForm.isFree : null;
|
|
|
+ this.searchForm.studentReview?obj.studentReview = this.searchForm.studentReview : null;
|
|
|
+ this.searchForm.hasHandHomework?obj.hasHandHomework = this.searchForm.hasHandHomework : null;
|
|
|
+ this.searchForm.hasReview ?obj.hasReview = this.searchForm.hasReview : null;
|
|
|
+ this.searchForm.courseReview?obj.courseReview = this.searchForm.courseReview : null;
|
|
|
+ this.searchForm.search?obj.search = this.searchForm.search:null;
|
|
|
if (this.searchForm.month.length > 0) {
|
|
|
obj.startTime = this.searchForm.month[0];
|
|
|
obj.endTime = this.searchForm.month[1];
|