From 39423226460b7ffec522a1b472e3ca778a88f2b8 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 14 May 2021 17:31:50 +0800 Subject: [PATCH] Merge branch 'yunding' of http://120.27.238.55:7000/r/exchange-back into yunding --- src/main/resources/templates/febs/views/modules/yunding/seeAgentReturn.html | 69 ++++++++++++++++++++++++++++++++++ 1 files changed, 69 insertions(+), 0 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/yunding/seeAgentReturn.html b/src/main/resources/templates/febs/views/modules/yunding/seeAgentReturn.html new file mode 100644 index 0000000..c775b21 --- /dev/null +++ b/src/main/resources/templates/febs/views/modules/yunding/seeAgentReturn.html @@ -0,0 +1,69 @@ + +<div class="layui-fluid layui-anim febs-anim" id="febs-user-child" 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 lay-filter="userTableChild" lay-data="{id: 'userTableChild'}"></table> + </div> + </div> + </div> + </div> +</div> +<script data-th-inline="none" type="text/javascript"> + layui.use(['dropdown', 'jquery', 'laydate', 'form', 'table', 'febs', 'treeSelect' ,'eleTree'], function () { + var $ = layui.jquery, + laydate = layui.laydate, + febs = layui.febs, + form = layui.form, + table = layui.table, + treeSelect = layui.treeSelect, + dropdown = layui.dropdown, + $view = $('#febs-user-child'), + $query = $view.find('#queryChild'), + $searchForm = $view.find('formChild'), + sortObject = {field: 'createTime', type: null}, + tableIns, + createTimeFrom, + createTimeTo; + + form.render(); + + initTable(); + + laydate.render({ + elem: '#user-createTime', + range: true, + trigger: 'click' + }); + + + function initTable() { + tableIns = febs.table.init({ + elem: $view.find('table'), + id: 'userTable', + url: ctx + 'yd/seeAgentReturn?parentId=1', + cols: [[ + {field: 'phoneFrom', title: '来自于', minWidth: 150,align:'center'}, + {field: 'amountOrder', title: '订单金额', minWidth: 150,align:'center'}, + {field: 'typeOrder', title: '类型', + templet: function (d) { + if (d.typeOrder === 1) { + return '<span>矿机订单</span>' + }else if(d.typeOrder === 2){ + return '<span>代理订单</span>' + }else{ + return '' + } + }, minWidth: 80,align:'center'}, + {field: 'content', title: '内容', minWidth: 100,align:'left'}, + {field: 'amount', title: '金额', minWidth: 100,align:'left'}, + {field: 'symbol', title: '币种', minWidth: 80,align:'center'}, + {field: 'status', title: '状态', minWidth: 150,align:'left'}, + {field: 'phoneTo', title: '接收方', minWidth: 100,align:'left'}, + ]] + }); + } + + }) +</script> \ No newline at end of file -- Gitblit v1.9.1