|
@@ -5,6 +5,13 @@
|
|
|
<van-cell title="课程班名称" :value="classGroupName" />
|
|
|
</van-cell-group>
|
|
|
<van-cell-group>
|
|
|
+ <van-cell title="课程类型" >
|
|
|
+ <template #default>
|
|
|
+ {{ classType | coursesType }}
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ </van-cell-group>
|
|
|
+ <van-cell-group>
|
|
|
<van-cell title="上课时间" :value="classTimer" />
|
|
|
</van-cell-group>
|
|
|
<van-cell-group>
|
|
@@ -70,7 +77,7 @@
|
|
|
placeholder="请输入(1-255字)"
|
|
|
/>
|
|
|
</van-cell-group> -->
|
|
|
- <van-cell-group>
|
|
|
+ <van-cell-group v-if="classType != 'VIP'">
|
|
|
<van-cell title="是否完成双向沟通" value-class="twoConnect">
|
|
|
<template slot="default">
|
|
|
<van-radio-group required v-model="hasLiaison" direction="horizontal">
|
|
@@ -80,7 +87,7 @@
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
</van-cell-group>
|
|
|
-<!--
|
|
|
+<!--
|
|
|
<van-cell-group v-if="isReset">
|
|
|
<van-cell title="是否完成作业" value-class="twoConnect">
|
|
|
<template slot="default">
|
|
@@ -134,6 +141,7 @@ export default {
|
|
|
reviewId: null,
|
|
|
classTimer: null,
|
|
|
classGroupName: null,
|
|
|
+ classType: null, // 课程类型
|
|
|
teachingMaterial: null, //教材
|
|
|
song: null, // 曲目
|
|
|
pronunciation: null, // 发音
|
|
@@ -191,6 +199,7 @@ export default {
|
|
|
teacherClassHeadInfo.endClassTime;
|
|
|
this.subjectNames = teacherClassHeadInfo.subjectNames;
|
|
|
this.classGroupName = teacherClassHeadInfo.classGroupName;
|
|
|
+ this.classType = teacherClassHeadInfo.courseScheduleType
|
|
|
|
|
|
// 评价内容
|
|
|
let courseScheduleReview = result.courseScheduleReview
|
|
@@ -216,6 +225,7 @@ export default {
|
|
|
result.endClassTime;
|
|
|
this.subjectNames = result.subjectNames;
|
|
|
this.classGroupName = result.classGroupName;
|
|
|
+ this.classType = result.courseScheduleType
|
|
|
}
|
|
|
});
|
|
|
}
|
|
@@ -234,7 +244,8 @@ export default {
|
|
|
this.$toast("请输入备注");
|
|
|
return;
|
|
|
}
|
|
|
- if (!this.hasLiaison) {
|
|
|
+ // VIP课程是没有双向沟通的
|
|
|
+ if (!this.hasLiaison && this.classType != 'VIP') {
|
|
|
this.$toast("请勾选双向沟通");
|
|
|
return;
|
|
|
}
|