|
@@ -129,13 +129,9 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
- prop="realName"
|
|
|
+ prop="kitPurchaseMethod"
|
|
|
label="乐器准备方式"
|
|
|
- >
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.kitPurchaseMethod == 1 ? '参与团购' : '自行准备' }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
+ ></el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
prop="courseScheduleId"
|
|
@@ -248,8 +244,8 @@ export default {
|
|
|
},
|
|
|
}
|
|
|
},
|
|
|
- mounted() {
|
|
|
- this.$store.dispatch('setSubjects')
|
|
|
+ async mounted() {
|
|
|
+ await this.$store.dispatch('setSubjects')
|
|
|
this.getList()
|
|
|
},
|
|
|
methods: {
|
|
@@ -279,6 +275,11 @@ export default {
|
|
|
},
|
|
|
async onPaymentGroup(type) {
|
|
|
try {
|
|
|
+ await this.$confirm('您是否确定开启乐团缴费?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
const result = await finishPreApply({
|
|
|
isCheckStudentNum: type == 1 ? false : true,
|
|
|
musicGroupId: this.musicGroupId
|