| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
 | | <div class="layui-fluid layui-anim febs-anim" id="febs-user" lay-title="平台数据">  |  |     <div class="layui-row febs-container">  |  |         <div class="layui-col-md12">  |  |             <div class="layui-card">  |  |                 <div class="layui-card-body febs-table-full">  |  |                      <table id=usersTable></table>  |  |                 </div>  |  |             </div>  |  |         </div>  |  |     </div>  |  | </div>  |  | <!-- 表格操作栏 start -->  |  | <script type="text/html" id="user-option">  |  |     <span shiro:lacksPermission="user:view,user:update,user:delete">  |  |         <span class="layui-badge-dot febs-bg-orange"></span> 无权限  |  |     </span>  |  | </script>  |  | <!-- 表格操作栏 end -->  |  | <script data-th-inline="none" type="text/javascript">  |  | // 引入组件并初始化  |  | layui.use([ 'jquery',  'form', 'table', 'febs'], function () {  |  |     var $ = layui.jquery,  |  |         laydate = layui.laydate,  |  |         febs = layui.febs,  |  |         form = layui.form,  |  |         table = layui.table,  |  |         $view = $('#febs-user'),  |  |         tableIns;  |  |   |  |     form.render();  |  |     // 表格初始化  |  |     initTable();  |  |   |  |     function initTable() {  |  |   |  |         tableInss = febs.table.init({  |  |             elem: $('#usersTable'),  |  |             url: ctx + 'member/memberDataInfoAloneTest',  |  |             cols: [[  |  |                 {field: 'memberCount', title: '注册用户数', minWidth: 120,align:'center'},  |  |                 {field: 'notNullNumber', title: '持仓用户数', minWidth: 120,align:'center'},  |  |                 {field: 'walletNumber', title: '币币账户有余额个数', minWidth: 200,align:'center'},  |  |                 {field: 'walletNum', title: '币币账户余额', minWidth: 200,align:'center'},  |  |                 {field: 'walletCoinNumber', title: '合约账户有余额个数', minWidth: 200,align:'center'},  |  |                 {field: 'walletCoinNum', title: '合约账户余额', minWidth: 200,align:'center'},  |  |                 {field: 'agentNum', title: '代理账户余额', minWidth: 200,align:'center'},  |  |                 {field: 'allCoin', title: '平台总资产', minWidth: 200,align:'center'},  |  |                 {field: 'platformProfitAndLoss', title: '平台剩余USDT',  |  |                     templet: function (d) {  |  |                         if (d.platformProfitAndLoss > '0') {  |  |                             return '<span style="color:green;">'+d.platformProfitAndLoss+'</span>'  |  |                         } else {  |  |                             return '<span style="color:red;">'+d.platformProfitAndLoss+'</span>'  |  |                         }  |  |                     }, minWidth: 200,align:'center'},  |  |                 {field: 'chargeCoin', title: '充币', minWidth: 200,align:'center'},  |  |                 {field: 'appealCoin', title: '提币', minWidth: 200,align:'center'},  |  |                 {field: 'fee', title: '佣金', minWidth: 200,align:'center'},  |  |                 {field: 'closingPrice', title: '开仓手续费', minWidth: 200,align:'center'},  |  |                 {field: 'sellClosingPrice', title: '平仓手续费', minWidth: 200,align:'center'},  |  |                 {field: 'doingPrice', title: '持仓手续费', minWidth: 200,align:'center'},  |  |                 {field: 'yingkui', title: '订单盈亏',  |  |                     templet: function (d) {  |  |                         if (d.yingkui > '0') {  |  |                             return '<span style="color:green;">'+d.yingkui+'</span>'  |  |                         } else {  |  |                             return '<span style="color:red;">'+d.yingkui+'</span>'  |  |                         }  |  |                     }, minWidth: 200,align:'center'},  |  |             ]]  |  |         });  |  |     }  |  | })  |  | </script> | 
 |