|
|
|
@ -65,7 +65,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
|
|
|
|
|
function ($scope, $state,$rootScope, $http, $log, $timeout, $interval, $uibModal, $filter, myLoginLogView, commonDialog) {
|
|
|
|
|
$scope.rolelist = window.getRoleMenulist(window.currentUser.role);
|
|
|
|
|
$scope.roleNow = getroleNow();
|
|
|
|
|
$scope.roleName = getroleNow();
|
|
|
|
|
$scope.roleName = sessionStorage.getItem('role');
|
|
|
|
|
$scope.changeRole = function (index) {
|
|
|
|
|
sessionStorage.setItem('role',index);
|
|
|
|
|
$scope.roleNow = getroleNow();
|
|
|
|
|