|
@@ -1162,10 +1162,11 @@ export default {
|
|
id: Date.now(),
|
|
id: Date.now(),
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- // console.log(this.lookList)
|
|
|
|
|
|
+ console.log(this.lookList)
|
|
// let courseType = this.maskForm.type;
|
|
// let courseType = this.maskForm.type;
|
|
// // let week = ;this.maskForm.week
|
|
// // let week = ;this.maskForm.week
|
|
// let startTime = this.maskForm.startTime;
|
|
// let startTime = this.maskForm.startTime;
|
|
|
|
+ // 根据时间排序
|
|
this.maskForm.type = "";
|
|
this.maskForm.type = "";
|
|
this.maskForm.week = "";
|
|
this.maskForm.week = "";
|
|
this.maskForm.startTime = "";
|
|
this.maskForm.startTime = "";
|
|
@@ -1350,6 +1351,12 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// console.log(this.timeTable);
|
|
// console.log(this.timeTable);
|
|
|
|
+
|
|
|
|
+ this.timeTable.sort((a,b)=>{
|
|
|
|
+ let aStr = dayjs(dayjs(a.classDate).format('YYYY-MM-DD')+' '+a.startClassTimeStr+':00').valueOf()
|
|
|
|
+ let bStr = dayjs(dayjs(b.classDate).format('YYYY-MM-DD')+' '+b.startClassTimeStr+':00').valueOf()
|
|
|
|
+ return aStr-bStr
|
|
|
|
+ })
|
|
this.dialogFormVisible = false;
|
|
this.dialogFormVisible = false;
|
|
},
|
|
},
|
|
getThinkDate(date, num) {
|
|
getThinkDate(date, num) {
|