| | |
| | | <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="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="nickName" autocomplete="off" class="layui-input"> |
| | |
| | | <option value="10">中雷扣除</option> |
| | | <option value="11">发送红包</option> |
| | | <option value="12">领取红包</option> |
| | | <option value="13">红包退回</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | |
| | | 10: {title: '中雷扣除', color: 'blue'}, |
| | | 11: {title: '发送红包', color: 'blue'}, |
| | | 12: {title: '领取红包', color: 'blue'}, |
| | | 13: {title: '红包退回', color: 'blue'}, |
| | | }[d.type]; |
| | | }} |
| | | <span class="layui-badge febs-bg-{{type.color}}">{{ type.title }}</span> |
| | |
| | | // 获取查询参数 |
| | | function getQueryParams() { |
| | | return { |
| | | phone: $searchForm.find('input[name="phone"]').val().trim(), |
| | | nickName: $searchForm.find('input[name="nickName"]').val().trim(), |
| | | type: $searchForm.find("select[name='type']").val() |
| | | }; |
| | |
| | | // defaultToolbar:[], |
| | | totalRow: true ,// 开启合计行 |
| | | cols: [[ |
| | | {field: 'nickName', title: '昵称', minWidth: 150,align:'center', totalRowText: '合计:',align:'center'}, |
| | | {field: 'phone', title: '电话号码', minWidth: 150,align:'center', totalRowText: '合计:'}, |
| | | {field: 'nickName', title: '昵称', minWidth: 150,align:'center'}, |
| | | {title: '操作类型', minWidth: 150,templet: '#flow-type',align:'center'}, |
| | | {field: 'amount', title: '金额', minWidth: 100,align:'center',align:'center',totalRow: '{{= parseInt(d.amount) }}'}, |
| | | {field: 'state', title: '状态', |