|
@@ -935,6 +935,9 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
const { query } = this.$route;
|
|
|
+ if(query.courseIdSearch){
|
|
|
+ this.searchForm.courseIdSearch = query.courseIdSearch
|
|
|
+ }
|
|
|
if (query.start || query.end) {
|
|
|
this.searchForm.timer = [query.start, query.end];
|
|
|
} else {
|
|
@@ -947,10 +950,12 @@ export default {
|
|
|
}
|
|
|
} else {
|
|
|
if (this.searchForm[item]) {
|
|
|
+ console.log(this.searchForm[item])
|
|
|
flag = true;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ console.log('flag',flag,this.searchForm.timer)
|
|
|
if (!flag) {
|
|
|
this.searchForm.timer = [nowTime, nowTime];
|
|
|
}
|