|
|
|
|
@ -84,13 +84,13 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div v-if="live" class="info__field field" |
|
|
|
|
<!-- <div v-if="live" class="info__field field" |
|
|
|
|
v-bind:class="{ error: ($v.course.date.$dirty || showErrors) && $v.course.date.$invalid }"> |
|
|
|
|
<div class="field__label">ДАТА</div> |
|
|
|
|
<div class="field__wrap"> |
|
|
|
|
<lil-select :value.sync="course.date" :options="scheduleOptions" placeholder="Выберите дату"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> --> |
|
|
|
|
|
|
|
|
|
<div v-if="!live" class="info__field field"> |
|
|
|
|
<div class="field__label field__label_gray">ДОСТУП</div> |
|
|
|
|
@ -656,11 +656,11 @@ |
|
|
|
|
this.course = api.convertCourseJson(response.data); |
|
|
|
|
this.course.live = this.live; |
|
|
|
|
|
|
|
|
|
if (this.live && this.course.date) { |
|
|
|
|
/* if (this.live && this.course.date) { |
|
|
|
|
this.course.date = _.find(this.scheduleOptions, (item) => { |
|
|
|
|
return item.value == this.course.date; |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} */ |
|
|
|
|
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
this.courseLoading = false; |
|
|
|
|
@ -841,11 +841,11 @@ |
|
|
|
|
this.course.id = courseData.id; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if(this.live && courseData.date) { |
|
|
|
|
/*if(this.live && courseData.date) { |
|
|
|
|
this.course.date = _.find(this.scheduleOptions, function(item){ |
|
|
|
|
return item.value == courseData.date; |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}*/ |
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
this.courseSyncHook = false; |
|
|
|
|
}); |
|
|
|
|
|