|
|
@ -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);
|
|
|
|