Explorar o código

Merge branch 'wxl_01_15' into online

lex-xin %!s(int64=4) %!d(string=hai) anos
pai
achega
4b6fa5b22b
Modificáronse 1 ficheiros con 13 adicións e 6 borrados
  1. 13 6
      src/views/teamBuild/forecastName.vue

+ 13 - 6
src/views/teamBuild/forecastName.vue

@@ -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) {}
         },