|
@@ -154,22 +154,22 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="班级人数"
|
|
|
- prop="studentNum"
|
|
|
+ prop="expectStudentNum"
|
|
|
:rules="[{ required: true, message: '请输入班级人数',trigger: 'blur'},{pattern:/[3-5]/,message:'班级人数必须为3-5人',trigger: 'blur'}]"
|
|
|
v-if=" newClassForm.type == 'HIGH_ONLINE'">
|
|
|
<el-input style="width:180px;"
|
|
|
type="number"
|
|
|
@mousewheel.native.prevent
|
|
|
- v-model="newClassForm.studentNum"></el-input>
|
|
|
+ v-model="newClassForm.expectStudentNum"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="班级人数"
|
|
|
- prop="studentNum"
|
|
|
+ prop="expectStudentNum"
|
|
|
type="number"
|
|
|
:rules="[{ required: true, message: '请输入班级人数',trigger: 'blur'}]"
|
|
|
@mousewheel.native.prevent
|
|
|
v-if="newClassForm.type =='HIGH'">
|
|
|
<el-input style="width:180px;"
|
|
|
- v-model="newClassForm.studentNum"></el-input>
|
|
|
+ v-model="newClassForm.expectStudentNum"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="主教老师"
|
|
|
prop="bishop"
|
|
@@ -659,7 +659,7 @@ export default {
|
|
|
className: null,
|
|
|
type: null,
|
|
|
subjectIdList: null,
|
|
|
- studentNum: null,
|
|
|
+ expectStudentNum: null,
|
|
|
bishop: null,
|
|
|
teaching: [],
|
|
|
},
|
|
@@ -794,7 +794,7 @@ export default {
|
|
|
obj.type = this.newClassForm.type;
|
|
|
obj.groupType = 'MUSIC'
|
|
|
obj.subjectIdList = this.newClassForm.subjectIdList.join(',')
|
|
|
- obj.studentNum = this.newClassForm.studentNum;
|
|
|
+ obj.expectStudentNum = this.newClassForm.expectStudentNum;
|
|
|
obj.teacherMapperList = [];
|
|
|
obj.teacherMapperList.push({ userId: this.newClassForm.bishop, teacherRole: 'BISHOP' })
|
|
|
for (let i in this.newClassForm.teaching) {
|
|
@@ -1400,7 +1400,7 @@ export default {
|
|
|
className: null,
|
|
|
type: null,
|
|
|
subjectIdList: null,
|
|
|
- studentNum: null,
|
|
|
+ expectStudentNum: null,
|
|
|
bishop: null,
|
|
|
teaching: null
|
|
|
}
|