luoyang 6 years ago
parent fca560e90a
commit 303eccdff9

@ -324,7 +324,9 @@ margin-bottom: 10%;"/>
</ul> </ul>
</li> </li>
<li class="menu-group" ng-if="roleNow!=null && roleNow!='administrator' && roleNow!='developer' && roleNow!='sitemanager'"> <li class="menu-group" ng-if="roleNow!=null && roleNow!='administrator' && roleNow!='developer' && roleNow!='sitemanager'
&& ('tradelog'|withModule|| 'transAnalysis'|withModule ||'dashboard'|withModule||'refundAnalysisApp'|withModule
||'channels_Analysis'|withModule)">
<p role="button" ng-class="{'active': Transaction,'is-hide':hideSideBar}" ng-click="Transaction = !Transaction"> <p role="button" ng-class="{'active': Transaction,'is-hide':hideSideBar}" ng-click="Transaction = !Transaction">
<span>交易管理|Transaction</span> <span>交易管理|Transaction</span>
<span class="pull-right-container"> <span class="pull-right-container">

@ -140,7 +140,7 @@ margin-bottom: 10%;"/>
<nav style="margin-left: 0px" class="navbar navbar-static-top navbar-static-top-yedian" role="navigation"> <nav style="margin-left: 0px" class="navbar navbar-static-top navbar-static-top-yedian" role="navigation">
<!-- Logo --> <!-- Logo -->
<a ui-sref="home" ng-click="headerCopyDisplay()" class="logo logo-yedian shine" ng-if="!currentUser.org"> <a ng-click="headerCopyDisplay()" class="logo logo-yedian shine" ng-if="!currentUser.org">
<!-- mini logo for sidebar mini 50x50 pixels --> <!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"></span> <span class="logo-mini"></span>
<!-- logo for regular state and mobile devices --> <!-- logo for regular state and mobile devices -->
@ -150,7 +150,7 @@ margin-bottom: 10%;"/>
</span> </span>
</a> </a>
<a ui-sref="home" ng-click="headerCopyDisplay()" class="logo logo-yedian shine" ng-if="currentUser.org"> <a ng-click="headerCopyDisplay()" class="logo logo-yedian shine" ng-if="currentUser.org">
<!-- mini logo for sidebar mini 50x50 pixels --> <!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"></span> <span class="logo-mini"></span>
<!-- logo for regular state and mobile devices --> <!-- logo for regular state and mobile devices -->

@ -275,7 +275,7 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
roleMenu.push({'value':'riskmanager','module':"风控中心"}); roleMenu.push({'value':'riskmanager','module':"风控中心"});
} }
if ((role & 2048) >0){ if ((role & 2048) >0){
roleMenu.push({'value':'guest','module':"guest"}); roleMenu.push({'value':'guest','module':"访客中心"});
} }
if ((role & 8192) >0){ if ((role & 8192) >0){
roleMenu.push({'value':'salesmanager','module':"销管中心"}); roleMenu.push({'value':'salesmanager','module':"销管中心"});

@ -89,6 +89,11 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
} }
$scope.headerCopyDisplay = function () { $scope.headerCopyDisplay = function () {
debugger;
if (sessionStorage.getItem('role')=='guest'){
return;
}
$state.go('home');
$scope.headerDisplay = false; $scope.headerDisplay = false;
$scope.copyright = false; $scope.copyright = false;
}; };

@ -103,7 +103,9 @@
</div> </div>
</div> </div>
</div> </div>
<div class="list-group" ng-if="role!=null && role!='administrator' && role!='developer' && role!='sitemanager' && 'tradelog'|withModule"> <div class="list-group" ng-if="roleNow!=null && roleNow!='administrator' && roleNow!='developer' && roleNow!='sitemanager'
&& ('tradelog'|withModule|| 'transAnalysis'|withModule ||'dashboard'|withModule||'refundAnalysisApp'|withModule
||'channels_Analysis'|withModule)">
<div class="row" > <div class="row" >
<div class="col-sm-2 col-lg-2 col-xs-6" id="transaction"> <div class="col-sm-2 col-lg-2 col-xs-6" id="transaction">
<div class="description-block"> <div class="description-block">

Loading…
Cancel
Save