|
@@ -51,6 +51,22 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item
|
|
|
+ label="收费模式"
|
|
|
+ prop="courseViewType"
|
|
|
+ :rules="[{ required: true, message: '收费模式不能为空' }]"
|
|
|
+ >
|
|
|
+ <el-select
|
|
|
+ v-model.trim="topFrom.courseViewType"
|
|
|
+ filterable
|
|
|
+ :disabled="basdisabled"
|
|
|
+ clearable
|
|
|
+ >
|
|
|
+ <el-option label="课程收费" :value="0"></el-option>
|
|
|
+ <el-option label="系统收费" :value="1"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
+ <el-form-item
|
|
|
label="合作单位"
|
|
|
prop="school"
|
|
|
:rules="[{ required: true, message: '合作单位不能为空' }]"
|
|
@@ -349,6 +365,7 @@ export default {
|
|
|
topFrom: {
|
|
|
type: "", // 收费类型
|
|
|
section: "", //所属分部
|
|
|
+ courseViewType: "", // 收费模式
|
|
|
school: "", // 合作单位
|
|
|
teacher: "", // 乐团主管
|
|
|
name: "", //乐团名称
|
|
@@ -551,6 +568,7 @@ export default {
|
|
|
this.topFrom.paymentValidEndDate =
|
|
|
res.data.musicGroup.paymentValidEndDate;
|
|
|
this.topFrom.section = res.data.musicGroup.organId;
|
|
|
+ this.topFrom.courseViewType = res.data.musicGroup.courseViewType;
|
|
|
this.topFrom.school = res.data.musicGroup.cooperationOrganId;
|
|
|
this.topFrom.teacher = res.data.musicGroup.educationalTeacherId;
|
|
|
this.topFrom.boss = res.data.musicGroup.teamTeacherId;
|
|
@@ -613,6 +631,7 @@ export default {
|
|
|
type: "", // 收费类型
|
|
|
section: "", //所属分部
|
|
|
school: "", // 合作单位
|
|
|
+ courseViewType: "",
|
|
|
teacher: "", // 乐团主管
|
|
|
name: "", //乐团名称
|
|
|
boss: "", // 运营主管
|
|
@@ -741,6 +760,7 @@ export default {
|
|
|
),
|
|
|
chargeTypeId: this.topFrom.type,
|
|
|
cooperationOrganId: this.topFrom.school,
|
|
|
+ courseViewType: this.topFrom.courseViewType,
|
|
|
teamTeacherId: this.topFrom.boss,
|
|
|
educationalTeacherId: this.topFrom.teacher,
|
|
|
enrollClasses: this.topFrom.startClass.join(","),
|