|
@@ -56,7 +56,6 @@
|
|
|
<button class="layui-btn layui-btn-primary"><i class="layui-icon"></i> 搜 索</button>
|
|
|
<!-- <button type="button" data-export-list class="layui-btn layui-btn-primary" id="download"><i class="layui-icon layui-icon-export"></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">
|
|
@@ -66,8 +65,9 @@
|
|
|
<script>
|
|
|
form.render();
|
|
|
laydate.render({range: true, elem: '[name="create_at"]'})
|
|
|
- $('#download').click(function () {
|
|
|
- window.location.href = "{:url('export')}?phone={$Think.get.phone|default=''}&name={$Think.get.name|default=''}&create_at={$Think.get.create_at|default=''}" + $(this).parents('form').serialize();
|
|
|
- });
|
|
|
+ $('#exportButton').click(function () {
|
|
|
+ console.log('2222')
|
|
|
+ $("#exportForm").attr('action', '/user/member/get_excl?' + $('#form').serialize())
|
|
|
+ })
|
|
|
</script>
|
|
|
</fieldset>
|