|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
dayChange: function () { |
|
|
dayChange: function () { |
|
|
console.log(this.monday + ' ' + this.tuesday + ' ' + this.wednesday + ' ' + |
|
|
|
|
|
this.thursday + ' ' + this.friday + ' ' + this.saturday + ' ' + this.sunday); |
|
|
|
|
|
|
|
|
|
|
|
var count = Number(this.monday) + Number(this.tuesday) + Number(this.wednesday) |
|
|
|
|
|
+ Number(this.thursday) + Number(this.friday) + Number(this.saturday) |
|
|
|
|
|
+ Number(this.sunday); |
|
|
|
|
|
|
|
|
var count = Number(this.monday) + Number(this.tuesday) + Number(this.wednesday) + Number(this.thursday) + Number(this.friday) + Number(this.saturday) + Number(this.sunday); |
|
|
|
|
|
|
|
|
if (count == 1 && this.lastCountDays == 0) { |
|
|
if (count == 1 && this.lastCountDays == 0) { |
|
|
this.lastCountDays = count; |
|
|
this.lastCountDays = count; |