浏览代码

修改提示

lex-xin 4 年之前
父节点
当前提交
84089fced3
共有 1 个文件被更改,包括 11 次插入8 次删除
  1. 11 8
      src/views/teamBuild/forecastName.vue

+ 11 - 8
src/views/teamBuild/forecastName.vue

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