|
@@ -285,18 +285,21 @@ export default {
|
|
|
},
|
|
|
async onPaymentGroup(type) {
|
|
|
try {
|
|
|
- await this.$confirm('您是否确定开启乐团缴费?', '提示', {
|
|
|
+ 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'
|
|
|
+ })
|
|
|
})
|
|
|
- const result = await finishPreApply({
|
|
|
- isCheckStudentNum: type == 1 ? false : true,
|
|
|
- musicGroupId: this.musicGroupId
|
|
|
- })
|
|
|
- this.$router.push({
|
|
|
- path: '/business/teamDetail'
|
|
|
- })
|
|
|
+
|
|
|
} catch(error) {}
|
|
|
},
|
|
|
addVisited(rows) {
|