wgl пре 4 година
родитељ
комит
aa7c25ff6a

+ 13 - 8
src/projects/home/views/Register/Business/Step4.vue

@@ -210,15 +210,20 @@
 						this.isLoading = false;
 
 						if (this.person_data) {
-							mui.toast('提交成功,等待审核中');
-							//跳转到项目主页上去
-							window.location.href = '../business/#/master';
+							//mui.toast('提交成功,等待审核中');
+							mui.alert('提交成功,等待审核中', ' ', function() {
+								//跳转到项目主页上去
+								window.location.href = '../business/#/master';
+							});
 						} else {
-							mui.toast('提交成功,等待审核中');
-							this.$router.push({
-								name: 'UserLogin',
-								project: 'business'
-							})
+							//mui.toast('提交成功,等待审核中');
+							var _this = this;
+							mui.alert('提交成功,等待审核中', ' ', function() {
+								_this.$router.push({
+									name: 'UserLogin',
+									project: 'business'
+								})
+							});
 						}
 
 					}).catch(error => {

+ 13 - 8
src/projects/home/views/Register/Pension/Step4.vue

@@ -220,15 +220,20 @@
 						this.isLoading = false;
 
 						if (this.person_data) {
-							mui.toast('提交成功,等待审核中');
-							//跳转到项目主页上去
-							window.location.href = '../pension/#/master';
+							//mui.toast('提交成功,等待审核中');
+							mui.alert('提交成功,等待审核中', ' ', function() {
+								//跳转到项目主页上去
+								window.location.href = '../pension/#/master';
+							});
 						} else {
-							mui.toast('提交成功,等待审核中');
-							this.$router.push({
-								name: 'UserLogin',
-								project: 'pension'
-							})
+							//mui.toast('提交成功,等待审核中');
+							var _this = this;
+							mui.alert('提交成功,等待审核中', ' ', function() {
+								_this.$router.push({
+									name: 'UserLogin',
+									project: 'business'
+								})
+							});
 						}
 
 

+ 13 - 8
src/projects/home/views/Register/Residence/Step4.vue

@@ -205,15 +205,20 @@
 						this.isLoading = false;
 
 						if (this.person_data) {
-							mui.toast('提交成功,等待审核中');
-							//跳转到项目主页上去
-							window.location.href = '../business/#/master';
+							//mui.toast('提交成功,等待审核中');
+							mui.alert('提交成功,等待审核中', ' ', function() {
+								//跳转到项目主页上去
+								window.location.href = '../business/#/master';
+							});
 						} else {
-							mui.toast('提交成功,等待审核中');
-							this.$router.push({
-								name: 'UserLogin',
-								project: 'business'
-							})
+							//mui.toast('提交成功,等待审核中');
+							var _this = this;
+							mui.alert('提交成功,等待审核中', ' ', function() {
+								_this.$router.push({
+									name: 'UserLogin',
+									project: 'business'
+								})
+							});
 						}
 
 					}).catch(error => {