|
|
@ -69,7 +69,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();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$scope.loadPartnerNotice();
|
|
|
|
}, 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);
|
|
|
@ -100,7 +100,6 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
};
|
|
|
|
};
|
|
|
|
$scope.loadPartnerNotice();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$scope.loadSignEvents = function () {
|
|
|
|
$scope.loadSignEvents = function () {
|
|
|
|
$http.get('/client/partner_info/sign_events').then(function (resp) {
|
|
|
|
$http.get('/client/partner_info/sign_events').then(function (resp) {
|
|
|
|