123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <fieldset>
- <legend>条件搜索</legend>
- <form class="layui-form layui-form-pane form-search" id="form" action="{:request()->url()}"style="display: inline;" onsubmit="return false" method="get" autocomplete="off">
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">名称</label>
- <div class="layui-input-inline">
- <input name="name" value="{$Think.get.name|default=''}" placeholder="请输入昵称" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">手机号</label>
- <div class="layui-input-inline">
- <input name="phone" value="{$Think.get.phone|default=''}" placeholder="请输入手机号" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">时间</label>
- <div class="layui-input-inline">
- <input name="create_at" value="{$Think.get.create_at|default=''}" placeholder="请选择时间" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">提现类型</label>
- <div class="layui-input-inline">
- <select class="layui-select" name="type">
- <option value="-1">全部</option>
- {foreach $dep_type as $k=>$v}
- {if $v}
- {if $Think.get.type eq $k}
- <option selected value="{$k}">{$v}</option>
- {else}
- <option value="{$k}">{$v}</option>
- {/if}
- {/if}
- {/foreach}
- </select>
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <label class="layui-form-label">状态</label>
- <div class="layui-input-inline">
- <select class="layui-select" name="sel_sh">
- <option value="-1">全部</option>
- {foreach $sh_arr as $sk=>$sv}
- {if $sel_sh eq $sk}
- <option selected value="{$sk}">{$sv}</option>
- {else}
- <option value="{$sk}">{$sv}</option>
- {/if}
- {/foreach}
- </select>
- </div>
- </div>
- <div class="layui-form-item layui-inline">
- <button class="layui-btn layui-btn-primary"><i class="layui-icon"></i> 搜 索</button>
- </div>
- </form>
- <form action="" id="exportForm" method="post" style="display: inline;" >
- <button class="layui-btn layui-btn-primary layui-btn-sm" id="exportButton" type="submit" style="height: 32px;width: 73.69px;margin-left:3px; margin-bottom: 15px">
- <i class="layui-icon"></i>导 出
- </button>
- </form>
- <script>
- form.render();
- laydate.render({range: true, elem: '[name="create_at"]'})
- $('#exportButton').click(function () {
- $("#exportForm").attr('action', '/user/deposit/get_excl?' + $('#form').serialize())
- });
- </script>
- </fieldset>
|