master
luoyang 6 years ago
parent a0d7a4c631
commit 919c7783be

@ -327,95 +327,95 @@ margin-bottom: 10%;"/>
</div>
<div style="margin: 0 auto;display: flex;padding-top: 40px;padding-bottom:0.5%;width: 60%;min-height:626px;flex-wrap:wrap">
<div class="box-items" ng-if="'10'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Compliance'})" ui-sref-opts="{reload:true}">
<div class="box-items" ng-if="'100'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'bduser'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_1.png">
</div>
<p class="box-font">Compliance</p>
<p class="box-font">销售中心</p>
</a>
</div>
<div class="box-items" ng-if="'10000000000'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'RiskManager'})" ui-sref-opts="{reload:true}">
<div class="box-items" ng-if="'1000000000'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'riskmanager'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_2.png">
</div>
<p class="box-font">Risk Manager</p>
<p class="box-font">风控中心</p>
</a>
</div>
<div class="box-items" ng-if="'100000'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'AccountManager'})" ui-sref-opts="{reload:true}">
<div class="box-items" ng-if="'10'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'compliance'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_3.png">
</div>
<p class="box-font">Account Manager</p>
<p class="box-font">合规中心</p>
</a>
</div>
<div class="box-items" ng-if="'1000'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Accountant'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'accountant'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_4.png">
</div>
<p class="box-font">Accountant</p>
<p class="box-font">财务中心</p>
</a>
</div>
<div class="box-items" ng-if="'100'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'BDUser'})" ui-sref-opts="{reload:true}">
<div class="box-items" ng-if="'10000000000000'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'salesmanager'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_5.png">
</div>
<p class="box-font">BD User</p>
<p class="box-font">销管中心</p>
</a>
</div>
<div class="box-items" ng-if="'10000'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Service'})" ui-sref-opts="{reload:true}">
<div class="box-items" ng-if="'10000000'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'sitemanager'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_6.png">
</div>
<p class="box-font">Service</p>
<p class="box-font">营销中心</p>
</a>
</div>
<div class="box-items" ng-if="'1'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Administrator'})" ui-sref-opts="{reload:true}">
<div class="box-items" ng-if="'1000000'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'director'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_7.png">
</div>
<p class="box-font">Administrator</p>
<p class="box-font">领导决策</p>
</a>
</div>
<div class="box-items" ng-if="'10000000'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'SiteManager'})" ui-sref-opts="{reload:true}">
<div class="box-items" ng-if="'1'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'administrator'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_8.png">
</div>
<p class="box-font">Site Manager</p>
<p class="box-font">系统配置</p>
</a>
</div>
<div class="box-items" ng-if="'100000000'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Developer'})" ui-sref-opts="{reload:true}">
<a ng-click="headerShow()" ui-sref="listMenu({role:'developer'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_9.png">
</div>
<p class="box-font">Developer</p>
<p class="box-font">开发中心</p>
</a>
</div>
<div class="box-items" ng-if="'1000000'|withRole">
<a ng-click="headerShow()" ui-sref="listMenu({role:'Director'})" ui-sref-opts="{reload:true}">
<div class="boxs">
<img src="/static/images/manage/menu_10.png">
</div>
<p class="box-font">Director</p>
</a>
</div>
<!--<div class="box-items" ng-if="'1000000'|withRole">-->
<!--<a ng-click="headerShow()" ui-sref="listMenu({role:'datacontent'})" ui-sref-opts="{reload:true}">-->
<!--<div class="boxs">-->
<!--<img src="/static/images/manage/menu_10.png">-->
<!--</div>-->
<!--<p class="box-font">数据中心</p>-->
<!--</a>-->
<!--</div>-->
</div>
<div style="text-align: center">

@ -76,7 +76,7 @@ require(['angular', 'jquery'], function (angular, $) {
});
function boot(user) {
var paths = ['static/boot/managerMainApp', 'static/menu/managerMenu','static/analysis/org/analysis-org', 'static/analysis/report/analysis-report', 'static/analysis/monitoring/analysis-monitoring', 'static/analysis/bd/analysis-bd'];
var paths = ['static/boot/managerMainApp', 'static/menu/managerMenu','static/analysis/org/analysis-org', 'static/analysis/report/analysis-report', 'static/analysis/monitoring/analysis-monitoring', 'static/analysis/bd/analysis-bd','static/analysis/trans-analysis'];
var moduleNames = ['managerMainApp', 'listMenuApp','analysisTransaction', 'analysisBD', 'analysisOrg', 'analysisMonitoring', 'analysisReport'];
window.currentUser = user;
angular.forEach(user.modules, function (mod) {

@ -76,7 +76,7 @@ require(['angular', 'jquery'], function (angular, $) {
});
function boot(user) {
var paths = ['static/boot/managerMainAppv2', 'static/menu/managerMenu','static/analysis/org/analysis-org', 'static/analysis/report/analysis-report', 'static/analysis/monitoring/analysis-monitoring', 'static/analysis/bd/analysis-bd'];
var paths = ['static/boot/managerMainAppv2', 'static/menu/managerMenu','static/analysis/org/analysis-org', 'static/analysis/report/analysis-report', 'static/analysis/monitoring/analysis-monitoring', 'static/analysis/bd/analysis-bd','static/analysis/trans-analysis'];
var moduleNames = ['managerMainAppv2', 'listMenuApp','analysisTransaction', 'analysisBD', 'analysisOrg', 'analysisMonitoring', 'analysisReport'];
window.currentUser = user;
angular.forEach(user.modules, function (mod) {

Loading…
Cancel
Save