|
@@ -359,6 +359,28 @@ export default {
|
|
|
this.calendarStudyVo.miniDayStudyList = this.calendarStudyVo.dayStudyList.slice(start, start + 7);
|
|
|
this.showDayList = this.calendarStudyVo.miniDayStudyList;
|
|
|
console.log(this.showDayList)
|
|
|
+
|
|
|
+ for (let i = 0; i < this.calendarStudyVo.dayStudyList.length; i++) {
|
|
|
+ let item = this.calendarStudyVo.dayStudyList[i];
|
|
|
+
|
|
|
+ if (item.note > 0) {
|
|
|
+ item.note = 0;
|
|
|
+ this.showDayList.forEach(day => {
|
|
|
+ if(day.date == item.date) {
|
|
|
+ if(day.daySectionList) {
|
|
|
+ day.daySectionList.forEach(section => {
|
|
|
+ this.listItem.goodsVos.forEach(vos => {
|
|
|
+ if(vos.goodsId == section.goodsId) {
|
|
|
+ item.note += vos.classHours
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
jumpDetail(item) {
|
|
|
this.$navTo.togo('/pages2/wd/course', {
|