|
|
|
@ -63,7 +63,8 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
|
|
|
|
|
}]);
|
|
|
|
|
app.controller('managerIndexCtrl', ['$scope', '$rootScope', '$http', '$log', '$timeout', '$interval', '$uibModal', '$filter', 'myLoginLogView', 'commonDialog',
|
|
|
|
|
function ($scope, $rootScope, $http, $log, $timeout, $interval, $uibModal, $filter, myLoginLogView, commonDialog) {
|
|
|
|
|
if (sessionStorage.getItem('roleNum') =='N'){
|
|
|
|
|
$scope.roleNow = getroleNow();
|
|
|
|
|
if (sessionStorage.getItem('roleNum') =='N'){
|
|
|
|
|
if (window.location.hash == "" || window.location.hash == "#/home") {
|
|
|
|
|
$scope.headerDisplay = false;
|
|
|
|
|
$scope.copyright = false;
|
|
|
|
@ -85,8 +86,8 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
|
|
|
|
|
$scope.headerDisplay = true;
|
|
|
|
|
$scope.copyright = true;
|
|
|
|
|
sessionStorage.setItem('role',role);
|
|
|
|
|
$scope.roleNow = getroleNow();
|
|
|
|
|
};
|
|
|
|
|
$scope.roleNow = getroleNow();
|
|
|
|
|
|
|
|
|
|
function getroleNow() {
|
|
|
|
|
var roleNow = "";
|
|
|
|
|