|
@@ -285,12 +285,19 @@ export default {
|
|
|
},
|
|
|
async onPaymentGroup(type) {
|
|
|
try {
|
|
|
- const result = await finishPreApply({
|
|
|
- isCheckStudentNum: type == 1 ? false : true,
|
|
|
- musicGroupId: this.musicGroupId
|
|
|
- })
|
|
|
- this.$router.push({
|
|
|
- path: '/business/teamDetail'
|
|
|
+ this.$confirm('您是否确定开启乐团缴费?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(async () => {
|
|
|
+ const result = await finishPreApply({
|
|
|
+ isCheckStudentNum: type == 1 ? false : true,
|
|
|
+ musicGroupId: this.musicGroupId
|
|
|
+ })
|
|
|
+ this.$store.dispatch('delVisitedViews', this.$route)
|
|
|
+ this.$router.push({
|
|
|
+ path: '/business/teamDetail'
|
|
|
+ })
|
|
|
})
|
|
|
} catch(error) {}
|
|
|
},
|