|
|
|
@ -42,6 +42,9 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
connectWebSocket();
|
|
|
|
|
if ($scope.currentUser.role == 1 || $scope.currentUser.role == 2) {
|
|
|
|
|
$scope.getAgStatus();
|
|
|
|
|
}
|
|
|
|
|
}, function (resp) {
|
|
|
|
|
if (resp.status == 403) {
|
|
|
|
|
location.href = 'login.html?f=' + encodeURIComponent(location.href);
|
|
|
|
@ -131,9 +134,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
if ($scope.currentUser.role == 1 || $scope.currentUser.role == 2) {
|
|
|
|
|
$scope.getAgStatus();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$scope.refundNotice = {counts: 0};
|
|
|
|
|
$scope.openRefundNotice = false;
|
|
|
|
|
$scope.showRefundNotice = function () {
|
|
|
|
|