| | |
| | | |
| | | private String phone; |
| | | |
| | | private Integer type; |
| | | |
| | | } |
| | |
| | | <if test="record.phone!=null and record.phone!=''"> |
| | | and b.phone like concat('%', #{record.phone},'%') |
| | | </if> |
| | | <if test="record.type!=null and record.type!=''"> |
| | | and a.type like concat('%', #{record.type},'%') |
| | | </if> |
| | | </if> |
| | | </where> |
| | | order by a.created_time desc |
| | |
| | | <input type="text" placeholder="手机号" name="phone" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label layui-form-label-sm">账户状态</label> |
| | | <div class="layui-input-inline"> |
| | | <select name="type"> |
| | | <option value="">请选择</option> |
| | | <option value="1">分红收入</option> |
| | | <option value="2">业绩奖励</option> |
| | | <option value="3">订单支付</option> |
| | | <option value="4">退款</option> |
| | | <option value="5">转账</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-md2 layui-col-sm12 layui-col-xs12 table-action-area"> |
| | |
| | | return { |
| | | name: $searchForm.find('input[name="name"]').val().trim(), |
| | | phone: $searchForm.find('input[name="phone"]').val().trim(), |
| | | type: $searchForm.find("select[name='type']").val(), |
| | | }; |
| | | } |
| | | |
| | |
| | | text-overflow: ellipsis; /*省略号显示*/ |
| | | } |
| | | .layui-table img{ |
| | | max-width:200px |
| | | max-width:100px |
| | | } |
| | | </style> |
| | | </div> |
| | |
| | | {field: 'memberPhone', title: '联系方式', minWidth: 120,align:'left'}, |
| | | {field: 'amount', title: '订单金额', minWidth: 120,align:'left'}, |
| | | {field: 'orderTime', title: '下单时间', minWidth: 120,align:'left'}, |
| | | {field: 'payMethod', title: '支付方式', minWidth: 120,align:'left'}, |
| | | {field: 'payTime', title: '支付时间', minWidth: 120,align:'left'}, |
| | | {field: 'payOrderNo', title: '支付订单号', minWidth: 120,align:'left'}, |
| | | {field: 'payImage', title: '支付凭证', |
| | | templet: function (d) { |
| | | return '<a lay-event="seePayImage"><img id="seePayImage'+d.id+'" src="'+d.payImage+'" alt=""></a>'; |
| | | }, minWidth: 200,align:'center'}, |
| | | }, minWidth: 100,align:'center'}, |
| | | {field: 'status', title: '状态', |
| | | templet: function (d) { |
| | | if (d.status === 1) { |
| | |
| | | white-space: normal; |
| | | } |
| | | .layui-table img{ |
| | | max-width:200px |
| | | max-width:100px |
| | | } |
| | | </style> |
| | | </div> |
| | |
| | | {field: 'value', title: '收款码', |
| | | templet: function (d) { |
| | | return '<a lay-event="seeImg"><img id="seeImg'+d.id+'" src="'+d.value+'" alt=""></a>'; |
| | | }, minWidth: 200,align:'center'}, |
| | | }, minWidth: 100,align:'center'}, |
| | | {title: '操作', |
| | | templet: function (d) { |
| | | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="payMethodedit" shiro:hasPermission="user:update">编辑</button>' |