|
@@ -206,13 +206,14 @@ export default {
|
|
|
let currentMonth = date.getMonth() + 1;
|
|
let currentMonth = date.getMonth() + 1;
|
|
|
this.haveNextMonth = false;
|
|
this.haveNextMonth = false;
|
|
|
this.havePreviousMonth = false;
|
|
this.havePreviousMonth = false;
|
|
|
|
|
+ this.workList = this.listItem.coursePlanVo;
|
|
|
if (this.listItem !== undefined) {
|
|
if (this.listItem !== undefined) {
|
|
|
for (let i = 0; i < this.listItem.calendarStudyVo.length; i++) {
|
|
for (let i = 0; i < this.listItem.calendarStudyVo.length; i++) {
|
|
|
let item = this.listItem.calendarStudyVo[i];
|
|
let item = this.listItem.calendarStudyVo[i];
|
|
|
if (item.month == currentMonth) {
|
|
if (item.month == currentMonth) {
|
|
|
this.monthIndex = i;
|
|
this.monthIndex = i;
|
|
|
this.calendarStudyVo = item;
|
|
this.calendarStudyVo = item;
|
|
|
- this.workList = this.calendarStudyVo.coursePlanVo;
|
|
|
|
|
|
|
+
|
|
|
if (i > 0) {
|
|
if (i > 0) {
|
|
|
this.havePreviousMonth = true;
|
|
this.havePreviousMonth = true;
|
|
|
}
|
|
}
|