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
| <div className="layui-fluid layui-anim febs-anim" id="febs-team-info" lay-title="团队详情">
| <div className="layui-row febs-container">
| <div className="layui-col-md12">
| <div className="layui-card">
| <div className="layui-card-body febs-table-full">
| <table lay-filter="teamInfoChild" lay-data="{id: 'teamInfoChild'}"></table>
| </div>
| </div>
| </div>
| </div>
| </div>
| <script data-th-inline="none" type="text/javascript">
| layui.use(['jquery', 'form', 'table', 'febs'], function () {
| var $ = layui.jquery,
| febs = layui.febs,
| form = layui.form,
| table = layui.table,
| $view = $('#febs-team-info'),
| tableIns;
|
| form.render();
|
| initTable();
|
| function initTable() {
| tableIns = febs.table.init({
| elem: $view.find('table'),
| id: 'teamInfoChild',
| url: ctx + 'member/teamInfo?parentId=1',
| totalRow: true,
| cols: [[
| {field: 'username', title: '用户名', minWidth: 100, totalRowText: '合计'},
| {field: 'totalAmount', title: '总金额', minWidth: 100, totalRow: true},
| {field: 'avaAmount', title: '可用金额', minWidth: 100, totalRow: true},
| {field: 'FrozenAmount', title: '冻结金额', minWidth: 100, totalRow: true},
| {field: 'chargeAmount', title: '充值金额', minWidth: 100, totalRow: true},
| {field: 'withDrawAmount', title: '提现金额', minWidth: 100, totalRow: true},
| {field: 'insideAmount', title: '内转金额', minWidth: 100},
| {field: 'onHookTimes', title: '挂机次数', minWidth: 100},
| {field: 'totalProfit', title: '总收益', minWidth: 100, totalRow: true},
| ]]
| });
| }
|
| })
| </script>
|
|