Browse Source

修改弹窗信息

lex-xin 5 years ago
parent
commit
ec014f4e67

File diff suppressed because it is too large
+ 0 - 0
dist/css/chunk-7261540c.8a392a52.css


File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.1171dfaf.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.1171dfaf.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/chunk-2383534e.98a070bd.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/chunk-2383534e.98a070bd.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/chunk-7261540c.7d5a8904.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/chunk-7261540c.7d5a8904.js.map


+ 26 - 25
src/views/register.vue

@@ -221,31 +221,32 @@ export default {
             })).then((res) => {
                 let result = res.data
                 if(result.code == 200) {
-                    Dialog.alert({
-                        title: '提示',
-                        message: '恭喜您,已报名成功',
-                        confirmButtonColor: '#269a93'
-                    }).then(() => {
-                        // 判断是否开启缴费
-                        if(params.status == 2) {
-                            this.$router.push({
-                                path: 'home',
-                                query: {
-                                    branchId: params.branchId,
-                                    stuId: result.data,
-                                    classId: params.classId,
-                                    cityId: params.cityId,
-                                    schoolId: params.schoolId
-                                }
-                            })
-                        } else {
-                            // 跳转到登录页面
-                            this.$router.push({ path: 'login', query: {
-                                schoolId: params.schoolId, // 学校编号
-                                cityId: params.cityId // 城市编号
-                            }})
-                        }
-                    })
+                    // Dialog.alert({
+                    //     title: '提示',
+                    //     message: '恭喜您,已报名成功',
+                    //     confirmButtonColor: '#269a93'
+                    // }).then(() => {
+                        
+                    // })
+                    // 判断是否开启缴费
+                    if(params.status == 2) {
+                        this.$router.push({
+                            path: 'home',
+                            query: {
+                                branchId: params.branchId,
+                                stuId: result.data,
+                                classId: params.classId,
+                                cityId: params.cityId,
+                                schoolId: params.schoolId
+                            }
+                        })
+                    } else {
+                        // 跳转到登录页面
+                        this.$router.push({ path: 'login', query: {
+                            schoolId: params.schoolId, // 学校编号
+                            cityId: params.cityId // 城市编号
+                        }})
+                    }
                 } else {
                     Toast(result.msg)
                 }

+ 2 - 2
vue.config.js

@@ -1,5 +1,5 @@
-let targetUrl = 'https://pay.dayaedu.com'
-// let targetUrl = 'http://192.168.3.38:8088'
+// let targetUrl = 'https://pay.dayaedu.com'
+let targetUrl = 'http://192.168.3.48:8000'
 module.exports = {
     devServer: {
         open: process.platform === 'darwin',

Some files were not shown because too many files changed in this diff