| | |
| | | <input type="text" name="address" autocomplete="off" placeholder="用户地址" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label layui-form-label-sm">团队地址</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="teamAddress" autocomplete="off" placeholder="查询团队下所有质押记录" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-md2 layui-col-sm12 layui-col-xs12 table-action-area"> |
| | |
| | | elem: $view.find('table'), |
| | | id: 'zhiYaTable', |
| | | url: ctx + 'flow/dappAchieve', |
| | | totalRow : true, |
| | | cols: [[ |
| | | {field: 'address', title: '用户地址', minWidth: 400,align:'center'}, |
| | | {field: 'address', title: '用户地址', minWidth: 400,align:'center',totalRowText:"合计"}, |
| | | {templet: '#beState', title: '状态', minWidth: 180,align:'center'}, |
| | | {field: 'amount', title: '质押数量', minWidth: 100,align:'center'}, |
| | | {field: 'amountDone', title: '累计产出', minWidth: 100,align:'center'}, |
| | | {field: 'amountMax', title: '出局数量', minWidth: 100,align:'center'}, |
| | | {field: 'amountDay', title: '每日产出', minWidth: 100,align:'center'}, |
| | | {field: 'amount', title: '质押数量', minWidth: 100,align:'center', totalRow:true}, |
| | | {field: 'price', title: '质押价格', minWidth: 100,align:'center', totalRow:true}, |
| | | {field: 'usdtAmount', title: 'USDT', minWidth: 100,align:'center', totalRow:true}, |
| | | // {field: 'amountDone', title: '累计产出', minWidth: 100,align:'center'}, |
| | | {field: 'goldAmount', title: '出局数量(金本位)', minWidth: 100,align:'center', totalRow:true}, |
| | | {field: 'coinAmount', title: '出局数量(币本位)', minWidth: 100,align:'center', totalRow:true}, |
| | | {field: 'amountDay', title: '每日产出', minWidth: 100,align:'center', totalRow:true}, |
| | | {field: 'createTime', title: '质押时间', minWidth: 300,align:'center'}, |
| | | {title: '操作', minWidth: 200 ,toolbar: '#zhiya-option',align:'center'} |
| | | ]] |
| | |
| | | function getQueryParams() { |
| | | return { |
| | | address: $searchForm.find('input[name="address"]').val(), |
| | | teamAddress: $searchForm.find('input[name="teamAddress"]').val(), |
| | | state: $searchForm.find("select[name='state']").val(), |
| | | invalidate_ie_cache: new Date() |
| | | }; |