eason.qian 7 years ago
parent 5015d7983b
commit 921936404b

@ -45,6 +45,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
if ($scope.currentUser.role == 1 || $scope.currentUser.role == 2) { if ($scope.currentUser.role == 1 || $scope.currentUser.role == 2) {
$scope.getAgStatus(); $scope.getAgStatus();
} }
}, function (resp) { }, function (resp) {
if (resp.status == 403) { if (resp.status == 403) {
location.href = 'login.html?f=' + encodeURIComponent(location.href); location.href = 'login.html?f=' + encodeURIComponent(location.href);

Loading…
Cancel
Save