From 82e1a44ceea7617eff64eadb3c02f21837676ebd Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 22 Jul 2020 11:38:45 +0800 Subject: [PATCH] 20200722 代码提交 --- src/main/resources/templates/febs/views/modules/member/withdrawCoinTest.html | 31 ++++++++++++++++++++++++------- 1 files changed, 24 insertions(+), 7 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/member/withdrawCoinTest.html b/src/main/resources/templates/febs/views/modules/member/withdrawCoinTest.html index dcaea42..177c013 100644 --- a/src/main/resources/templates/febs/views/modules/member/withdrawCoinTest.html +++ b/src/main/resources/templates/febs/views/modules/member/withdrawCoinTest.html @@ -33,6 +33,16 @@ </select> </div> </div> + <div class="layui-inline"> + <label class="layui-form-label layui-form-label-sm">账号类型</label> + <div class="layui-input-inline"> + <select name="isTest"> + <option value=""></option> + <option value="1">正常账号</option> + <option value="2">测试账号</option> + </select> + </div> + </div> </div> </div> <div class="layui-col-md2 layui-col-sm12 layui-col-xs12 table-action-area"> @@ -63,9 +73,8 @@ <!-- 表格操作栏 end --> <script data-th-inline="none" type="text/javascript"> // 引入组件并初始化 - layui.use(['jquery', 'laydate', 'form', 'table', 'febs'], function () { + layui.use(['jquery', 'form', 'table', 'febs'], function () { var $ = layui.jquery, - laydate = layui.laydate, febs = layui.febs, form = layui.form, table = layui.table, @@ -97,19 +106,18 @@ // 刷新按钮 $reset.on('click', function () { $searchForm[0].reset(); - treeSelect.revokeNode('dept'); - sortObject.type = 'null'; - tableIns.reload({where: getQueryParams(), page: {curr: 1}, initSort: sortObject}); + tableIns.reload({where: getQueryParams(), page: {curr: 1}}); }); function initTable() { tableIns = febs.table.init({ elem: $view.find('table'), id: 'userTable', - url: ctx + 'member/memberWithdrawCoin', + url: ctx + 'member/memberWithdrawCoinTest', totalRow: true, cols: [[ {field: 'phone', title: '手机号码', minWidth: 120,align:'left',totalRowText: '合计'}, + {field: 'realName', title: '姓名', minWidth: 120,align:'left'}, {field: 'email', title: '邮箱', minWidth: 200,align:'left'}, {field: 'inviteId', title: '邀请码UID', minWidth: 80,align:'center'}, {field: 'symbol', title: '币种', minWidth: 100,align:'center'}, @@ -125,6 +133,14 @@ return '<span style="color:green;">否</span>' } },minWidth: 100,align:'center'}, + {field: 'accountType', title: '账号类型', + templet: function (d) { + if (d.accountType === 2) { + return '<span style="color:red;">测试账号</span>' + } else { + return '<span style="color:green;">正常账号</span>' + } + },minWidth: 100,align:'center'}, {field: 'status', title: '状态', templet: function (d) { if (d.status === 1) { @@ -144,7 +160,8 @@ return { account: $searchForm.find('input[name="account"]').val().trim(), status: $searchForm.find("select[name='statusOption']").val(), - isInside: $searchForm.find("select[name='isInsideOption']").val() + isInside: $searchForm.find("select[name='isInsideOption']").val(), + isTest: $searchForm.find("select[name='isTest']").val() }; } -- Gitblit v1.9.1