|
@@ -57,7 +57,25 @@
|
|
|
</select-all>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="线上基础技能班">
|
|
|
+ <select-all
|
|
|
+ v-model.trim="form.highonline"
|
|
|
+ filterable
|
|
|
+ clearable
|
|
|
+ multiple
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in highonlineList.filter(item => item.lockFlag != 1)"
|
|
|
+ :key="index"
|
|
|
+ :value="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ ></el-option>
|
|
|
+ </select-all>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
+ <!-- highonlineList -->
|
|
|
</el-form>
|
|
|
<el-alert title="课程信息设置" :closable="false" class="alert" type="info">
|
|
|
</el-alert>
|
|
@@ -155,7 +173,7 @@ import { courseType } from '@/constant'
|
|
|
import { getTimes, objectToOptions } from "@/utils";
|
|
|
import { paymentPatternType } from '@/constant'
|
|
|
export default {
|
|
|
- props: ["snapList", "highList", "mixList", "signList", 'createdUserId', 'organizationCourseUnitPriceSettings', 'musicGroupId', 'baseInfo'],
|
|
|
+ props: ["snapList", "highList", "mixList", "signList", 'highonlineList','createdUserId', 'organizationCourseUnitPriceSettings', 'musicGroupId', 'baseInfo'],
|
|
|
components: {
|
|
|
paymentCycle,
|
|
|
otherform,
|
|
@@ -170,6 +188,7 @@ export default {
|
|
|
mixClass: '',
|
|
|
highClass: '',
|
|
|
snapClass: '',
|
|
|
+ highonline:''
|
|
|
},
|
|
|
payment: {
|
|
|
paymentPattern: null,
|
|
@@ -196,6 +215,9 @@ export default {
|
|
|
'form.snapClass'() {
|
|
|
this.classChange()
|
|
|
},
|
|
|
+ 'form.highonline'(){
|
|
|
+ this.classChange()
|
|
|
+ },
|
|
|
'payment.paymentPattern'() {
|
|
|
this.syncAllMoney()
|
|
|
},
|
|
@@ -270,7 +292,7 @@ export default {
|
|
|
return _
|
|
|
},
|
|
|
getAllIds() {
|
|
|
- return [this.form.signClass, this.form.mixClass, this.form.highClass, ...this.form.snapClass].filter(item => !!item)
|
|
|
+ return [this.form.signClass, this.form.mixClass, this.form.highClass, this.form.highonline,...this.form.snapClass].filter(item => !!item)
|
|
|
},
|
|
|
async classChange() {
|
|
|
try {
|