Browse Source

修改调整页面

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@1387 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
suntg 11 years ago
parent
commit
566aac3518
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/main/webapp/resources/js/serve/app.js

+ 5 - 5
src/main/webapp/resources/js/serve/app.js

@@ -311,7 +311,7 @@ define([ 'toaster', 'ngTable', 'common/services', 'ui.router', 'ui.bootstrap', '
 		$scope.modifyPwd = function(userUu,checkCode){
 			$scope.resetSuccess = true;
 			setTimeout(function() {//延迟3秒执行
-				window.location.href = "http://localhost:8080/platform-b2b/serve#/self/forget_pwd4/"+userUu+"/"+checkCode;
+				window.location.replace('serve/#/self/forget_pwd4/' + userUu + '/' + checkCode);
 			}, 3000);
 		}
 		
@@ -324,7 +324,7 @@ define([ 'toaster', 'ngTable', 'common/services', 'ui.router', 'ui.bootstrap', '
 				$scope.msgInfoSuccess = false;
 				$scope.msgInfoError = false;
 				setTimeout(function() {//延迟5秒执行
-					window.location.href = "http://localhost:8080/platform-b2b/serve";
+					window.location.replace('serve');
 				}, 5000);
 			}else{
 				$scope.loading = false;
@@ -358,7 +358,7 @@ define([ 'toaster', 'ngTable', 'common/services', 'ui.router', 'ui.bootstrap', '
 				$scope.resetSuccess = true;
 				$scope.resetError = false;
 				setTimeout(function() {//延迟3秒执行
-					window.location.href = "http://www.ubtob.com";
+					window.location.replace('singin');
 				}, 2000);
 			}, function(data){
 				$scope.loading = false;
@@ -608,7 +608,7 @@ define([ 'toaster', 'ngTable', 'common/services', 'ui.router', 'ui.bootstrap', '
 				AuthenticationService.getAuthentication().success(function(data) {
 					$scope.user = data;
 					if($scope.user.sys){	//是管理员,页面跳转
-						window.location.href="./#/account/user";
+						window.location.href = "./#/account/user";
 					}
 					else
 						$scope.sys =false;	//非管理员,当前页面提示信息
@@ -616,7 +616,7 @@ define([ 'toaster', 'ngTable', 'common/services', 'ui.router', 'ui.bootstrap', '
 			}
 			//未登录
 			else{
-				window.location.href="signin#/account/user";
+				window.location.href = "signin#/account/user";
 			}
 		}
 	}]);