From cfef39aaf41a078ef442758f04c58c84f81c133e Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Wed, 21 Feb 2024 15:23:08 +0800 Subject: [PATCH] 抽奖 --- src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html | 31 +++++++++++++++++++------------ 1 files changed, 19 insertions(+), 12 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html b/src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html index 8e58caf..e5d3fe4 100644 --- a/src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html +++ b/src/main/resources/templates/febs/views/modules/mallMember/moneyFlowList.html @@ -8,13 +8,21 @@ <div class="layui-col-md10"> <div class="layui-form-item"> <div class="layui-inline"> + <label class="layui-form-label">手机号码:</label> <div class="layui-input-inline"> - <input type="text" placeholder="用户名" name="name" autocomplete="off" class="layui-input"> + <input type="text" placeholder="手机号码" name="phone" autocomplete="off" class="layui-input"> </div> </div> <div class="layui-inline"> + <label class="layui-form-label">流水类型:</label> <div class="layui-input-inline"> - <input type="text" placeholder="手机号" name="phone" autocomplete="off" class="layui-input"> + <select name="type"> + <option value="">请选择</option> + <option value="1">投注</option> + <option value="2">中奖</option> + <option value="3">充值</option> + <option value="4">提现</option> + </select> </div> </div> </div> @@ -80,25 +88,24 @@ id: 'moneyFlowTable', url: ctx + 'admin/mallMember/getMoneyFlowList', cols: [[ - {field: 'name', title: '名称', minWidth: 100,align:'left'}, - {field: 'phone', title: '手机号', minWidth: 150,align:'left'}, + {field: 'phone', title: '手机号码', minWidth: 150,align:'left'}, {field: 'amount', title: '金额', minWidth: 150,align:'left'}, {field: 'type', title: '流水类型', templet: function (d) { if (d.type === 1) { - return '<span>分红收入</span>' + return '<span>投注</span>' } else if (d.type === 2) { - return '<span>业绩奖励</span>' + return '<span>中奖</span>' } else if (d.type === 3) { - return '<span>订单支付</span>' + return '<span>充值</span>' } else if (d.type === 4) { - return '<span>退款</span>' - } else if (d.type === 5) { - return '<span>转账</span>' - } else{ + return '<span>提现</span>' + }else{ return '' } }, minWidth: 80,align:'center'}, + {field: 'orderNo', title: '订单编号', minWidth: 150,align:'left'}, + {field: 'remark', title: '备注', minWidth: 150,align:'left'}, {field: 'createdTime', title: '创建时间', minWidth: 180,align:'center'} ]] }); @@ -107,8 +114,8 @@ // 获取查询参数 function getQueryParams() { return { - name: $searchForm.find('input[name="name"]').val().trim(), phone: $searchForm.find('input[name="phone"]').val().trim(), + type: $searchForm.find("select[name='type']").val(), }; } -- Gitblit v1.9.1