<%@ Page Title="" Language="C#" MasterPageFile="../BaseMaster.Master" CodeBehind="OfflinePaymentList.aspx.cs" Inherits="WAP2P.Web.PC.Admin.Sys.OfflinePaymentList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="header" runat="server"></asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <dl class="ui-tabs">
        <ruson:PermissionSpace runat="server" Module="系统设置" Function="线上支付设置"><dt><a href="OnlinePaymentList.aspx">线上支付平台列表</a></dt></ruson:PermissionSpace>
        <dt><a href="javascript:" class="on">线下支付银行列表</a></dt> 
        <dd>
            <form action="?action=search" method="get" class="m-search">
                <table class="m-criteria" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <th>银行筛选：</th>
                        <td>
                            <ruson:Select runat="server" ID="type" FillRequestValue="true">
                                <option value="银行名称">银行名称</option>
                                <option value="开户人姓名">开户人姓名</option>
                                <option value="银行卡号">银行卡号</option>
                            </ruson:Select>
                            <input type="text" size="35" placeholder="输入搜索条件" name="key" value="<% = Request.QueryString["key"].HtmlEncode() %>" />
                            <span class="ml20 js-inlinesubmit"><input type="submit" class="btn-base c-priority iconfont" value="&#xe60f; 搜索" /><input type="reset" class="btn-base c-normal iconfont" value="&#xe670; 清空条件" /></span>
                        </td>
                    </tr>
                </table>             
            </form>
            <div class="m-content">
                <div class="m-oper">
                    <ruson:PermissionSpace runat="server" Module="系统设置" Function="线下支付设置" Operate="新建">
                        <input type="button" class="oper-clear btn-larger c-priority iconfont" value="&#xe67a; 新建银行" onclick="$.jPopupEdit('新建银行', 'OfflinePaymentDetail.aspx?op=edit');" />
                    </ruson:PermissionSpace>
                    <ruson:PermissionSpace runat="server" Module="系统设置" Function="线下支付设置" Operate="删除">
                        <input type="button" class="oper-clear btn-smaller c-normal selall iconfont" value="&#xe612; 全选" />
                        <input type="button" class="oper-clear btn-smaller c-normal selreverse iconfont" value="&#xe644; 反选" />
                    </ruson:PermissionSpace>
                    <ruson:PermissionSpace runat="server" Module="系统设置" Function="线下支付设置" Operate="删除">
                        <input type="button" class="oper-clear btn-smaller c-important delsel iconfont" data-function="线下支付设置" data-operate="批量删除" data-freemes="<% =FreeLimit.ActionLimitMes %>" value="&#xe611; 删除选中" />
                    </ruson:PermissionSpace>
                    <ruson:PermissionSpace runat="server" Module="系统设置" Function="线下支付设置" Operate="修改">
                        <input type="button" class="oper-clear btn-smaller c-obvious iconfont saveOrder" data-function="线下支付设置" data-operate="保存排序" data-freemes="<% =FreeLimit.ActionLimitMes %>" value="&#xe686; 保存排序" />
                    </ruson:PermissionSpace>
                    <span class="iconfont"><i class="fs22 fcjade-1">&#xe655;</i>银行已开通<i class="fs22 fcred-3">&#xe639;</i>银行已停用</span>
                </div>
                <table class="m-list" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <th width="3%">选取</th>
                        <th width="3%">排序</th>
                        <th width="20%">银行名称</th>
                        <th width="29%">银行卡号</th>
                        <th width="15%">开户人姓名</th>
                        <th width="20%">添加时间</th>
                        <th width="15%">状态</th>
                        <th width="15%">操作</th>
                    </tr>
                </table>
            </div>
        </dd>
    </dl>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="script" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="list" runat="server">
    <ruson:Repater runat="server" ID="rptList" ItemType="WAP2P.Sys.OfflinePayment">
        <ItemTemplate>
            <tr id="tr<%# Item.Id %>">
                <td><input type="checkbox" class="del" data-id="<%# Item.Id %>" /></td>
                <td><input type="text" value="<%# Item.OrderBy %>" class="w17 ui-int order" data-id="<%# Item.Id %>" /></td>
                <td><%# Item.BankName %></td>
                <td><%# Item.CardNo %></td>
                <td><%# Item.AccountName %></td>
                <td><%# Item.CreateAt.ToDateTimeString() %></td>
                <td><%# Item.Active ? "<i class='iconfont fs22 fcjade-1'>&#xe655;</i>" : "<i class='iconfont fs22 fcred-3'>&#xe639;</i>" %></td>
                <td>
                    <ruson:PermissionSpace runat="server" Module="系统设置" Function="线下支付设置" Operate="修改"><a class="iconfont oper edit" href="javascript:;" onclick="$.jPopupEdit('银行详情', 'OfflinePaymentDetail.aspx?op=view&ID=<%# Item.Id %>');">&#xe655; 详情</a></ruson:PermissionSpace>
                    <ruson:PermissionSpace runat="server" Module="系统设置" Function="线下支付设置" Operate="删除"><a class="iconfont del" href="OfflinePaymentDetail.aspx?ID=<%# Item.Id %>&action=del">&#xe611; 删除</a></ruson:PermissionSpace>
                </td>
            </tr>
        </ItemTemplate>
        <EmptyTemplate>
            <tr>
                <td colspan="8" class="g-fleft">暂无数据。</td>
            </tr>
        </EmptyTemplate>
    </ruson:Repater>
    <tr class="pager">
        <td colspan="8"><ruson:Pager runat="server" ID="pages" CssClass="pages" /><a href="<% =Request.RawUrl %>" class="g-hide"></a></td>
    </tr>
</asp:Content>
