<%@ page language="java" pageEncoding="utf-8" isELIgnored="false"%>
|
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
<jsp:useBean id="security" class="security.web.BaseSecurityAction" scope="page" />
|
|
<div id="top" class="clearfix">
|
|
<div class="autoplay-btn">
|
<div>请点击打开消息声音提醒</div>
|
</div>
|
|
<style>
|
.autoplay-btn {
|
display: none;
|
position: fixed;
|
width: 100%;
|
height: 100%;
|
z-index: 1000;
|
top: 0;
|
left: 0;
|
background-color: rgba(0, 0, 0, 0.2)
|
}
|
.autoplay-btn div {
|
color: #0798ff;
|
margin: 200px auto 0;
|
width: 200px;
|
height: 50px;
|
line-height: 50px;
|
text-align: center;
|
cursor: pointer;
|
background: #fff;
|
border-radius: 6px;
|
text-decoration: underline;
|
}
|
.sp-title {
|
margin-left: 7px;
|
}
|
</style>
|
|
<!-- Start App Logo -->
|
<div class="applogo">
|
<a href="<%=basePath%>normal/indexAction!view.action" class="logo">
|
<%@ include file="sitename.jsp"%>
|
</a>
|
</div>
|
<!-- End App Logo -->
|
|
<!-- Start Sidebar Show Hide Button -->
|
<a href="#" class="sidebar-open-button"><i class="fa fa-bars" style="color: #fff;"></i></a>
|
<a href="#" class="sidebar-open-button-mobile"><i class="fa fa-bars"></i></a>
|
<!-- End Sidebar Show Hide Button -->
|
|
<ul style="display: none">
|
<li>
|
<span class="business_untreated_count badge label-danger" style="display: none">0</span>
|
<span class="user_untreated_count badge label-danger" style="display: none">0</span>
|
<span class="money_untreated_count badge label-danger" style="display: none">0</span>
|
<span class="c2c_untreated_count badge label-danger" style="display: none">0</span>
|
|
<span class="automonitor_approve_order_untreated_cout badge label-danger" style="display: none">0</span>
|
<span class="automonitor_threshold_order_untreated_cout badge label-danger" style="display: none">0</span>
|
<span class="contract_order_untreated_cout badge label-danger" style="display: none">0</span>
|
<span class="futures_order_untreated_cout badge label-danger" style="display: none">0</span>
|
<span class="automonitor_pledge_galaxy_order_untreated_cout badge label-danger" style="display: none">0</span>
|
<span class="kyc_untreated_cout badge label-danger" style="display: none">0</span>
|
<span class="kyc_high_level_untreated_cout badge label-danger" style="display: none">0</span>
|
<span class="user_safeword_apply_untreated_cout badge label-danger" style="display: none">0</span>
|
<span class="automonitor_withdraw_order_untreated_cout badge label-danger" style="display: none">0</span>
|
<span class="withdraw_order_untreated_cout badge label-danger" style="display: none">0</span>
|
<span class="recharge_blockchain_order_untreated_cout badge label-danger" style="display: none">0</span>
|
<span class="c2c_order_untreated_cout badge label-danger" style="display: none">0</span>
|
<span class="c2c_appeal_untreated_cout badge label-danger" style="display: none">0</span>
|
</li>
|
</ul>
|
|
<!-- Start Top Menu -->
|
<ul class="topmenu" style="display: block">
|
|
<!-- dapp+交易所 菜单 ######################################################################################################## -->
|
<c:if test="${!security.isDappOrExchange()}">
|
|
<c:choose>
|
<c:when test="${security.isRolesAccessible('ROLE_AGENT')}">
|
<li class="dropdown-parent">
|
<a href="<%=basePath%>normal/adminUserAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">用户基础管理</span>
|
</a>
|
</li>
|
</c:when>
|
<c:otherwise>
|
<li class="dropdown-parent">
|
<a href="<%=basePath%>normal/monitorIndexAdmin!view.action">
|
<i class="fa falist fa-home"></i>
|
<span class="sp-title">综合查询</span>
|
</a>
|
</li>
|
</c:otherwise>
|
</c:choose>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_AUTHORIZE_CHECK,OP_AUTHORIZE_OPERATE,OP_COLLECT_CHECK,OP_COLLECT_OPERATE,OP_TIP_CHECK,OP_PLEDGE_CHECK,OP_PLEDGE_OPERATE,OP_ACTIVITY_CHECK,OP_ACTIVITY_OPERATE,OP_FOREVER_CONTRACT_ORDER_CHECK,OP_FOREVER_CONTRACT_ORDER_OPERATE,OP_FOREVER_CONTRACT_APPLY_ORDER_CHECK,OP_FOREVER_CONTRACT_APPLY_ORDER_OPERATE,OP_FUTURES_CONTRACT_ORDER_CHECK,OP_FUTURES_CONTRACT_ORDER_OPERATE')
|
|| security.isResourceListAccessible('OP_PROFIT_AND_LOSS_CONFIG_CHECK,OP_PROFIT_AND_LOSS_CONFIG_OPERATE,OP_EXCHANGE_APPLY_ORDER_CHECK,OP_EXCHANGE_APPLY_ORDER_OPERATE,OP_FINANCE_ORDER_CHECK,OP_FINANCE_ORDER_OPERATE,OP_MINER_ORDER_CHECK,OP_MINER_ORDER_OPERATE,OP_PLEDGE_GALAXY_ORDER_CHECK,OP_PLEDGE_GALAXY_ORDER_OPERATE,OP_PLEDGE_GALAXY_PROFIT_CHECK,OP_PLEDGE_GALAXY_PROFIT_OPERATE')}">
|
|
<li class="dropdown">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">业务
|
<span class="business_untreated_count badge label-danger" style="display: none">0</span>
|
<span class="caret"></span>
|
</a>
|
<ul class="dropdown-menu dropdown-menu-list">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_AUTHORIZE_CHECK,OP_AUTHORIZE_OPERATE,OP_COLLECT_CHECK,OP_COLLECT_OPERATE,OP_TIP_CHECK,OP_PLEDGE_CHECK,OP_PLEDGE_OPERATE,OP_ACTIVITY_CHECK,OP_ACTIVITY_OPERATE,OP_PLEDGE_GALAXY_ORDER_CHECK,OP_PLEDGE_GALAXY_ORDER_OPERATE,OP_PLEDGE_GALAXY_PROFIT_CHECK,OP_PLEDGE_GALAXY_PROFIT_OPERATE')}">
|
|
<li role="presentation" class="dropdown-header">DAPP</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_AUTHORIZE_CHECK')
|
|| security.isResourceAccessible('OP_AUTHORIZE_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminAutoMonitorWalletAction!list.action">
|
<i class="fa falist fa-laptop"></i>
|
<span class="sp-title">授权管理</span>
|
<span class="automonitor_approve_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_COLLECT_CHECK')
|
|| security.isResourceAccessible('OP_COLLECT_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminAutoMonitorOrderAction!list.action">
|
<i class="fa falist fa-columns"></i>
|
<span class="sp-title">归集记录</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_TIP_CHECK')}">
|
<li>
|
<a href="<%=basePath%>normal/adminAutoMonitorTipAction!list.action">
|
<i class="fa falist fa-outdent"></i>
|
<span class="sp-title">异常提醒</span>
|
<span class="automonitor_threshold_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.getSystemPara('loan_open') == 'true'}">
|
<li>
|
<a href="<%=basePath%>normal/loanadmin!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">借贷订单</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_PLEDGE_CHECK')
|
|| security.isResourceAccessible('OP_PLEDGE_OPERATE')}">
|
<li>
|
<a href="<%=basePath%>normal/adminPledgeOrderAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">用户质押</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.getSystemPara('pledge_galaxy_open') == 'true'}">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_PLEDGE_GALAXY_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_PLEDGE_GALAXY_ORDER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminPledgeGalaxyOrderAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">质押2.0订单</span>
|
<span class="automonitor_pledge_galaxy_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_PLEDGE_GALAXY_PROFIT_CHECK')
|
|| security.isResourceAccessible('OP_PLEDGE_GALAXY_PROFIT_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminPledgeGalaxyProfitAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">质押2.0收益单</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_ACTIVITY_CHECK')
|
|| security.isResourceAccessible('OP_ACTIVITY_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminActivityOrderAction!list.action">
|
<i class="fa falist fa-anchor"></i>
|
<span class="sp-title">用户活动</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_FOREVER_CONTRACT_ORDER_CHECK,OP_FOREVER_CONTRACT_ORDER_OPERATE,OP_FOREVER_CONTRACT_APPLY_ORDER_CHECK,OP_FOREVER_CONTRACT_APPLY_ORDER_OPERATE,OP_FUTURES_CONTRACT_ORDER_CHECK,OP_FUTURES_CONTRACT_ORDER_OPERATE,OP_PROFIT_AND_LOSS_CONFIG_CHECK,OP_PROFIT_AND_LOSS_CONFIG_OPERATE,OP_EXCHANGE_APPLY_ORDER_CHECK,OP_EXCHANGE_APPLY_ORDER_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">交易所</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FOREVER_CONTRACT_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_FOREVER_CONTRACT_ORDER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminContractOrderAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">永续持仓单</span>
|
<span class="contract_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FOREVER_CONTRACT_APPLY_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_FOREVER_CONTRACT_APPLY_ORDER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminContractApplyOrderAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">永续委托单</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FUTURES_CONTRACT_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_FUTURES_CONTRACT_ORDER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminFuturesOrderAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">交割合约单</span>
|
<span class="futures_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_PROFIT_AND_LOSS_CONFIG_CHECK')
|
|| security.isResourceAccessible('OP_PROFIT_AND_LOSS_CONFIG_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminProfitAndLossConfigAction!list.action">
|
<i class="fa falist fa-columns"></i>
|
<span class="sp-title">交割场控设置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_APPLY_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_EXCHANGE_APPLY_ORDER_OPERATE')}">
|
<li>
|
<a href="<%=basePath%>normal/adminExchangeApplyOrderAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">币币交易单</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_FINANCE_ORDER_CHECK,OP_FINANCE_ORDER_OPERATE,OP_MINER_ORDER_CHECK,OP_MINER_ORDER_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">财富</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FINANCE_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_FINANCE_ORDER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminFinanceOrderAction!list.action">
|
<i class="fa falist fa-folder"></i>
|
<span class="sp-title">理财订单</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_MINER_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_MINER_ORDER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminMinerOrderAction!list.action">
|
<i class="fa falist fa-anchor"></i>
|
<span class="sp-title">矿机订单</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
</ul>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_AGENT')
|
|| security.isResourceListAccessible('OP_AGENT_CHECK,OP_AGENT_OPERATE,OP_USER_RECOM_CHECK,OP_USER_RECOM_OPERATE,OP_USER_KYC_CHECK,OP_USER_KYC_OPERATE,OP_USER_KYC_HIGH_LEVEL_CHECK,OP_USER_KYC_HIGH_LEVEL_OPERATE,OP_USER_SAFEWORD_APPLY_CHECK,OP_USER_SAFEWORD_APPLY_OPERATE,OP_USER_CHECK,OP_USER_OPERATE,OP_DAPP_USER_CHECK,OP_DAPP_USER_OPERATE,OP_EXCHANGE_USER_CHECK,OP_EXCHANGE_USER_OPERATE')}">
|
|
<li class="dropdown">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">用户
|
<span class="user_untreated_count badge label-danger" style="display: none">0</span>
|
<span class="caret"></span>
|
</a>
|
<ul class="dropdown-menu dropdown-menu-list">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_AGENT_CHECK')
|
|| security.isResourceAccessible('OP_AGENT_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminAgentAction!list.action">
|
<i class="fa falist fa-group"></i>
|
<span class="sp-title">代理商</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_USER_RECOM_CHECK')
|
|| security.isResourceAccessible('OP_USER_RECOM_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminUserRecomAction!list.action">
|
<i class="fa falist fa-user"></i>
|
<span class="sp-title">推荐关系</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_USER_KYC_CHECK')
|
|| security.isResourceAccessible('OP_USER_KYC_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminKycAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">用户基础认证</span>
|
<span class="kyc_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_USER_KYC_HIGH_LEVEL_CHECK')
|
|| security.isResourceAccessible('OP_USER_KYC_HIGH_LEVEL_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminKycHighLevelAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">用户高级认证</span>
|
<span class="kyc_high_level_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_USER_SAFEWORD_APPLY_CHECK')
|
|| security.isResourceAccessible('OP_USER_SAFEWORD_APPLY_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminUserSafewordApplyAction!list.action">
|
<i class="fa falist fa-star-o"></i>
|
<span class="sp-title">人工重置管理</span>
|
<span class="user_safeword_apply_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_AGENT')
|
|| security.isResourceAccessible('OP_USER_CHECK')
|
|| security.isResourceAccessible('OP_USER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminUserAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">用户基础管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_DAPP_USER_CHECK,OP_DAPP_USER_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">DAPP</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_DAPP_USER_CHECK')
|
|| security.isResourceAccessible('OP_DAPP_USER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/dappAdminUserAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">DAPP_用户管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_EXCHANGE_USER_CHECK,OP_EXCHANGE_USER_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">交易所</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_USER_CHECK')
|
|| security.isResourceAccessible('OP_EXCHANGE_USER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/exchangeAdminUserAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">交易所_用户管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
</ul>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_DAPP_WITHDRAW_CHECK,OP_DAPP_WITHDRAW_OPERATE,OP_EXCHANGE_WITHDRAW_CHECK,OP_EXCHANGE_WITHDRAW_OPERATE,OP_EXCHANGE_RECHARGE_CHECK,OP_EXCHANGE_RECHARGE_OPERATE')}">
|
|
<li class="dropdown">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">财务
|
<span class="money_untreated_count badge label-danger" style="display: none">0</span>
|
<span class="caret"></span>
|
</a>
|
<ul class="dropdown-menu dropdown-menu-list">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_DAPP_WITHDRAW_CHECK')
|
|| security.isResourceAccessible('OP_DAPP_WITHDRAW_OPERATE')}">
|
|
<li role="presentation" class="dropdown-header">DAPP</li>
|
|
<li>
|
<a href="<%=basePath%>normal/adminAutoMonitorWithdrawAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">DAPP_提现订单</span>
|
<span class="automonitor_withdraw_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_EXCHANGE_WITHDRAW_CHECK,OP_EXCHANGE_WITHDRAW_OPERATE,OP_EXCHANGE_RECHARGE_CHECK,OP_EXCHANGE_RECHARGE_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">交易所</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_WITHDRAW_CHECK')
|
|| security.isResourceAccessible('OP_EXCHANGE_WITHDRAW_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminWithdrawAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">交易所_提现订单</span>
|
<span class="withdraw_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_RECHARGE_CHECK')
|
|| security.isResourceAccessible('OP_EXCHANGE_RECHARGE_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminRechargeBlockchainOrderAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">交易所_充值订单</span>
|
<span class="recharge_blockchain_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<%-- <c:if test="${security.isRolesAccessible('ROLE_ROOT')}">
|
<li>
|
<a href="<%=basePath%>normal/adminChannelBlockchainAction!list.action">
|
<i class="fa fa-bars falist"></i>
|
<span class="sp-title">区块链充值地址维护</span>
|
</a>
|
</li>
|
</c:if> --%>
|
|
</ul>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.getSystemPara('c2c_open') == 'true'}">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_C2C_PAYMENT_METHOD_CONFIG_CHECK,OP_C2C_PAYMENT_METHOD_CONFIG_OPERATE,OP_C2C_PAYMENT_METHOD_CHECK,OP_C2C_PAYMENT_METHOD_OPERATE,OP_C2C_USER_CHECK,OP_C2C_USER_OPERATE,OP_C2C_ADVERT_CHECK,OP_C2C_ADVERT_OPERATE,OP_C2C_ORDER_CHECK,OP_C2C_ORDER_OPERATE,OP_C2C_APPEAL_CHECK,OP_C2C_APPEAL_OPERATE')}">
|
<li class="dropdown">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">C2C
|
<span class="c2c_untreated_count badge label-danger" style="display: none">0</span>
|
<span class="caret"></span></a>
|
|
<ul class="dropdown-menu dropdown-menu-list">
|
|
<%-- <c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_C2C_PAYMENT_METHOD_CONFIG_CHECK')
|
|| security.isResourceAccessible('OP_C2C_PAYMENT_METHOD_CONFIG_OPERATE')}"> --%>
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')}">
|
<li>
|
<a href="<%=basePath%>normal/adminC2cPaymentMethodConfigAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">C2C支付方式模板</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_C2C_PAYMENT_METHOD_CHECK')
|
|| security.isResourceAccessible('OP_C2C_PAYMENT_METHOD_OPERATE')}">
|
<li>
|
<a href="<%=basePath%>normal/adminC2cPaymentMethodAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">C2C支付方式管理</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_C2C_USER_CHECK')
|
|| security.isResourceAccessible('OP_C2C_USER_OPERATE')}">
|
<li>
|
<a href="<%=basePath%>normal/adminC2cUserAction!list.action">
|
<i class="fa falist fa-user-md"></i>
|
<span class="sp-title">C2C承兑商管理</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_C2C_ADVERT_CHECK')
|
|| security.isResourceAccessible('OP_C2C_ADVERT_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminC2cAdvertAction!list.action">
|
<i class="fa falist fa-newspaper-o"></i>
|
<span class="sp-title">C2C广告配置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_C2C_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_C2C_ORDER_OPERATE')}">
|
<li>
|
<a href="<%=basePath%>normal/adminC2cOrderAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">C2C订单</span>
|
<span class="c2c_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_C2C_APPEAL_CHECK')
|
|| security.isResourceAccessible('OP_C2C_APPEAL_OPERATE')}">
|
<li>
|
<a href="<%=basePath%>normal/adminC2cAppealAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">C2C申诉</span>
|
<span class="c2c_appeal_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
</c:if>
|
</ul>
|
</li>
|
</c:if>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_DAPP_ALL_STATISTICS_CHECK,OP_DAPP_AGENT_ALL_STATISTICS_CHECK,OP_EXCHANGE_ALL_STATISTICS_CHECK,OP_EXCHANGE_AGENT_ALL_STATISTICS_CHECK,OP_EXCHANGE_USER_ALL_STATISTICS_CHECK')}">
|
|
<li class="dropdown">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">报表<span class="caret"></span></a>
|
<ul class="dropdown-menu dropdown-menu-list">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_DAPP_ALL_STATISTICS_CHECK,OP_DAPP_AGENT_ALL_STATISTICS_CHECK')}">
|
|
<li role="presentation" class="dropdown-header">DAPP</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_DAPP_ALL_STATISTICS_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminAllStatisticsAction!list.action">
|
<i class="fa falist fa-pie-chart"></i>
|
<span class="sp-title">DAPP_总充提报表</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_DAPP_AGENT_ALL_STATISTICS_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminAgentAllStatisticsAction!list.action">
|
<i class="fa falist fa-sitemap"></i>
|
<span class="sp-title">DAPP_代理商充提报表</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_EXCHANGE_ALL_STATISTICS_CHECK,OP_EXCHANGE_AGENT_ALL_STATISTICS_CHECK,OP_EXCHANGE_USER_ALL_STATISTICS_CHECK')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">交易所</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_ALL_STATISTICS_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/exchangeAdminAllStatisticsAction!list.action">
|
<i class="fa falist fa-pie-chart"></i>
|
<span class="sp-title">交易所_总充提报表</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_AGENT_ALL_STATISTICS_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/exchangeAdminAgentAllStatisticsAction!list.action">
|
<i class="fa falist fa-sitemap"></i>
|
<span class="sp-title">交易所_代理商充提报表</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_USER_ALL_STATISTICS_CHECK')}">
|
<li>
|
<a href="<%=basePath%>normal/adminUserAllStatisticsAction!exchangeList.action">
|
<i class="fa falist fa-align-left"></i>
|
<span class="sp-title">交易所_用户收益报表</span>
|
</a>
|
</li>
|
</c:if>
|
</ul>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_POOL_DATA_CHECK,OP_POOL_DATA_OPERATE,OP_MINING_CONFIG_CHECK,OP_MINING_CONFIG_OPERATE,OP_MARKET_CHECK,OP_MARKET_OPERATE,OP_FOREVER_CONTRACT_CHECK,OP_FOREVER_CONTRACT_OPERATE,OP_EXCHANGE_RATE_CHECK,OP_EXCHANGE_RATE_OPERATE,OP_ITEM_CHECK,OP_ITEM_OPERATE')
|
|| security.isResourceListAccessible('OP_PLEDGE_CONFIG_CHECK,OP_PLEDGE_CONFIG_OPERATE,OP_ACTIVITY_MANAGE_CHECK,OP_ACTIVITY_MANAGE_OPERATE,OP_FUTURES_CONTRACT_CHECK,OP_FUTURES_CONTRACT_OPERATE,OP_FINANCE_CHECK,OP_FINANCE_OPERATE,OP_MINER_CHECK,OP_MINER_OPERATE,OP_CMS_CHECK,OP_CMS_OPERATE,OP_NEWS_CHECK,OP_NEWS_OPERATE,OP_BANNER_CHECK,OP_BANNER_OPERATE')}">
|
|
<li class="dropdown link">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">配置<span class="caret"></span></a>
|
<ul class="dropdown-menu dropdown-menu-list dropdown-menu-right">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_POOL_DATA_CHECK,OP_POOL_DATA_OPERATE,OP_MINING_CONFIG_CHECK,OP_MINING_CONFIG_OPERATE,OP_PLEDGE_CONFIG_CHECK,OP_PLEDGE_CONFIG_OPERATE,OP_ACTIVITY_MANAGE_CHECK,OP_ACTIVITY_MANAGE_OPERATE')}">
|
|
<li role="presentation" class="dropdown-header">DAPP</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_POOL_DATA_CHECK')
|
|| security.isResourceAccessible('OP_POOL_DATA_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminAutoMonitorPoolDataAction!toUpdate.action">
|
<i class="fa fa-newspaper-o falist"></i>
|
<span class="sp-title">矿池产出数据</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_MINING_CONFIG_CHECK')
|
|| security.isResourceAccessible('OP_MINING_CONFIG_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminMiningConfigAction!list.action">
|
<i class="fa fa-suitcase falist"></i>
|
<span class="sp-title">矿池收益规则</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_PLEDGE_CONFIG_CHECK')
|
|| security.isResourceAccessible('OP_PLEDGE_CONFIG_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminPledgeConfigAction!list.action">
|
<i class="fa falist fa-text-width"></i>
|
<span class="sp-title">全局质押配置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.getSystemPara('pledge_galaxy_open') == 'true'}">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_PLEDGE_GALAXY_CONFIG_CHECK')
|
|| security.isResourceAccessible('OP_PLEDGE_GALAXY_CONFIG_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminPledgeGalaxyConfigAction!list.action">
|
<i class="fa falist fa-text-width"></i>
|
<span class="sp-title">质押2.0配置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_ACTIVITY_MANAGE_CHECK')
|
|| security.isResourceAccessible('OP_ACTIVITY_MANAGE_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminActivityAction!list.action">
|
<i class="fa falist fa-globe"></i>
|
<span class="sp-title">全局活动管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_MARKET_CHECK,OP_MARKET_OPERATE,OP_FOREVER_CONTRACT_CHECK,OP_FOREVER_CONTRACT_OPERATE,OP_EXCHANGE_RATE_CHECK,OP_EXCHANGE_RATE_OPERATE,OP_ITEM_CHECK,OP_ITEM_OPERATE,OP_FUTURES_CONTRACT_CHECK,OP_FUTURES_CONTRACT_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">交易所</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_MARKET_CHECK')
|
|| security.isResourceAccessible('OP_MARKET_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminMarketQuotationsManageAction!list.action">
|
<i class="fa falist fa-bar-chart"></i>
|
<span class="sp-title">行情管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_ITEM_CHECK')
|
|| security.isResourceAccessible('OP_ITEM_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminItemAction!listConfig.action">
|
<i class="fa falist fa-archive"></i>
|
<span class="sp-title">行情品种管理</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FOREVER_CONTRACT_CHECK')
|
|| security.isResourceAccessible('OP_FOREVER_CONTRACT_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminItemAction!list.action">
|
<i class="fa falist fa-cogs"></i>
|
<span class="sp-title">永续合约管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FUTURES_CONTRACT_CHECK')
|
|| security.isResourceAccessible('OP_FUTURES_CONTRACT_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminContractManageAction!list.action">
|
<i class="fa falist fa-gear"></i>
|
<span class="sp-title">交割合约管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_RATE_CHECK')
|
|| security.isResourceAccessible('OP_EXCHANGE_RATE_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminExchangeRateAction!list.action">
|
<i class="fa falist fa-h-square"></i>
|
<span class="sp-title">汇率配置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_FINANCE_CHECK,OP_FINANCE_OPERATE,OP_MINER_CHECK,OP_MINER_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">财富</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FINANCE_CHECK')
|
|| security.isResourceAccessible('OP_FINANCE_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminFinanceAction!list.action">
|
<i class="fa falist fa-cubes"></i>
|
<span class="sp-title">理财配置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_MINER_CHECK')
|
|| security.isResourceAccessible('OP_MINER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminMinerAction!list.action">
|
<i class="fa falist fa-suitcase"></i>
|
<span class="sp-title">矿机配置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_CMS_CHECK,OP_CMS_OPERATE,OP_NEWS_CHECK,OP_NEWS_OPERATE,OP_BANNER_CHECK,OP_BANNER_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">内容</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_CMS_CHECK')
|
|| security.isResourceAccessible('OP_CMS_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminCmsAction!list.action">
|
<i class="fa falist fa-book"></i>
|
<span class="sp-title">用户端内容管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_NEWS_CHECK')
|
|| security.isResourceAccessible('OP_NEWS_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminNewsAction!list.action">
|
<i class="fa falist fa-book"></i>
|
<span class="sp-title">新闻管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_BANNER_CHECK')
|
|| security.isResourceAccessible('OP_BANNER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminBannerAction!list.action">
|
<i class="fa falist fa-flag"></i>
|
<span class="sp-title">横幅管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
</ul>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_MAINTAINER')
|
|| security.isResourceListAccessible('OP_SYSPARA_CHECK,OP_SYSPARA_OPERATE,OP_CUSTOMER_CHECK,OP_MONEY_LOG_CHECK,OP_LOG_CHECK,OP_DAPP_LOG_CHECK,OP_CODE_LOG_CHECK')}">
|
|
<li class="dropdown">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">系统<span class="caret"></span></a>
|
<ul class="dropdown-menu dropdown-menu-list">
|
|
<%-- <c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_MAINTAINER')}"> --%>
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminSysparaAction!list.action">
|
<i class="fa fa-list-alt falist"></i>
|
<span class="sp-title">系统参数(ROOT)</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<%-- <c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')}">
|
<li>
|
<a href="<%=basePath%>normal/adminSysparaAction!listAdmin.action">
|
<i class="fa fa-list-alt falist"></i>
|
<span class="sp-title">系统参数(ADMIN)</span>
|
</a>
|
</li>
|
</c:if> --%>
|
|
<%-- <c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_MAINTAINER')
|
|| security.isResourceAccessible('OP_SYSPARA_CHECK')
|
|| security.isResourceAccessible('OP_SYSPARA_OPERATE')}"> --%>
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_SYSPARA_CHECK')
|
|| security.isResourceAccessible('OP_SYSPARA_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminSysparaAction!toUpdate.action">
|
<i class="fa fa-list-alt falist"></i>
|
<span class="sp-title">系统参数</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_CUSTOMER_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminCustomerAction!list.action">
|
<i class="fa falist fa-user"></i>
|
<span class="sp-title">客服管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<li class="divider"></li>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')}">
|
|
<li role="presentation" class="dropdown-header">系统用户</li>
|
|
<li>
|
<a href="<%=basePath%>normal/adminRoleAuthorityAction!list.action">
|
<i class="fa falist fa-child"></i>
|
<span class="sp-title">角色管理</span>
|
</a>
|
</li>
|
|
<li>
|
<a href="<%=basePath%>normal/adminSystemUserAction!list.action">
|
<i class="fa fa-bullhorn falist"></i>
|
<span class="sp-title">系统用户管理</span>
|
</a>
|
</li>
|
|
<li class="divider"></li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_MONEY_LOG_CHECK,OP_LOG_CHECK,OP_DAPP_LOG_CHECK,OP_CODE_LOG_CHECK')}">
|
|
<li role="presentation" class="dropdown-header">日志</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_MONEY_LOG_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminMoneyLogAction!list.action">
|
<i class="fa falist fa-inbox"></i>
|
<span class="sp-title">账变记录</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_LOG_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminLogAction!list.action">
|
<i class="fa falist fa-file-o"></i>
|
<span class="sp-title">操作日志</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_DAPP_LOG_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminAutoMonitorDAppLogAction!list.action">
|
<i class="fa falist fa-asterisk"></i>
|
<span class="sp-title">前端日志</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_CODE_LOG_CHECK')}">
|
<li>
|
<a href="<%=basePath%>normal/adminCodeLogAction!list.action">
|
<i class="fa falist fa-envelope"></i>
|
<span class="sp-title">验证码发送日志</span>
|
</a>
|
</li>
|
</c:if>
|
|
</ul>
|
</li>
|
|
</c:if>
|
|
</c:if>
|
|
<!-- 交易所 菜单 ############################################################################################################# -->
|
<c:if test="${security.isDappOrExchange()}">
|
|
<c:choose>
|
<c:when test="${security.isRolesAccessible('ROLE_AGENT')}">
|
<li class="dropdown-parent">
|
<a href="<%=basePath%>normal/adminUserAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">用户基础管理</span>
|
</a>
|
</li>
|
</c:when>
|
<c:otherwise>
|
<li class="dropdown-parent">
|
<a href="<%=basePath%>normal/adminIndexAction!view.action">
|
<i class="fa falist fa-home"></i>
|
<span class="sp-title">综合查询</span>
|
</a>
|
</li>
|
</c:otherwise>
|
</c:choose>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_FOREVER_CONTRACT_ORDER_CHECK,OP_FOREVER_CONTRACT_ORDER_OPERATE,OP_FOREVER_CONTRACT_APPLY_ORDER_CHECK,OP_FOREVER_CONTRACT_APPLY_ORDER_OPERATE,OP_FUTURES_CONTRACT_ORDER_CHECK,OP_FUTURES_CONTRACT_ORDER_OPERATE,OP_PROFIT_AND_LOSS_CONFIG_CHECK,OP_PROFIT_AND_LOSS_CONFIG_OPERATE,OP_EXCHANGE_APPLY_ORDER_CHECK,OP_EXCHANGE_APPLY_ORDER_OPERATE,OP_FINANCE_ORDER_CHECK,OP_FINANCE_ORDER_OPERATE,OP_MINER_ORDER_CHECK,OP_MINER_ORDER_OPERATE')}">
|
|
<li class="dropdown">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">业务
|
<span class="business_untreated_count badge label-danger" style="display: none">0</span>
|
<span class="caret"></span>
|
</a>
|
<ul class="dropdown-menu dropdown-menu-list">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_FOREVER_CONTRACT_ORDER_CHECK,OP_FOREVER_CONTRACT_ORDER_OPERATE,OP_FOREVER_CONTRACT_APPLY_ORDER_CHECK,OP_FOREVER_CONTRACT_APPLY_ORDER_OPERATE,OP_FUTURES_CONTRACT_ORDER_CHECK,OP_FUTURES_CONTRACT_ORDER_OPERATE,OP_PROFIT_AND_LOSS_CONFIG_CHECK,OP_PROFIT_AND_LOSS_CONFIG_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">合约</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FOREVER_CONTRACT_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_FOREVER_CONTRACT_ORDER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminContractOrderAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">永续持仓单</span>
|
<span class="contract_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FOREVER_CONTRACT_APPLY_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_FOREVER_CONTRACT_APPLY_ORDER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminContractApplyOrderAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">永续委托单</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FUTURES_CONTRACT_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_FUTURES_CONTRACT_ORDER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminFuturesOrderAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">交割合约单</span>
|
<span class="futures_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_PROFIT_AND_LOSS_CONFIG_CHECK')
|
|| security.isResourceAccessible('OP_PROFIT_AND_LOSS_CONFIG_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminProfitAndLossConfigAction!list.action">
|
<i class="fa falist fa-columns"></i>
|
<span class="sp-title">交割场控设置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_EXCHANGE_APPLY_ORDER_CHECK,OP_EXCHANGE_APPLY_ORDER_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">币币</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_APPLY_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_EXCHANGE_APPLY_ORDER_OPERATE')}">
|
<li>
|
<a href="<%=basePath%>normal/adminExchangeApplyOrderAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">币币交易单</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_FINANCE_ORDER_CHECK,OP_FINANCE_ORDER_OPERATE,OP_MINER_ORDER_CHECK,OP_MINER_ORDER_OPERATE,OP_LOAN_ORDER_CHECK,OP_LOAN_ORDER_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">财富</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FINANCE_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_FINANCE_ORDER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminFinanceOrderAction!list.action">
|
<i class="fa falist fa-folder"></i>
|
<span class="sp-title">理财订单</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_MINER_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_MINER_ORDER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminMinerOrderAction!list.action">
|
<i class="fa falist fa-anchor"></i>
|
<span class="sp-title">矿机订单</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_LOAN_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_LOAN_ORDER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>/normal/adminLoanOrder!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">质押借币订单</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
</ul>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_AGENT')
|
|| security.isResourceListAccessible('OP_AGENT_CHECK,OP_AGENT_OPERATE,OP_USER_RECOM_CHECK,OP_USER_RECOM_OPERATE,OP_USER_KYC_CHECK,OP_USER_KYC_OPERATE,OP_USER_KYC_HIGH_LEVEL_CHECK,OP_USER_KYC_HIGH_LEVEL_OPERATE,OP_USER_SAFEWORD_APPLY_CHECK,OP_USER_SAFEWORD_APPLY_OPERATE,OP_USER_CHECK,OP_USER_OPERATE,OP_EXCHANGE_USER_CHECK,OP_EXCHANGE_USER_OPERATE')}">
|
|
<li class="dropdown">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">用户
|
<span class="user_untreated_count badge label-danger" style="display: none">0</span>
|
<span class="caret"></span>
|
</a>
|
<ul class="dropdown-menu dropdown-menu-list">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_AGENT_CHECK')
|
|| security.isResourceAccessible('OP_AGENT_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminAgentAction!list.action">
|
<i class="fa falist fa-group"></i>
|
<span class="sp-title">代理商</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_USER_RECOM_CHECK')
|
|| security.isResourceAccessible('OP_USER_RECOM_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminUserRecomAction!list.action">
|
<i class="fa falist fa-user"></i>
|
<span class="sp-title">推荐关系</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_USER_KYC_CHECK')
|
|| security.isResourceAccessible('OP_USER_KYC_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminKycAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">用户基础认证</span>
|
<span class="kyc_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_USER_KYC_HIGH_LEVEL_CHECK')
|
|| security.isResourceAccessible('OP_USER_KYC_HIGH_LEVEL_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminKycHighLevelAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">用户高级认证</span>
|
<span class="kyc_high_level_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_USER_SAFEWORD_APPLY_CHECK')
|
|| security.isResourceAccessible('OP_USER_SAFEWORD_APPLY_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminUserSafewordApplyAction!list.action">
|
<i class="fa falist fa-star-o"></i>
|
<span class="sp-title">人工重置管理</span>
|
<span class="user_safeword_apply_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_AGENT')
|
|| security.isResourceAccessible('OP_USER_CHECK')
|
|| security.isResourceAccessible('OP_USER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminUserAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">用户基础管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_USER_CHECK')
|
|| security.isResourceAccessible('OP_EXCHANGE_USER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/exchangeAdminUserAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">用户管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
</ul>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_EXCHANGE_WITHDRAW_CHECK,OP_EXCHANGE_WITHDRAW_OPERATE,OP_EXCHANGE_RECHARGE_CHECK,OP_EXCHANGE_RECHARGE_OPERATE')}">
|
|
<li class="dropdown">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">财务
|
<span class="money_untreated_count badge label-danger" style="display: none">0</span>
|
<span class="caret"></span>
|
</a>
|
<ul class="dropdown-menu dropdown-menu-list">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_WITHDRAW_CHECK')
|
|| security.isResourceAccessible('OP_EXCHANGE_WITHDRAW_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminWithdrawAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">提现订单</span>
|
<span class="withdraw_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_RECHARGE_CHECK')
|
|| security.isResourceAccessible('OP_EXCHANGE_RECHARGE_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminRechargeBlockchainOrderAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">充值订单</span>
|
<span class="recharge_blockchain_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<%-- <c:if test="${security.isRolesAccessible('ROLE_ROOT')}">
|
<li>
|
<a href="<%=basePath%>normal/adminChannelBlockchainAction!list.action">
|
<i class="fa fa-bars falist"></i>
|
<span class="sp-title">区块链充值地址维护</span>
|
</a>
|
</li>
|
</c:if> --%>
|
|
</ul>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.getSystemPara('c2c_open') == 'true'}">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_C2C_PAYMENT_METHOD_CONFIG_CHECK,OP_C2C_PAYMENT_METHOD_CONFIG_OPERATE,OP_C2C_PAYMENT_METHOD_CHECK,OP_C2C_PAYMENT_METHOD_OPERATE,OP_C2C_USER_CHECK,OP_C2C_USER_OPERATE,OP_C2C_ADVERT_CHECK,OP_C2C_ADVERT_OPERATE,OP_C2C_ORDER_CHECK,OP_C2C_ORDER_OPERATE,OP_C2C_APPEAL_CHECK,OP_C2C_APPEAL_OPERATE')}">
|
<li class="dropdown">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">C2C
|
<span class="c2c_untreated_count badge label-danger" style="display: none">0</span>
|
<span class="caret"></span></a>
|
|
<ul class="dropdown-menu dropdown-menu-list">
|
|
<%-- <c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_C2C_PAYMENT_METHOD_CONFIG_CHECK')
|
|| security.isResourceAccessible('OP_C2C_PAYMENT_METHOD_CONFIG_OPERATE')}"> --%>
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')}">
|
<li>
|
<a href="<%=basePath%>normal/adminC2cPaymentMethodConfigAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">C2C支付方式模板</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_C2C_PAYMENT_METHOD_CHECK')
|
|| security.isResourceAccessible('OP_C2C_PAYMENT_METHOD_OPERATE')}">
|
<li>
|
<a href="<%=basePath%>normal/adminC2cPaymentMethodAction!list.action">
|
<i class="fa falist fa-credit-card"></i>
|
<span class="sp-title">C2C支付方式管理</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_C2C_USER_CHECK')
|
|| security.isResourceAccessible('OP_C2C_USER_OPERATE')}">
|
<li>
|
<a href="<%=basePath%>normal/adminC2cUserAction!list.action">
|
<i class="fa falist fa-user-md"></i>
|
<span class="sp-title">C2C承兑商管理</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_C2C_ADVERT_CHECK')
|
|| security.isResourceAccessible('OP_C2C_ADVERT_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminC2cAdvertAction!list.action">
|
<i class="fa falist fa-newspaper-o"></i>
|
<span class="sp-title">C2C广告配置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_C2C_ORDER_CHECK')
|
|| security.isResourceAccessible('OP_C2C_ORDER_OPERATE')}">
|
<li>
|
<a href="<%=basePath%>normal/adminC2cOrderAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">C2C订单</span>
|
<span class="c2c_order_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_C2C_APPEAL_CHECK')
|
|| security.isResourceAccessible('OP_C2C_APPEAL_OPERATE')}">
|
<li>
|
<a href="<%=basePath%>normal/adminC2cAppealAction!list.action">
|
<i class="fa falist fa-file-text-o"></i>
|
<span class="sp-title">C2C申诉</span>
|
<span class="c2c_appeal_untreated_cout badge label-danger" style="display: none">0</span>
|
</a>
|
</li>
|
</c:if>
|
</ul>
|
</li>
|
</c:if>
|
</c:if>
|
|
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_EXCHANGE_ALL_STATISTICS_CHECK,OP_EXCHANGE_AGENT_ALL_STATISTICS_CHECK,OP_EXCHANGE_USER_ALL_STATISTICS_CHECK')}">
|
|
<li class="dropdown">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">报表<span class="caret"></span></a>
|
<ul class="dropdown-menu dropdown-menu-list">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_ALL_STATISTICS_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/exchangeAdminAllStatisticsAction!list.action">
|
<i class="fa falist fa-pie-chart"></i>
|
<span class="sp-title">总充提报表</span>
|
</a>
|
</li>
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_AGENT_ALL_STATISTICS_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/exchangeAdminAgentAllStatisticsAction!list.action">
|
<i class="fa falist fa-sitemap"></i>
|
<span class="sp-title">代理商充提报表</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_USER_ALL_STATISTICS_CHECK')}">
|
<li>
|
<a href="<%=basePath%>normal/adminUserAllStatisticsAction!exchangeList.action">
|
<i class="fa falist fa-align-left"></i>
|
<span class="sp-title">用户收益报表</span>
|
</a>
|
</li>
|
</c:if>
|
</ul>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_EXCHANGE_RATE_CHECK,OP_EXCHANGE_RATE_OPERATE,OP_MARKET_CHECK,OP_MARKET_OPERATE,OP_ITEM_CHECK,OP_ITEM_OPERATE,OP_FOREVER_CONTRACT_CHECK,OP_FOREVER_CONTRACT_OPERATE,OP_FUTURES_CONTRACT_CHECK,OP_FUTURES_CONTRACT_OPERATE,OP_FINANCE_CHECK,OP_FINANCE_OPERATE,OP_MINER_CHECK,OP_MINER_OPERATE,OP_CMS_CHECK,OP_CMS_OPERATE,OP_NEWS_CHECK,OP_NEWS_OPERATE')}">
|
|
<li class="dropdown link">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">配置<span class="caret"></span></a>
|
<ul class="dropdown-menu dropdown-menu-list dropdown-menu-right">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_EXCHANGE_RATE_CHECK')
|
|| security.isResourceAccessible('OP_EXCHANGE_RATE_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminExchangeRateAction!list.action">
|
<i class="fa falist fa-h-square"></i>
|
<span class="sp-title">汇率配置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_MARKET_CHECK,OP_MARKET_OPERATE,OP_ITEM_CHECK,OP_ITEM_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">行情</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_MARKET_CHECK')
|
|| security.isResourceAccessible('OP_MARKET_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminMarketQuotationsManageAction!list.action">
|
<i class="fa falist fa-bar-chart"></i>
|
<span class="sp-title">行情管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_ITEM_CHECK')
|
|| security.isResourceAccessible('OP_ITEM_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminItemAction!listConfig.action">
|
<i class="fa falist fa-archive"></i>
|
<span class="sp-title">行情品种管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_FOREVER_CONTRACT_CHECK,OP_FOREVER_CONTRACT_OPERATE,OP_FUTURES_CONTRACT_CHECK,OP_FUTURES_CONTRACT_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">合约</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FOREVER_CONTRACT_CHECK')
|
|| security.isResourceAccessible('OP_FOREVER_CONTRACT_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminItemAction!list.action">
|
<i class="fa falist fa-cogs"></i>
|
<span class="sp-title">永续合约管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FUTURES_CONTRACT_CHECK')
|
|| security.isResourceAccessible('OP_FUTURES_CONTRACT_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminContractManageAction!list.action">
|
<i class="fa falist fa-gear"></i>
|
<span class="sp-title">交割合约管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_FINANCE_CHECK,OP_FINANCE_OPERATE,OP_MINER_CHECK,OP_MINER_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">财富</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_MINER_CHECK')
|
|| security.isResourceAccessible('OP_MINER_OPERATE')}">
|
<li>
|
<a href="<%=basePath%>normal/adminPledgeConfigAction!list.action">
|
<i class="fa falist fa-text-width"></i>
|
<span class="sp-title">余额收益下发配置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_FINANCE_CHECK')
|
|| security.isResourceAccessible('OP_FINANCE_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminFinanceAction!list.action">
|
<i class="fa falist fa-cubes"></i>
|
<span class="sp-title">理财配置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_MINER_CHECK')
|
|| security.isResourceAccessible('OP_MINER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminMinerAction!list.action">
|
<i class="fa falist fa-suitcase"></i>
|
<span class="sp-title">矿机配置</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_CMS_CHECK,OP_CMS_OPERATE,OP_NEWS_CHECK,OP_NEWS_OPERATE,OP_BANNER_CHECK,OP_BANNER_OPERATE')}">
|
|
<li class="divider"></li>
|
|
<li role="presentation" class="dropdown-header">内容</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_CMS_CHECK')
|
|| security.isResourceAccessible('OP_CMS_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminCmsAction!list.action">
|
<i class="fa falist fa-book"></i>
|
<span class="sp-title">用户端内容管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_NEWS_CHECK')
|
|| security.isResourceAccessible('OP_NEWS_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminNewsAction!list.action">
|
<i class="fa falist fa-book"></i>
|
<span class="sp-title">新闻管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_BANNER_CHECK')
|
|| security.isResourceAccessible('OP_BANNER_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminBannerAction!list.action">
|
<i class="fa falist fa-flag"></i>
|
<span class="sp-title">横幅管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
</ul>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_MAINTAINER')
|
|| security.isResourceListAccessible('OP_SYSPARA_CHECK,OP_SYSPARA_OPERATE,OP_CUSTOMER_CHECK,OP_MONEY_LOG_CHECK,OP_LOG_CHECK,OP_DAPP_LOG_CHECK,OP_CODE_LOG_CHECK')}">
|
|
<li class="dropdown">
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle">系统<span class="caret"></span></a>
|
<ul class="dropdown-menu dropdown-menu-list">
|
|
<%-- <c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_MAINTAINER')}"> --%>
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminSysparaAction!list.action">
|
<i class="fa fa-list-alt falist"></i>
|
<span class="sp-title">系统参数(ROOT)</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<%-- <c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')}">
|
<li>
|
<a href="<%=basePath%>normal/adminSysparaAction!listAdmin.action">
|
<i class="fa fa-list-alt falist"></i>
|
<span class="sp-title">系统参数(ADMIN)</span>
|
</a>
|
</li>
|
</c:if> --%>
|
|
<%-- <c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_MAINTAINER')
|
|| security.isResourceAccessible('OP_SYSPARA_CHECK')
|
|| security.isResourceAccessible('OP_SYSPARA_OPERATE')}"> --%>
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_SYSPARA_CHECK')
|
|| security.isResourceAccessible('OP_SYSPARA_OPERATE')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminSysparaAction!toUpdate.action">
|
<i class="fa fa-list-alt falist"></i>
|
<span class="sp-title">系统参数</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_CUSTOMER_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminCustomerAction!list.action">
|
<i class="fa falist fa-user"></i>
|
<span class="sp-title">客服管理</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<li class="divider"></li>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')}">
|
|
<li role="presentation" class="dropdown-header">系统用户</li>
|
|
<li>
|
<a href="<%=basePath%>normal/adminRoleAuthorityAction!list.action">
|
<i class="fa falist fa-child"></i>
|
<span class="sp-title">角色管理</span>
|
</a>
|
</li>
|
|
<li>
|
<a href="<%=basePath%>normal/adminSystemUserAction!list.action">
|
<i class="fa fa-bullhorn falist"></i>
|
<span class="sp-title">系统用户管理</span>
|
</a>
|
</li>
|
|
<li class="divider"></li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceListAccessible('OP_MONEY_LOG_CHECK,OP_LOG_CHECK,OP_DAPP_LOG_CHECK,OP_CODE_LOG_CHECK')}">
|
|
<li role="presentation" class="dropdown-header">日志</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_MONEY_LOG_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminMoneyLogAction!list.action">
|
<i class="fa falist fa-inbox"></i>
|
<span class="sp-title">账变记录</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_LOG_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminLogAction!list.action">
|
<i class="fa falist fa-file-o"></i>
|
<span class="sp-title">操作日志</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_DAPP_LOG_CHECK')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminAutoMonitorDAppLogAction!list.action">
|
<i class="fa falist fa-asterisk"></i>
|
<span class="sp-title">前端日志</span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN')
|
|| security.isResourceAccessible('OP_CODE_LOG_CHECK')}">
|
<li>
|
<a href="<%=basePath%>normal/adminCodeLogAction!list.action">
|
<i class="fa falist fa-envelope"></i>
|
<span class="sp-title">验证码发送日志</span>
|
</a>
|
</li>
|
</c:if>
|
|
</ul>
|
</li>
|
|
</c:if>
|
|
</c:if>
|
|
</ul>
|
<!-- End Top Menu -->
|
|
<!-- Start Top Right -->
|
<ul class="top-right">
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_CUSTOMER')}">
|
|
<li class="link">
|
<a href="#" class="notifications" onclick="chat();">
|
<i class="fa fa fa-comments-o" style="font-size: 15px;"></i>
|
<span class="badge label-danger" style="margin-left: 5px;" id="online_chat_unread"></span>
|
</a>
|
</li>
|
|
</c:if>
|
|
<li class="dropdown link">
|
|
<a href="#" data-toggle="dropdown" class="dropdown-toggle profilebox">
|
|
<c:if test="${security.isRolesAccessible('ROLE_CUSTOMER')}">
|
|
<c:if test="${security.customerOnlineState() == 1}">
|
<span style="display: inline-block; width: 9px; height: 9px; border: 1px solid #fff; background: #12f381; border-radius: 50%;"></span>
|
</c:if>
|
<c:if test="${security.customerOnlineState() == 0}">
|
<span style="display: inline-block; width: 9px; height: 9px; border: 1px solid #fff; background: #828b87; border-radius: 50%;"></span>
|
</c:if>
|
|
</c:if>
|
|
<b>${username_login}</b>
|
<span class="caret"></span>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-menu-list dropdown-menu-right">
|
|
<c:if test="${security.isRolesAccessible('ROLE_CUSTOMER')}">
|
|
<li>
|
<a href="<%=basePath%>normal/adminPersonalCustomerAction!personalCustomer.action">
|
<i class="fa falist fa-user"></i><span class="sp-title">客服个人中心</span></a>
|
</li>
|
|
</c:if>
|
|
<li role="presentation" class="dropdown-header">密码</li>
|
|
<li><a href="<%=basePath%>normal/adminPasswordChangeAction!view.action"><i
|
class="fa falist fa-wrench"></i> <span class="sp-title">修改登录密码</span></a></li>
|
|
<li><a href="<%=basePath%>normal/adminPasswordChangeAction!viewSafeword.action"><i
|
class="fa falist fa-lock"></i><span class="sp-title">修改资金密码</span></a></li>
|
|
<c:if test="${security.getUsername_login() != 'admin'}">
|
<li><a
|
href="<%=basePath%>normal/adminGoogleAuthAction!toUpdateLoginGoogleAuth.action"><i
|
class="fa falist fa-google-plus-square"></i><span
|
class="sp-title">谷歌验证器</span></a></li>
|
<li class="divider"></li>
|
</c:if>
|
|
<li>
|
<a href="<%=basePath%>public/logout.action"><i class="fa falist fa-power-off"></i><span class="sp-title">退出登录</span></a>
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
<!-- End Top Right -->
|
|
</div>
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_CUSTOMER')}">
|
|
<style>
|
.chat_close {
|
position: fixed;
|
right: 20px;
|
top: 44px;
|
z-index: 899;
|
padding: 2px 7px;
|
border-radius: 5px;
|
cursor: pointer;
|
color: black;
|
}
|
.chat_close:hover {
|
color: rgba(0, 0, 0, 0.6);
|
background: rgba(0, 0, 0, 0.09);
|
}
|
</style>
|
|
<div class="panel panel-default"
|
style="display: none; margin-top: 40px; z-index: 898; position: fixed; width: 100%; height: 100%; padding: 0;"
|
id="chat_panel">
|
<div class="icon expand-tool chat_close" onMouseDown="chat();">
|
<i class="fa fa-close"></i>
|
</div>
|
<div class="panel-body panel-body-chat"
|
style="height: calc(100% - 45px);">
|
|
<c:if test="${security.getSystemPara('new_online_chat') == 'false'}">
|
<%@ include file="../online_chat.jsp"%>
|
</c:if>
|
<c:if test="${security.getSystemPara('new_online_chat') == 'true'}">
|
<%@ include file="../online_chat_new.jsp"%>
|
</c:if>
|
|
</div>
|
</div>
|
|
</c:if>
|
|
<div id="tip_alert" style=""></div>
|
|
<input type="hidden" id="top_ajax_url" value="<%=basePath%>normal/adminIndexAction!getUntreatedNum.action" />
|
|
<c:if test="${security.isRolesAccessible('ROLE_ROOT,ROLE_ADMIN,ROLE_CUSTOMER')}">
|
|
<script type="text/javascript">
|
function chat() {
|
if($("#chat_panel").is(":hidden")) {
|
$("#chat_panel").show();
|
getChatToken();//获取token
|
$("#isScroll").val(0);//消息置底,开始轮训
|
chat_interval();//开启聊天获取
|
$("body").css("overflow","hidden");
|
$("#chat_panel").find(".expand-tool").click();
|
} else {
|
$("#chat_panel").hide();
|
$("#isScroll").val(1);
|
chat_interval_clear();
|
$("body").css("overflow","auto");
|
$("#chat_panel").find(".expand-tool").click();
|
}
|
// $("#chat_panel").toggle();
|
}
|
function openNewChat() {//打开客服面板,展示最新消息
|
if($("#chat_panel").is(":hidden")) {
|
$("#chat_panel").show();
|
getChatToken();//获取token
|
$("#isScroll").val(0);//消息置底,开始轮训
|
chat_interval();//开启聊天获取
|
$("body").css("overflow","hidden");
|
$("#chat_panel").find(".expand-tool").click();
|
} else {
|
$(".msg-list").find(".item-li")[0].click();
|
}
|
}
|
setInterval(function() {
|
var data = {token:$("#chat_token").val()};
|
goChatAjaxUrl('<%=basePath%>public/newAdminOnlineChatAction!unread.action', data);
|
}, 2000);
|
function goChatAjaxUrl(targetUrl, data) {
|
$.ajax({
|
url : targetUrl,
|
data : data,
|
type : 'get',
|
dataType : "json",
|
success : function(res) {
|
// var temp = $.parseJSON(res);
|
var temp = res;
|
if(temp.code=="0"&&temp.data>0){
|
$("#online_chat_unread").html(temp.data);
|
}else{
|
$("#online_chat_unread").html("");
|
}
|
}
|
});
|
}
|
</script>
|
</c:if>
|
|
<script type="text/javascript">
|
|
window.onload = function() {
|
var data = {};
|
// goTopAjaxUrl($("#top_ajax_url").val(), data);
|
goSumTipsAjaxUrl('<%=basePath%>normal/adminTipAction!getTips.action', data);
|
newTips();
|
if($("#online_chat_unread")) {
|
getChatToken();
|
console.log($("#chat_token").val());
|
var data = {token:$("#chat_token").val()};
|
goChatAjaxUrl('<%=basePath%>public/newAdminOnlineChatAction!unread.action', data);
|
}
|
// 初始化内容
|
}
|
|
/*5轮询读取函数*/
|
setInterval(function() {
|
var data = {};
|
goSumTipsAjaxUrl('<%=basePath%>normal/adminTipAction!getTips.action', data);
|
}, 5000);
|
|
function goSumTipsAjaxUrl(targetUrl, data) {
|
$.ajax({
|
url : targetUrl,
|
data : data,
|
type : 'get',
|
dataType : "json",
|
success : function(data) {
|
// 一旦设置的 dataType 选项,就不再关心 服务端 响应的 Content-Type 了
|
// 客户端会主观认为服务端返回的就是 JSON 格式的字符串
|
// var temp = $.parseJSON(data)
|
var temp = data;
|
// console.log(temp);
|
initTipCountHandle();
|
|
var businessNum = 0;
|
var userNum = 0;
|
var moneyNum = 0;
|
var c2cNum = 0;
|
|
// 遍历tip
|
if (temp.tipList.length > 0) {
|
temp.tipList.forEach(function(ele) {
|
countHandle($(ele.tip_dom_name),ele.tip_content_sum);
|
if (ele.tip_dom_name == ".automonitor_threshold_order_untreated_cout"
|
|| ele.tip_dom_name == ".automonitor_approve_order_untreated_cout"
|
|| ele.tip_dom_name == ".contract_order_untreated_cout"
|
|| ele.tip_dom_name == ".futures_order_untreated_cout"
|
|| ele.tip_dom_name == ".automonitor_pledge_galaxy_order_untreated_cout") {
|
// 业务
|
businessNum = businessNum + ele.tip_content_sum;
|
} else if (ele.tip_dom_name == ".kyc_untreated_cout"
|
|| ele.tip_dom_name == ".kyc_high_level_untreated_cout"
|
|| ele.tip_dom_name == ".user_safeword_apply_untreated_cout") {
|
// 用户
|
userNum = userNum + ele.tip_content_sum;
|
} else if (ele.tip_dom_name == ".automonitor_withdraw_order_untreated_cout"
|
|| ele.tip_dom_name == ".withdraw_order_untreated_cout"
|
|| ele.tip_dom_name == ".recharge_blockchain_order_untreated_cout") {
|
// 财务
|
moneyNum = moneyNum + ele.tip_content_sum;
|
} else if (ele.tip_dom_name == ".c2c_order_untreated_cout"
|
|| ele.tip_dom_name == ".c2c_appeal_untreated_cout") {
|
// C2C
|
c2cNum = c2cNum + ele.tip_content_sum;
|
}
|
});
|
}
|
|
// 业务
|
countHandle($(".business_untreated_count"),businessNum);
|
// 用户
|
countHandle($(".user_untreated_count"),userNum);
|
// 财务
|
countHandle($(".money_untreated_count"),moneyNum);
|
// C2C
|
countHandle($(".c2c_untreated_count"),c2cNum);
|
|
// // 业务
|
// countHandle(
|
// $(".business_untreated_count"),
|
// Number($(".automonitor_threshold_order_untreated_cout").html())
|
// + Number($(".automonitor_approve_order_untreated_cout").html())
|
// + Number($(".contract_order_untreated_cout").html())
|
// + Number($(".futures_order_untreated_cout").html())
|
// + Number($(".automonitor_pledge_galaxy_order_untreated_cout").html()));
|
// // 用户
|
// countHandle(
|
// $(".user_untreated_count"),
|
// Number($(".kyc_untreated_cout").html())
|
// + Number($(".kyc_high_level_untreated_cout").html())
|
// + Number($(".user_safeword_apply_untreated_cout").html()));
|
// // 财务
|
// countHandle(
|
// $(".money_untreated_count"),
|
// Number($(".automonitor_withdraw_order_untreated_cout").html())
|
// + Number($(".withdraw_order_untreated_cout").html())
|
// + Number($(".recharge_blockchain_order_untreated_cout").html()));
|
}
|
});
|
}
|
|
function initTipCountHandle() {
|
// 目录
|
countHandle($(".business_untreated_count"), 0);
|
countHandle($(".user_untreated_count"), 0);
|
countHandle($(".money_untreated_count"), 0);
|
countHandle($(".c2c_untreated_count"), 0);
|
|
// 业务
|
countHandle($(".automonitor_approve_order_untreated_cout"), 0);
|
countHandle($(".automonitor_threshold_order_untreated_cout"), 0);
|
countHandle($(".contract_order_untreated_cout"), 0);
|
countHandle($(".futures_order_untreated_cout"), 0);
|
countHandle($(".automonitor_pledge_galaxy_order_untreated_cout"), 0);
|
// 用户
|
countHandle($(".kyc_untreated_cout"), 0);
|
countHandle($(".kyc_high_level_untreated_cout"), 0);
|
countHandle($(".user_safeword_apply_untreated_cout"), 0);
|
// 财务
|
countHandle($(".automonitor_withdraw_order_untreated_cout"),0);
|
countHandle($(".withdraw_order_untreated_cout"), 0);
|
countHandle($(".recharge_blockchain_order_untreated_cout"), 0);
|
// C2C
|
countHandle($(".c2c_order_untreated_cout"),0);
|
countHandle($(".c2c_appeal_untreated_cout"), 0);
|
}
|
|
setInterval(function() {
|
newTips();
|
}, 3000);
|
|
function newTips() {
|
var time_stamp = localStorage.getItem("time_stamp");
|
var data = {"time_stamp":time_stamp};
|
localStorage.setItem("time_stamp",new Date().getTime());
|
goNewTipsAjaxUrl('<%=basePath%>normal/adminTipAction!getNewTips.action', data);
|
}
|
|
function goNewTipsAjaxUrl(targetUrl, data) {
|
$.ajax({
|
url : targetUrl,
|
data : data,
|
type : 'get',
|
dataType : "json",
|
success : function(data) {
|
// 一旦设置的 dataType 选项,就不再关心 服务端 响应的 Content-Type 了
|
// 客户端会主观认为服务端返回的就是 JSON 格式的字符串
|
// var temp = $.parseJSON(data)
|
// console.log(temp);
|
//遍历tip
|
// console.log(temp.tipList);
|
var bottom = 20;
|
if (data.tipList.length > 0) {
|
data.tipList.forEach(function(ele) {
|
if(ele.tip_show!=false){
|
createTip(ele.tip_message, ele.tip_url, bottom);
|
bottom += 70;
|
}
|
});
|
}
|
}
|
});
|
}
|
|
/*5轮询读取函数*/
|
/* setInterval(function() {
|
var data = {};
|
goTopAjaxUrl($("#top_ajax_url").val(), data);
|
}, 10000); */
|
|
function goTopAjaxUrl(targetUrl, data) {
|
$.ajax({
|
url : targetUrl,
|
data : data,
|
type : 'get',
|
dataType : "json",
|
success : function(data) {
|
// 一旦设置的 dataType 选项,就不再关心 服务端 响应的 Content-Type 了
|
// 客户端会主观认为服务端返回的就是 JSON 格式的字符串
|
var temp = $.parseJSON(data)
|
// console.log(temp);
|
countHandle($(".recharge_order_untreated_cout"),
|
temp.untreated.recharge_order_untreated_cout);
|
countHandle($(".withdraw_order_untreated_cout"),
|
temp.untreated.withdraw_order_untreated_cout);
|
|
countHandle($(".kyc_untreated_cout"),
|
temp.untreated.kyc_untreated_cout);
|
countHandle($(".kyc_high_level_untreated_cout"),
|
temp.untreated.kyc_high_level_untreated_cout);
|
countHandle(
|
$(".user_untreated_count"),
|
temp.untreated.kyc_untreated_cout
|
+ temp.untreated.kyc_high_level_untreated_cout);
|
countHandle(
|
$(".money_untreated_count"),
|
temp.untreated.recharge_order_untreated_cout
|
+ temp.untreated.withdraw_order_untreated_cout);
|
//遍历tip
|
// console.log(temp.tipList);
|
var bottom = 20;
|
if (temp.tipList.length > 0) {
|
temp.tipList.forEach(function(ele) {
|
createTip(ele.tip_message, ele.tip_url, bottom);
|
bottom += 70;
|
});
|
}
|
}
|
});
|
}
|
|
var audio;
|
function createTip(message, url, bottom) {
|
var html = '<div class="kode-alert alert1 kode-alert-bottom-right" style="display: block;bottom:'+bottom+'px;">';
|
html += '<a href="#" class="closed">×</a>';
|
html += '<h4>' + message + '</h4>';
|
html += '<a href="'+url+'">点击前往</a>';
|
html += '</div>';
|
$("#tip_alert").append(html);
|
/* $(".kode-alert").children('.closed').on('click',function(e){
|
$(this).parent().hide(1000,function(){
|
$(this).remove();
|
});
|
}) */
|
$(".kode-alert-bottom-right").on('click', '.closed', function(e) {
|
$(this).parent().hide(1000, function() {
|
$(this).remove();
|
});
|
})
|
setTimeout(function() {
|
$(".kode-alert-bottom-right").hide(1000, function() {
|
$(this).remove();
|
});
|
}, 8500);
|
voicePaly(message);
|
}
|
|
/*每一分钟有未处理的,播放提示*/
|
/* setInterval(function() {
|
var recharge_order_untreated_cout = $(".recharge_order_untreated_cout").html();
|
var withdraw_order_untreated_cout = $(".withdraw_order_untreated_cout").html();
|
var kyc_untreated_cout = $(".kyc_untreated_cout").html();
|
var kyc_high_level_untreated_cout = $(".kyc_high_level_untreated_cout").html();
|
if(Number(recharge_order_untreated_cout)>0
|
||Number(withdraw_order_untreated_cout)>0
|
||Number(kyc_untreated_cout)>0
|
||Number(kyc_high_level_untreated_cout)>0)
|
voicePaly();
|
// goTopAjaxUrl($("#top_ajax_url").val(), data);
|
}, 40000); */
|
//展示处理
|
function countHandle(ele, count) {
|
if (count == 0 || isNaN(count)) {
|
$(ele).hide();
|
} else {
|
$(ele).show();
|
$(ele).html(count)
|
}
|
}
|
|
function voicePaly(message) {
|
// if(message.indexOf("新的聊天消息")!=-1){
|
// audio = "../js/tip_chat.mp3";
|
// }else if(message.indexOf("新的OTC聊天消息")!=-1){
|
// audio = "../js/tip_chat.mp3";
|
// }else{
|
audio = "../js/tip2.mp3";
|
// }
|
audio = new Audio(audio);
|
audio.play().then(() => {
|
// 支持自动播放
|
console.log("正常播放");
|
}).catch(err => {
|
// 不支持自动播放
|
console.log("不支持播放");
|
$(".autoplay-btn").show();
|
}).finally((e) => {
|
});
|
}
|
|
var test_audio = "../js/tip2.mp3";
|
test_audio = new Audio(audio);
|
test_audio.volume = 0;
|
test_audio.play().then(() => {
|
// 支持自动播放
|
console.log("正常播放");
|
}).catch(err => {
|
// 不支持自动播放
|
console.log("不支持播放");
|
$(".autoplay-btn").show();
|
}).finally((e) => {
|
});
|
$(".autoplay-btn div").click(function() {
|
$(".autoplay-btn").hide();
|
})
|
</script>
|