|
|
@@ -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";
|
|
|
}
|
|
|
}
|
|
|
}]);
|