|
@@ -23,6 +23,8 @@
|
|
|
value="TRAINING_SINGLE"></el-option>
|
|
|
<el-option label="单技课"
|
|
|
value="SINGLE"></el-option>
|
|
|
+ <el-option label="乐团网管课"
|
|
|
+ value="HIGH_ONLINE"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="班级名称">
|
|
@@ -127,11 +129,11 @@ export default {
|
|
|
components: {
|
|
|
pagination
|
|
|
},
|
|
|
- activated(){
|
|
|
- this.init()
|
|
|
+ activated () {
|
|
|
+ this.init()
|
|
|
},
|
|
|
mounted () {
|
|
|
- this.init()
|
|
|
+ this.init()
|
|
|
},
|
|
|
methods: {
|
|
|
/**
|
|
@@ -140,21 +142,21 @@ export default {
|
|
|
timer:[] // 时间
|
|
|
*
|
|
|
*/
|
|
|
- init(){
|
|
|
- this.getList();
|
|
|
- // 获取所有老师
|
|
|
- getTeacher().then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.teacherList = res.data;
|
|
|
- }
|
|
|
- })
|
|
|
+ init () {
|
|
|
+ this.getList();
|
|
|
+ // 获取所有老师
|
|
|
+ getTeacher().then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.teacherList = res.data;
|
|
|
+ }
|
|
|
+ })
|
|
|
|
|
|
- // 获取班级列表
|
|
|
- getMusicGroupAllClass({ musicGroupId: this.teamid }).then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.classList = res.data;
|
|
|
- }
|
|
|
- })
|
|
|
+ // 获取班级列表
|
|
|
+ getMusicGroupAllClass({ musicGroupId: this.teamid }).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.classList = res.data;
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
search () {
|
|
|
this.rules.page = 1;
|