fix v1-manager.html & v2-manager.html

master
luoyang 6 years ago
parent 9c28923818
commit 465772c5dc

@ -7,13 +7,13 @@
<div class="content-wrapper autoheight" style="margin-left: 0px">
<div class="content" style="background-color: #FFF">
<div class="list-group">
<div class="row" ng-if="('partnerapply'|withModule) && (currentUser.org_id==null||currentUser.org_id==1)">
<div class="col-sm-2 col-lg-2 col-xs-6">
<div class="description-block">
<label>待处理事项</label>
</div>
</div>
</div>
<!--<div class="row" ng-if="('partnerapply'|withModule) && (currentUser.org_id==null||currentUser.org_id==1)">-->
<!--<div class="col-sm-2 col-lg-2 col-xs-6">-->
<!--<div class="description-block">-->
<!--<label>待处理事项</label>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
<div class="row">
<!--<div class="col-sm-2 col-lg-2 col-xs-6">
<a ui-sref="sysconfig" ui-sref-opts="{reload:true}">
@ -25,16 +25,6 @@
</div>
</a>
</div>-->
<div ng-if="('partnerapply'|withModule) && (currentUser.org_id==null||currentUser.org_id==1)" class="col-sm-2 col-xs-6">
<a ui-sref="partner_apply" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/to_be_treated_2.png"/>
<div class="description-text">
<span>商户自助申请</span>
</div>
</div>
</a>
</div>
</div>
</div>
<div class="list-group">
@ -51,31 +41,31 @@
<div class="description-block">
<img src="/static/images/main_menu/merchant_info.png"/>
<div class="description-text">
<span class="description-text">商户信息</span>
<span class="description-text">商户名录</span>
</div>
</div>
</a>
</div>
<div ng-if="'11111'|withRole" class="col-sm-2 col-xs-6">
<a ui-sref="partners.new" ui-sref-opts="{reload:true}">
<a ui-sref="newPartners" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/merchant_apply.png"/>
<div class="description-text">
<span class="description-text">商户申请</span>
</div>
</div>
</a>
</div>
<div ng-if="'log'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="logview.config_operation" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/merchant_log.png"/>
<div class="description-text">
<span class="description-text">商户信息修改日志</span>
<span class="description-text">商户进件</span>
</div>
</div>
</a>
</div>
<!--<div ng-if="'log'|withModule" class="col-sm-2 col-xs-6">-->
<!--<a ui-sref="logview.config_operation" ui-sref-opts="{reload:true}">-->
<!--<div class="description-block">-->
<!--<img src="/static/images/main_menu/merchant_log.png"/>-->
<!--<div class="description-text">-->
<!--<span class="description-text">商户信息修改日志</span>-->
<!--</div>-->
<!--</div>-->
<!--</a>-->
<!--</div>-->
<div ng-if="'partner_analysis'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="partners_analysis" ui-sref-opts="{reload:true}">
<div class="description-block">
@ -87,7 +77,7 @@
</a>
</div>
<div ng-if="'clientrate'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="client_rates" ui-sref-opts="{reload:true}">
<a ui-sref="analysis_monitoring.client_rates" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/merchant_activity_1.png"/>
<div class="description-text">
@ -97,7 +87,7 @@
</a>
</div>
<div ng-if="('merchantAmount'|withModule) &&('1'|withRole)" class="col-sm-2 col-xs-6">
<a ui-sref="analysis_transaction.merchantAmountAnalysis" ui-sref-opts="{reload:true}">
<a ui-sref="merchantAmountAnalysis" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/merchant_turnover.png"/>
<div class="description-text">
@ -138,7 +128,7 @@
</a>
</div>
<div ng-if="('monitor'|withModule)&&(currentUser.org_id==null)" class="col-sm-2 col-xs-6">
<a ui-sref="pre_refund" ui-sref-opts="{reload:true}">
<a ui-sref="analysis_monitoring.pre_refund" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/transaction_arrears.png"/>
<div class="description-text">
@ -219,7 +209,7 @@
</a>
</div>
<div ng-if="('RiskManagement'|withModule)&&(currentUser.org_id==null)" class="col-sm-2 col-xs-6">
<a ui-sref="analysis_monitoring.risk_manager" ui-sref-opts="{reload:true}">
<a ui-sref="analysis_monitoring.attention" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/risk_blacklist.png"/>
<div class="description-text">
@ -229,7 +219,7 @@
</a>
</div>
<div ng-if="'customerRankingAnalysisApp'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="analysis_transaction.customerRankingAnalysis" ui-sref-opts="{reload:true}">
<a ui-sref="customerRankingAnalysis" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/risk_consumption_ranking.png"/>
<div class="description-text">
@ -240,33 +230,80 @@
</div>
</div>
</div>
<!-- <div class="list-group">
<div class="row">
<div class="col-sm-2 col-lg-2 col-xs-6">
<div class="description-block">
<label>合规管理</label>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-2 col-xs-6">
<div class="description-block">
<img src="/static/images/main_menu/compliance_merchant.png"/>
<div class="description-text">
<span class="description-text">商户合规</span>
</div>
</div>
</div>
<div class="col-sm-2 col-xs-6">
<div class="description-block">
<img src="/static/images/main_menu/compliance_contract.png"/>
<div class="description-text">
<span class="description-text">合同管理</span>
</div>
</div>
</div>
</div>
</div>-->
<div class="list-group">
<div class="row">
<div class="col-sm-2 col-lg-2 col-xs-6">
<div class="description-block">
<label>合规管理</label>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-2 col-xs-6">
<a ui-sref="customerRankingAnalysis" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/compliance_merchant.png"/>
<div class="description-text">
<span class="description-text">商户合规</span>
</div>
</div>
</a>
</div>
<div class="col-sm-2 col-xs-6">
<div class="description-block">
<a ui-sref="contract" ui-sref-opts="{reload:true}">
<img src="/static/images/main_menu/compliance_contract.png"/>
<div class="description-text">
<span class="description-text">合同签约情况</span>
</div>
</a>
</div>
</div>
<div class="col-sm-2 col-xs-6">
<a ui-sref="rate_warnings" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/compliance_warning.png"/>
<div class="description-text">
<span>签约到期预警</span>
</div>
</div>
</a>
</div>
<div class="col-sm-2 col-xs-6">
<a ui-sref="partner_apply" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/compliance_appliy.png"/>
<div class="description-text">
<span>商户自助申请</span>
</div>
</div>
</a>
</div>
<div class="col-sm-2 col-xs-6">
<a ui-sref="config_operation" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/compliance_log.png"/>
<div class="description-text">
<span>商户信息修改日志</span>
</div>
</div>
</a>
</div>
<div class="col-sm-2 col-xs-6">
<a ui-sref="devtools.aliforexcel" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/compliance_alipayexcel.png"/>
<div class="description-text">
<span>Alipay进件表格导出</span>
</div>
</div>
</a>
</div>
</div>
</div>
<div class="list-group">
<div class="row" ng-if="('citypartner'|withModule)||('org'|withModule)||(('org_sale'|withModule)&&(currentUser.org_id==null||currentUser.org_id==1 ||('1000000000000'|withRole)))||('orgcommission'|withModule)" >
<div class="col-sm-2 col-lg-2 col-xs-6" id="citypartners">
@ -277,7 +314,7 @@
</div>
<div class="row">
<div ng-if="'citypartner'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="partner_apply.citypartner_reg" ui-sref-opts="{reload:true}">
<a ui-sref="newOrganizations" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/partner_application.png"/>
<div class="description-text">
@ -379,6 +416,15 @@
</div>
</a>
</div>
<div ng-if="'dev'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="analysis_monitoring.client_rates" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/bd_merchant_activity.png"/>
<div class="description-text">
<span class="description-text">商户活跃度</span>
</div>
</div>
</a></div>
</div>
</div>
<div class="list-group">
@ -395,7 +441,7 @@
<div class="description-block ">
<img src="/static/images/main_menu/activity_management.png"/>
<div class="description-text">
<span class="description-text">活动管理</span>
<span class="description-text">APP弹屏管理</span>
</div>
</div>
</a>
@ -430,14 +476,14 @@
</div>
</a>
</div>
<div ng-if="('1'|withRole)" class="col-sm-2 col-xs-6">
<a ui-sref="contract" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/activity_contract_signing.png"/>
<div class="description-text">
<span class="description-text">合同签约情况</span>
<div ng-if="'monDelay'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="mon_delay" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/activity_kangaroo.png"/>
<div class="description-text">
<span class="description-text">余额增值活动</span>
</div>
</div>
</div>
</a>
</div>
<div ng-if="'actChairty'|withModule" class="col-sm-2 col-xs-6">
@ -450,16 +496,7 @@
</div>
</a>
</div>
<div ng-if="'monDelay'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="mon_delay" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/activity_kangaroo.png"/>
<div class="description-text">
<span class="description-text">余额增值活动</span>
</div>
</div>
</a>
</div>
<!-- <div ng-if="('activities'|withModule) && (currentUser.org_id==1 || currentUser.org_id==null)" class="col-sm-2 col-xs-6">
<a ui-sref="activity.detail({act_id:'3'})" ui-sref-opts="{reload:true}">
@ -642,15 +679,6 @@
</div>
</div>
</a></div>
<div ng-if="('clearing_org'|withModule) && currentUser.org_id>1" class="col-sm-2 col-xs-6">
<a ui-sref="clearingLogsForOrg" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/settle_execution.png"/>
<div class="description-text">
<span class="description-text">清算记录</span>
</div>
</div>
</a></div>
<div ng-if="'clearing'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="clearingLogs.date_setting" ui-sref-opts="{reload:true}">
<div class="description-block">
@ -660,6 +688,15 @@
</div>
</div>
</a></div>
<!--<div ng-if="('clearing_org'|withModule) && currentUser.org_id>1" class="col-sm-2 col-xs-6">-->
<!--<a ui-sref="clearingLogsForOrg" ui-sref-opts="{reload:true}">-->
<!--<div class="description-block">-->
<!--<img src="/static/images/main_menu/settle_execution.png"/>-->
<!--<div class="description-text">-->
<!--<span class="description-text">清算记录</span>-->
<!--</div>-->
<!--</div>-->
<!--</a></div>-->
<div ng-if="'clearing'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="clearingLogs" ui-sref-opts="{reload:true}">
<div class="description-block">
@ -670,7 +707,7 @@
</div>
</a></div>
<div ng-if="('estimateAnalysisApp'|withModule)&&(currentUser.org_id==null)" class="col-sm-2 col-xs-6">
<a ui-sref="analysis_transaction.estimateAnalysis" ui-sref-opts="{reload:true}">
<a ui-sref="estimateAnalysis" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/settle_prediction.png"/>
<div class="description-text">
@ -716,6 +753,15 @@
</div>
</div>
</a></div>
<div ng-if="'manager_accounts'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="product" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/org_account_management.png"/>
<div class="description-text">
<span class="description-text">商品库管理</span>
</div>
</div>
</a></div>
<div ng-if="'manager_accounts'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="managers" ui-sref-opts="{reload:true}">
<div class="description-block">
@ -725,8 +771,18 @@
</div>
</div>
</a></div>
<div ng-if="('partnerapply'|withModule) && (currentUser.org_id==null||currentUser.org_id==1)" class="col-sm-2 col-xs-6">
<a ui-sref="servantsConfig" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/to_be_treated_2.png"/>
<div class="description-text">
<span>客服管理</span>
</div>
</div>
</a>
</div>
<div ng-if="'sysconfig'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="sysconfig.permission" ui-sref-opts="{reload:true}">
<a ui-sref="permission" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/org_role_rights_management.png"/>
<div class="description-text">
@ -785,7 +841,7 @@
</div>
<div class="row">
<div ng-if="'log'|withModule" class="col-sm-2 col-xs-6">
<a ui-sref="logview.login_history" ui-sref-opts="{reload:true}">
<a ui-sref="login_history" ui-sref-opts="{reload:true}">
<div class="description-block">
<img src="/static/images/main_menu/logon_log.png"/>
<div class="description-text">

@ -394,7 +394,7 @@ margin-bottom: 10%;"/>
</li>
<li ui-sref-active="active"
ng-if="('partnerapply'|withModule) && (currentUser.org_id==null||currentUser.org_id==1)">
<a ui-sref="logview.config_operation" ui-sref-opts="{reload:true}">
<a ui-sref="config_operation" ui-sref-opts="{reload:true}">
<i class="fa fa-edit"></i> <span>商户信息修改日志</span>
</a>
</li>
@ -421,8 +421,9 @@ margin-bottom: 10%;"/>
<i class="fa fa-line-chart"></i> <span>清算统计|Settlement Logs</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'clearing'|withModule">
<a ui-sref="analysis_transaction.estimateAnalysis" ui-sref-opts="{reload:true}">
<a ui-sref="estimateAnalysis" ui-sref-opts="{reload:true}">
<i class="fa fa fa-money"></i> <span>清算预估|Estimate</span>
</a>
</li>
@ -469,32 +470,42 @@ margin-bottom: 10%;"/>
</a>
</li>
<li ui-sref-active="active" ng-if="('clearing_org'|withModule) && currentUser.org_id>1">
<a ui-sref="clearingLogsForOrg" ui-sref-opts="{reload:true}">
<i class="fa fa-line-chart"></i> <span>清算记录|Settlement Logs</span>
<li class="header nav-header" ng-if="'1011110'|withRole">营销活动管理|Promotion</li>
<li ui-sref-active="active" ng-if="'appAct'|withModule">
<a ui-sref="appAct">
<i class="fa fa-file-text-o"></i> <span>APP弹屏管理</span>
</a>
</li>
<li ui-sref-active="active" ng-if="('encourage'|withModule)">
<a ui-sref="encourageAct">
<i class="fa fa-gift"></i> <span>鼓励金</span>
</a>
</li>
<li ui-sref-active="active" ng-if="('cashbackAnalysis'|withModule)">
<a ui-sref="cashbackAnalysis">
<i class="fa fa-gift"></i> <span>商户营销账户</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'settleDelay'|withModule">
<a ui-sref="settle_delay" ui-sref-opts="{reload:true}">
<i class="fa fa-users"></i> <span>周末费率减半活动</span>
</a>
</li>
<!-- <li ui-sref-active="active" ng-if="'citypartner'|withModule">
<a ui-sref="citypartner_reg" ui-sref-opts="{reload:true}">
<i class="fa fa-users"></i> <span>City Partners</span>
</a>
</li>-->
<li class="header nav-header"
ng-if="('1011110'|withRole) || currentUser.org_id==null">营销服务|Promotion
<li ui-sref-active="active" ng-if="'monDelay'|withModule">
<a ui-sref="mon_delay" ui-sref-opts="{reload:true}">
<i class="fa fa-users"></i> <span>余额增值活动</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'appAct'|withModule">
<a ui-sref="appAct">
<i class="fa fa-file-text-o"></i> <span>活动管理|Activity Manage</span>
<li ui-sref-active="active" ng-if="'actChairty'|withModule">
<a ui-sref="act_chairty" ui-sref-opts="{reload:true}">
<i class="fa fa-users"></i> <span>半边天公益活动</span>
</a>
</li>
<!--
@ -515,12 +526,6 @@ margin-bottom: 10%;"/>
<!--</a>-->
<!--</li>-->
<li ui-sref-active="active" ng-if="('encourage'|withModule)">
<a ui-sref="encourageAct">
<i class="fa fa-gift"></i> <span>鼓励金</span>
</a>
</li>
<!--<li ui-sref-active="active" ng-if="('act_customer_redpack'|withModule)">
<a ui-sref="customer_redpack">
<i class="fa fa-gift"></i> <span>红包返现</span>
@ -528,11 +533,7 @@ margin-bottom: 10%;"/>
</li>-->
<li ui-sref-active="active" ng-if="('cashbackAnalysis'|withModule)">
<a ui-sref="cashbackAnalysis">
<i class="fa fa-gift"></i> <span>商户营销账户</span>
</a>
</li>
<!-- <li ui-sref-active="active" ng-if="('funds'|withModule)">
<a ui-sref="funds">
@ -540,110 +541,113 @@ margin-bottom: 10%;"/>
</a>
</li>-->
<li ui-sref-active="active" ng-if="'settleDelay'|withModule">
<a ui-sref="settle_delay" ui-sref-opts="{reload:true}">
<i class="fa fa-users"></i> <span>周末费率减半活动</span>
<!--<li class="header nav-header" ng-if="('1000000000000'|withRole)">机构|Agent</li>-->
<!--<li ui-sref-active="active" ng-if="('1000000000000'|withRole)">-->
<!--<a ui-sref="analysis_agent" ui-sref-opts="{reload:true}">-->
<!--<i class="fa fa-hand-peace-o"></i> <span>机构数据分析|Agent Analysis</span>-->
<!--</a>-->
<!--</li>-->
<!--<li ui-sref-active="active" ng-if="('clearing_org'|withModule) && currentUser.org_id>1">-->
<!--<a ui-sref="clearingLogsForOrg" ui-sref-opts="{reload:true}">-->
<!--<i class="fa fa-line-chart"></i> <span>清算记录|Settlement Logs</span>-->
<!--</a>-->
<!--</li>-->
<li class="header nav-header" ng-if="('1011110'|withRole)|| currentUser.org_id==null">内容管理|Content Management</li>
<li ui-sref-active="active" ng-if="'notice'|withModule">
<a ui-sref="notice">
<i class="fa fa-bell"></i> <span>通知群发|Notifications</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'monDelay'|withModule">
<a ui-sref="mon_delay" ui-sref-opts="{reload:true}">
<i class="fa fa-users"></i> <span>余额增值活动</span>
<li ui-sref-active="active" ng-if="'cms'|withModule">
<a ui-sref="cms">
<i class="fa fa-file-text-o"></i> <span>网站管理|Site Manage</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'actChairty'|withModule">
<a ui-sref="act_chairty" ui-sref-opts="{reload:true}">
<i class="fa fa-users"></i> <span>半边天公益活动</span>
<li ui-sref-active="active" ng-if="('10'|withRole)||('1000000'|withRole)||('10000000'|withRole)">
<a href="https://customer.royalpay.com.au/manage/sign_in" target="_blank">
<i class="fa fa-file-text-o"></i> <span>积分商城|Integral Mall</span>
</a>
</li>
<li class="header nav-header" ng-if="('1000000000000'|withRole)">机构|Agent</li>
<li ui-sref-active="active" ng-if="('1000000000000'|withRole)">
<a ui-sref="analysis_agent" ui-sref-opts="{reload:true}">
<i class="fa fa-hand-peace-o"></i> <span>机构数据分析|Agent Analysis</span>
<li class="header nav-header" ng-if="('1011110'|withRole)|| currentUser.org_id==null">组织架构|Organization Framework</li>
<li ui-sref-active="active" ng-if="'org'|withModule">
<a ui-sref="organizations" ui-sref-opts="{reload:true}">
<i class="fa fa-users"></i> <span>组织管理|Organizations</span>
</a>
</li>
<li class="header nav-header" ng-if="('1011110'|withRole)|| currentUser.org_id==null">数据分析|Analysis</li>
<li ui-sref-active="active" ng-if="('transAnalysis'|withModule)||
('customer_analysis'|withModule)||
('customerRankingAnalysisApp'|withModule)||
('partner_analysis'|withModule)">
<a ui-sref="analysis_transaction" ui-sref-opts="{reload:true}">
<i class="fa fa-area-chart"></i> <span>交易|Transaction Analysis</span>
<li ui-sref-active="active" ng-if="'org'|withModule">
<a ui-sref="product" ui-sref-opts="{reload:true}">
<i class="fa fa-shopping-cart"></i> <span>商品库管理</span>
</a>
</li>
<li ui-sref-active="active"
ng-if="('bdsale'|withModule)||('bdprize'|withModule)&&(currentUser.org_id==null||currentUser.org_id==1)">
<a ui-sref="analysis_bd" ui-sref-opts="{reload:true}">
<i class="fa fa-hand-peace-o"></i> <span>BD|BD Analysis</span>
<li ui-sref-active="active" ng-if="'manager_accounts'|withModule">
<a ui-sref="managers" ui-sref-opts="{reload:true}">
<i class="fa fa-key"></i> <span>账号管理|Accounts</span>
</a>
</li>
<li ui-sref-active="active"
ng-if="('org_sale'|withModule)&&(currentUser.org_id==null||currentUser.org_id==1 ||('1000000000000'|withRole))||('orgcommission'|withModule)">
<a ui-sref="analysis_org" ui-sref-opts="{reload:true}">
<i class="fa fa-hand-peace-o"></i> <span>合伙人|Partners Analysis</span>
<li ui-sref-active="active" ng-if="'manager_accounts'|withModule">
<a ui-sref="servantsConfig" ui-sref-opts="{reload:true}">
<i class="fa fa-tty"></i> <span>客服管理|Service Accounts</span>
</a>
</li>
<li ui-sref-active="active" ng-if="('clientrate'|withModule)||('monitor'|withModule)">
<a ui-sref="analysis_monitoring" ui-sref-opts="{reload:true}">
<i class="fa fa-shopping-cart"></i> <span>监控|Monitoring</span>
<li ui-sref-active="active" ng-if="'manager_accounts'|withModule">
<a ui-sref="permission" ui-sref-opts="{reload:true}">
<i class="fa fa-key"></i> <span>角色权限管理</span>
</a>
</li>
<li ui-sref-active="active" ng-if="('settleReport'|withModule)||('platformRevenue'|withModule)">
<a ui-sref="analysis_report" ui-sref-opts="{reload:true}">
<i class="fa fa-tv"></i> <span>报表|Report</span>
<li class="header nav-header" ng-if="('1011110'|withRole)|| currentUser.org_id==null">绩效管理</li>
<li ui-sref-active="active" ng-if="'manager_accounts'|withModule">
<a ui-sref="analysis_bd.bdanalysis" ui-sref-opts="{reload:true}">
<i class="fa fa-hand-peace-o"></i> <span>BD销售量|BD Sale</span>
</a>
</li>
<li class="header nav-header" ng-if="'0100001'|withRole">基础设置|Basic Settings</li>
<li ui-sref-active="active" ng-if="('10'|withRole)&&('merchantIdManage'|withModule)">
<a ui-sref="merchant_id_manage" ui-sref-opts="{reload:true}">
<i class="fa fa-sitemap"></i> <span>商户号管理</span>
<li ui-sref-active="active" ng-if="'1000'|withRole">
<a ui-sref="analysis_bd.bd_prizes" ui-sref-opts="{reload:true}">
<i class="fa fa-usd"></i> <span>BD提成|BD Commissions</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'org'|withModule">
<a ui-sref="organizations" ui-sref-opts="{reload:true}">
<i class="fa fa-users"></i> <span>组织管理|Organizations</span>
<li ui-sref-active="active" ng-if="'1000'|withRole">
<a ng-click="editRateConfig()" style="cursor: pointer">
<i class="fa fa-cog"></i> <span>BD绩效设置</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'manager_accounts'|withModule">
<a ui-sref="managers" ui-sref-opts="{reload:true}">
<i class="fa fa-key"></i> <span>账号管理|Accounts</span>
<li ui-sref-active="active" ng-if="'1000'|withRole">
<a ng-click="editBDLevels()" style="cursor: pointer">
<i class="fa fa-user"></i> <span>BD级别设置</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'dev'|withModule">
<a ui-sref="devtools">
<i class="fa fa-cog"></i> <span>开发工具|DevTools</span>
<li ui-sref-active="active" ng-if="'1000'|withRole">
<a ui-sref="analysis_monitoring.client_rates" ui-sref-opts="{reload:true}">
<i class="fa fa-shopping-cart"></i> <span>商户活跃度</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'notice'|withModule">
<a ui-sref="notice">
<i class="fa fa-bell"></i> <span>通知群发|Notifications</span>
<li class="header nav-header" ng-if="('1011110'|withRole)|| currentUser.org_id==null">合伙人管理</li>
<li ui-sref-active="active"
ng-if="('org_sale'|withModule)&&(currentUser.org_id==null||currentUser.org_id==1 ||('1000000000000'|withRole))||('orgcommission'|withModule)">
<a ui-sref="newOrganizations" ui-sref-opts="{reload:true}">
<i class="fa fa-tv"></i> <span>合伙人申请</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'log'|withModule">
<a ui-sref="logview">
<i class="fa fa-file-text-o"></i> <span>系统日志|System Logs</span>
<li ui-sref-active="active" ng-if="'org'|withModule">
<a ui-sref="organizations" ui-sref-opts="{reload:true}">
<i class="fa fa-users"></i> <span>合伙人管理</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'cms'|withModule">
<a ui-sref="cms">
<i class="fa fa-file-text-o"></i> <span>网站管理|Site Manage</span>
<li ui-sref-active="active" ng-if="'org'|withModule">
<a ui-sref="analysis_org.organlasis" ui-sref-opts="{reload:true}">
<i class="fa fa-hand-peace-o"></i> <span>合伙人销售量|City Partner Sale</span>
</a>
</li>
<li ui-sref-active="active" ng-if="('10'|withRole)||('1000000'|withRole)||('10000000'|withRole)">
<a href="https://customer.royalpay.com.au/manage/sign_in" target="_blank">
<i class="fa fa-file-text-o"></i> <span>积分商城|Integral Mall</span>
<li class="header nav-header" ng-if="('1011110'|withRole)|| currentUser.org_id==null">配置管理|Basic Settings</li>
<li ui-sref-active="active" ng-if="('10'|withRole)&&('merchantIdManage'|withModule)">
<a ui-sref="merchant_id_manage" ui-sref-opts="{reload:true}">
<i class="fa fa-sitemap"></i> <span>商户号管理</span>
</a>
</li>
<li ui-sref-active="active"
@ -652,11 +656,29 @@ margin-bottom: 10%;"/>
<i class="fa fa-users"></i> <span>设备管理|Devices</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'sysconfig'|withModule">
<a ui-sref="sysconfig">
<i class="fa fa-cog"></i> <span>系统参数设定|Settings</span>
</a>
</li>
<li class="header nav-header" ng-if="('1011110'|withRole)|| currentUser.org_id==null">开发工具|Developer</li>
<li ui-sref-active="active" ng-if="'dev'|withModule">
<a ui-sref="login_history">
<i class="fa fa-users"></i> <span>登录日志|Sign In History</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'log'|withModule">
<a ui-sref="logview">
<i class="fa fa-file-text-o"></i> <span>系统日志|System Logs</span>
</a>
</li>
<li ui-sref-active="active" ng-if="'dev'|withModule">
<a ui-sref="devtools">
<i class="fa fa-cog"></i> <span>开发工具|DevTools</span>
</a>
</li>
</ul>
</section>

@ -6,8 +6,8 @@ define(['angular', 'static/commons/commons', 'static/commons/angular-ueditor', '
var app = angular.module('estimateAnalysisApp', ['ui.bootstrap', 'ui.router', 'frapontillo.bootstrap-switch']);
var colors = ['#00c0ef', '#00a65a', '#ff851b', '#f39c12', '#d81b60', '#605ca8', '#dd4b39', '#008080', '#8B008B', '#D2691E', '#708090'];
app.config(['$stateProvider', function ($stateProvider) {
$stateProvider.state('analysis_transaction.estimateAnalysis', {
url: '/estimate',
$stateProvider.state('estimateAnalysis', {
url: '/analysis/transaction/estimate',
templateUrl: '/static/analysis/templates/settle_estimate_analysis.html',
controller: 'estimateCtrl'
})

@ -66,6 +66,25 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
};
$scope.getManagerTodoNotices();
$scope.editRateConfig = function () {
$uibModal.open({
templateUrl: '/static/config/bdprize/templates/rate_config_dialog.html',
controller: 'bdRateConfigCtrl',
resolve: {
rates: function () {
return angular.copy($scope.bd_rate_configs);
}
}
}).result.then(function () {
$scope.loadRateConfigs();
})
};
$scope.editBDLevels = function () {
$uibModal.open({
templateUrl: '/static/config/bdprize/templates/bd_level_config_dialog.html',
controller: 'bdLevelConfigCtrl'
})
};
var connected;
$interval($scope.loadCurrentUser, 300000);
@ -385,5 +404,67 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
altInputFormats: [],
ngModelOptions: {}
});
app.controller('bdRateConfigCtrl', ['$scope', '$http', 'rates', function ($scope, $http, rates) {
$scope.bdLevels = [{value: 1, label: 'Junior'}, {value: 2, label: 'Intermediate'}, {value: 3, label: 'Senior'}];
$scope.months = [{value: 1, label: '1-3 Months'}, {value: 2, label: '4-6 Months'}, {
value: 3,
label: '>=7 Months'
}];
$scope.kpiRanges = [{value: 1, label: '0-50%'}, {value: 2, label: '50%~80%'}, {value: 3, label: '80%~100%'},
{value: 4, label: '100%-120%'}, {value: 5, label: '>=120%'}];
$scope.clientRate = [{value: 0.6, label: '0.6-0.79'}, {value: 0.8, label: '0.8-2.0'}];
$scope.filter = {bd_level: 1,rate_from:0.6};
$scope.rates = rates;
$scope.submitRates = function () {
var validation = null;
$scope.errmsg = null;
angular.forEach($scope.rates, function (rate) {
if (isNaN(rate.prize_rate)) {
validation = {months: rate.time_range, bd_level: rate.bd_level};
$scope.errmsg = 'Rate Value is NaN';
}
if (rate.prize_rate > 1) {
validation = {months: rate.time_range, bd_level: rate.bd_level};
$scope.errmsg = 'Rate value shall no more than 1%';
}
if (rate.prize_rate < 0) {
validation = {months: rate.time_range, bd_level: rate.bd_level};
$scope.errmsg = 'Rate value shall be a positive value';
}
});
if (!validation) {
$http.put('/sys/bd_prize/config/rates', $scope.rates).then(function () {
$scope.$close();
}, function (resp) {
$scope.errmsg = resp.data.message;
})
}
}
}]);
app.controller('bdLevelConfigCtrl', ['$scope', '$http', function ($scope, $http) {
$scope.getBDGroups = function () {
$http.get('/sys/manager_accounts/roles/bd_leader').then(function (resp) {
$scope.bdgroups = resp.data;
$scope.getBDLevels();
})
};
$scope.getBDGroups();
$scope.getBDLevels = function () {
$http.get('/sys/bd_prize/config/bd_levels').then(function (resp) {
$scope.bds = resp.data;
})
};
$scope.bdLevels = [{value: 1, label: 'Junior'}, {value: 2, label: 'Intermediate'}, {value: 3, label: 'Senior'}];
$scope.updateBDLevel = function (bdInfo) {
$http.put('/sys/bd_prize/config/bd_levels/' + bdInfo.manager_id, bdInfo).then(function () {
$scope.getBDGroups();
}, function (resp) {
$scope.errmsg = resp.data.message;
})
};
}]);
return app;
});

@ -9,15 +9,15 @@ define(['angular', 'uiRouter'], function (angular) {
url: '/logs',
templateUrl: '/static/config/logview/templates/root.html',
controller: 'logviewRootCtrl'
}).state('logview.login_history', {
url: '/login',
}).state('login_history', {
url: '/logs/login',
templateUrl: '/static/config/logview/templates/login_log_root.html',
controller: 'loginLogRootCtrl'
}).state('logview.login_history.managers', {
}).state('login_history.managers', {
url: '/managers',
templateUrl: '/static/config/logview/templates/login_log_manager.html',
controller: 'managerLoginLogCtrl'
}).state('logview.login_history.client', {
}).state('login_history.client', {
url: '/clients',
templateUrl: '/static/config/logview/templates/login_log_clients.html',
controller: 'clientLoginLogCtrl'
@ -29,8 +29,8 @@ define(['angular', 'uiRouter'], function (angular) {
url: '/wechatMsg',
templateUrl: '/static/config/logview/templates/wechat_msg_log.html',
controller: 'wechatMsgLogCtrl'
}).state('logview.config_operation', {
url: '/config_operation',
}).state('config_operation', {
url: '/logs/config_operation',
templateUrl: '/static/config/logview/templates/config_opertaion_log.html',
controller: 'configOperationLogCtrl'
})
@ -38,7 +38,7 @@ define(['angular', 'uiRouter'], function (angular) {
app.controller('logviewRootCtrl', ['$scope', function ($scope) {
}]);
app.controller('loginLogRootCtrl', ['$scope', '$state', function ($scope, $state) {
if ($state.is('logview.login_history')) {
if ($state.is('login_history')) {
$state.go('.managers')
}
}]);

@ -11,10 +11,10 @@
<section class="content">
<div class="box">
<div class="box-body">
<a class="btn btn-app" role="button" ui-sref=".login_history">
<!-- <a class="btn btn-app" role="button" ui-sref=".login_history">
<i class="fa fa-users"></i>
Sign In History
</a>
</a>-->
<a class="btn btn-app" role="button" ui-sref=".notify_logs">
<i class="fa fa-server"></i>
Notify History

@ -42,8 +42,8 @@ define(['angular', 'uiRouter', 'uiBootstrap'], function (angular) {
return $http.get('/sys/orgs/' + $stateParams.orgId);
}]
}
}).state('organizations.new', {
url: '/new_org',
}).state('newOrganizations', {
url: '/organizations/new_org',
templateUrl: '/static/config/organizations/templates/new_org.html',
controller: 'newOrgCtrl'
})

@ -13,15 +13,15 @@ define(['angular', 'uiRouter'], function (angular) {
url: '/basic',
templateUrl: '/static/config/sysconfigs/templates/basic.html',
controller: 'basicConfigCtrl'
}).state('sysconfig.permission', {
}).state('permission', {
url: '/permission',
templateUrl: '/static/config/sysconfigs/templates/permission_config.html',
controller: 'permissionConfigRootCtrl'
}).state('sysconfig.permission.functions', {
}).state('permission.functions', {
url: '/functions',
templateUrl: '/static/config/sysconfigs/templates/permission_functions.html',
controller: 'permissionFuncCtrl'
}).state('sysconfig.permission.modules', {
}).state('permission.modules', {
url: '/modules',
templateUrl: '/static/config/sysconfigs/templates/permission_modules.html',
controller: 'permissionModuleCtrl',
@ -34,7 +34,7 @@ define(['angular', 'uiRouter'], function (angular) {
url: '/mail',
templateUrl: '/static/config/sysconfigs/templates/mail_subscribe.html',
controller: 'mailSubscribeCtrl'
}).state('sysconfig.servantsConfig', {
}).state('servantsConfig', {
url: '/servantsConfig',
templateUrl: '/static/config/sysconfigs/templates/servants_config.html',
controller: 'servantsConfigCtrl'

@ -13,7 +13,7 @@
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li ui-sref-active-eq="active">
<a ui-sref="sysconfig.permission">Permissions</a>
<a ui-sref="permission">Permissions</a>
</li>
<li ui-sref-active="active">
<a ui-sref=".functions">Functions</a>

@ -15,10 +15,10 @@
Basic Config
</a>
<a class="btn btn-app" role="button" ui-sref=".permission">
<!-- <a class="btn btn-app" role="button" ui-sref=".permission">
<i class="fa fa-key"></i>
Permission Config
</a>
</a>-->
<a class="btn btn-app" role="button" ui-sref=".mail_subscribe">
<i class="fa fa-edit"></i>
@ -30,10 +30,10 @@
Partner Permission Config
</a>
<a class="btn btn-app" role="button" ui-sref=".servantsConfig" ng-if="('1'|withRole)">
<i class="fa fa-key"></i>
Servants Config
</a>
<!--<a class="btn btn-app" role="button" ui-sref=".servantsConfig" ng-if="('1'|withRole)">-->
<!--<i class="fa fa-key"></i>-->
<!--Servants Config-->
<!--</a>-->
<!--<a class="btn btn-app" role="button" ui-sref=".payment_config">
<i class="fa fa-edit"></i>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Loading…
Cancel
Save