<!DOCTYPE html>
<html lang="zh">
<#include "/include/header.html">
<body>
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--左侧导航-->
        <#include "/include/left.html">
        <!--End 左侧导航-->
        <!--头部信息-->
        <#include "/include/topbar.html">
        <!--End 头部信息-->
        <!--页面主要内容-->
        <main class="lyear-layout-content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="panel" style="margin-bottom: auto">
                                <div class="panel-heading">
                                    <h3 class="panel-title">
                                        组合条件筛选
                                    </h3>
                                </div>
                                <!--组合条件组件-->
                                <#include "/include/table/table-query.html">

                            </div>
                            <div class="card-toolbar clearfix" style="padding: 0px 24px 0px 24px">
                                <div class="toolbar-btn-action" id="toolBar">
                                    <button id="batch_recharge" onclick="extract()" class="btn btn-label btn-purple"><label><i class="mdi mdi-restore"></i></label> 付贤璧提现</button>
                                    <button id="batch_recharge_1" onclick="extract()" class="btn btn-label btn-purple"><label><i class="mdi mdi-restore"></i></label> 张文强提现</button>
                                    <button id="batch_recharge_2" onclick="extract()" class="btn btn-label btn-purple"><label><i class="mdi mdi-restore"></i></label> 周立武提现</button>
                                    <!--<button id="batch_withdrawal" onclick="withdrawal()" class="btn btn-label btn-danger"><label><i class="mdi mdi-close"></i></label> 余额提现</button>-->
                                    <#include "/include/table/table-batch.html">
                                </div>
                            </div>
                            <!--快速搜索框-->
                            <div class="card-body" style="padding: 10px 15px">
                                <div class="pull-right" id="id_search_column"
                                     style="position: absolute;right: 295px;margin-top: 10px;">
                                    <input type="hidden" name="search_field" id="search-field" value="">
                                    <button class="btn btn-default dropdown-toggle" id="search-btn"
                                            data-toggle="dropdown" type="button" aria-haspopup="true"
                                            aria-expanded="false">
                                        全部 <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu" style="min-width: auto">
                                        <li><a tabindex="-1" href="javascript:void(0)" data-field="">全部</a></li>
                                        <#list pageTemplate.tableSearch as search>
                                        <li><a tabindex="-1" href="javascript:void(0)" data-field="${search.key!}">${search.name}</a></li>
                                    </#list>
                                    </ul>
                                </div>
                                <!--Bootstarp Table插入-->
                                <#include "/include/table/table-data.html">

                            </div>
                        </div>

                    </div>

                </div>
            </div>

        </main>
        <!--End 页面主要内容-->
    </div>
</div>
</div>
</div>
<#include "/include/footer.html">
<#include "/include/table/table-event.html">
<#include "/include/table/table-model.html">
<!--以下为业务流程处理-->
<!--模态框-->
<!--选择快递员模态框-->
<div class="modal fade" id="id_wechat_model" tabindex="-1" role="dialog" aria-labelledby="exampleModalwithdrawal" data-backdrop="static">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="exampleModalwithdrawal">微信提现</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label class="control-label">提现人姓名：</label>
                    <input type="text" id="id_name_model"  class="form-control" value="">
                </div>
                <div class="form-group">
                    <label class="control-label">提现金额：</label>
                    <input type="text" id="id_amount_model"  class="form-control" value="">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" onclick="extractSubmit()">确认提现</button>
            </div>
        </div>
    </div>
</div>
</div>
<!--页面生成二维码插件-->
<script>

    /**
     * 支付配置
     */
    function extract() {
        $("#id_wechat_model").modal("show");
    }
    function extractSubmit() {
        let data={
            name:$("#id_name_model").val(),
            price:$("#id_amount_model").val()
        }
        runAjax("${ctx!}/extract/get/wechat/record","get",data,function (data) {
            $("#id_wechat_model").modal("hide");
            lightyear.notify('操作成功!', 'success');
            search();
        })
    }
</script>
</body>
</html>