|
@@ -368,7 +368,9 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="课程费用"
|
|
|
prop="courseFee">
|
|
|
- <el-input v-model="maskForm.courseFee" type="number" @mousewheel.native.prevent
|
|
|
+ <el-input v-model="maskForm.courseFee"
|
|
|
+ type="number"
|
|
|
+ @mousewheel.native.prevent
|
|
|
placeholder="续费金额"></el-input>
|
|
|
</el-form-item>
|
|
|
<br>
|
|
@@ -445,10 +447,15 @@
|
|
|
<el-form-item>
|
|
|
<el-input v-model="maskForm.musicPrice"
|
|
|
placeholder="输入金额">
|
|
|
- <el-select v-model="maskForm.kitGroupPurchaseType" style="width: 80px !important;" slot="prepend">
|
|
|
- <el-option label="免费" value="FREE"></el-option>
|
|
|
- <el-option label="团购" value="GROUP"></el-option>
|
|
|
- <el-option label="租赁" value="LEASE"></el-option>
|
|
|
+ <el-select v-model="maskForm.kitGroupPurchaseType"
|
|
|
+ style="width: 80px !important;"
|
|
|
+ slot="prepend">
|
|
|
+ <el-option label="免费"
|
|
|
+ value="FREE"></el-option>
|
|
|
+ <el-option label="团购"
|
|
|
+ value="GROUP"></el-option>
|
|
|
+ <el-option label="租赁"
|
|
|
+ value="LEASE"></el-option>
|
|
|
</el-select>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
@@ -767,53 +774,56 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|
|
|
-
|
|
|
- // 获取汇总数据
|
|
|
- getTeamStudentInfo({ musicGroupId: this.teamid }).then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.studentListInfo = res.data;
|
|
|
- }
|
|
|
- });
|
|
|
- this.getList();
|
|
|
- // 获取乐团内所有声部
|
|
|
- findSound({ musicGroupId: this.teamid }).then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.soundList = res.data;
|
|
|
- }
|
|
|
- })
|
|
|
-
|
|
|
- // getSubject().then(res => {
|
|
|
- // if (res.code == 200) {
|
|
|
- // this.soundList = res.data;
|
|
|
- // }
|
|
|
- // })
|
|
|
- // 获取乐团所有单技课班
|
|
|
- // getSingleClass({ musicGroupId: this.teamid }).then(res => {
|
|
|
- // if (res.code == 200) {
|
|
|
- // this.signList = res.data;
|
|
|
- // }
|
|
|
- // })
|
|
|
- // 获取乐团所有合奏课
|
|
|
- getMusicGroupAllClass({ musicGroupId: this.teamid }).then(res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.classList = res.data;
|
|
|
- res.data.forEach(item => {
|
|
|
- if (item.type == 'NORMAL') {
|
|
|
- this.signList.push(item);
|
|
|
- } else if (item.type == 'MIX') {
|
|
|
- this.mixList.push(item);
|
|
|
- } else if (item.type == 'HIGH') {
|
|
|
- this.highList.push(item)
|
|
|
- } else if (item.type == 'SNAP') {
|
|
|
- this.snapList.push(item);
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
-
|
|
|
-
|
|
|
+ this.init()
|
|
|
+ },
|
|
|
+ activated () {
|
|
|
+ this.init()
|
|
|
},
|
|
|
methods: {
|
|
|
+ init () {
|
|
|
+ // 获取汇总数据
|
|
|
+ getTeamStudentInfo({ musicGroupId: this.teamid }).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.studentListInfo = res.data;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ this.getList();
|
|
|
+ // 获取乐团内所有声部
|
|
|
+ findSound({ musicGroupId: this.teamid }).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.soundList = res.data;
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ // getSubject().then(res => {
|
|
|
+ // if (res.code == 200) {
|
|
|
+ // this.soundList = res.data;
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // 获取乐团所有单技课班
|
|
|
+ // getSingleClass({ musicGroupId: this.teamid }).then(res => {
|
|
|
+ // if (res.code == 200) {
|
|
|
+ // this.signList = res.data;
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // 获取乐团所有合奏课
|
|
|
+ getMusicGroupAllClass({ musicGroupId: this.teamid }).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.classList = res.data;
|
|
|
+ res.data.forEach(item => {
|
|
|
+ if (item.type == 'NORMAL') {
|
|
|
+ this.signList.push(item);
|
|
|
+ } else if (item.type == 'MIX') {
|
|
|
+ this.mixList.push(item);
|
|
|
+ } else if (item.type == 'HIGH') {
|
|
|
+ this.highList.push(item)
|
|
|
+ } else if (item.type == 'SNAP') {
|
|
|
+ this.snapList.push(item);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
onMusicGroupExport () {
|
|
|
let url = '/api-web/export/musicGroupStudent'
|
|
|
let data = {
|