@model string
<div class="current-location">
    <ul>
        <li class="left"><i class="glyphicon glyphicon-home"></i><a href="javascript:void(0)" onclick="location.href=location.href">支付接口设置</a></li>
        <li class="right"><a href="javascript:void(0)" onclick="LoadData()" title="刷新"><span class="glyphicon glyphicon-refresh"></span></a></li>
    </ul>
</div>
<div class="main">
    <div class="control-group clearfix">
        <div class="btn-group left">
            <button type="button" class="btn btn-default btn-sm ui-selectInvert">反选</button>
            <div class="btn-group btn-group-sm">
                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    菜单<span class="caret"></span>
                </button>
                <ul class="dropdown-menu" role="menu">
                    <li><a href="javascript:void(0)" class="ui-dialog" data-custom-params="title:'增加支付接口',url:'@Url.Action("Add")',width:'650px',height:'350px',target:'_self'">增加支付接口</a></li>
                    <li class="divider"></li>
                    <li><a href="javascript:void(0)" class="ui-updateMultiple" data-custom-params="url:'@Url.Action("UpdateList")'">更新</a></li>
                    <li><a href="javascript:void(0)" class="ui-deleteMultiple" data-custom-params="url:'@Url.Action("Delete")'">删除</a></li>
                </ul>
            </div>
        </div>
    </div>
    <span class="help-block"></span>
    <table border=0 cellpadding=0 cellspacing=0 width=100% class="table table-bordered">
        <thead><tr>
            <td align="center" width="30px;">选择</td>
            <td align="center" width="30%">名称</td>
            <td align="center" width="20%">是否启用</td>
            <td align="center" width="22%">序号</td>
            <td align="center" width="25%">操作</td>
        </tr>
        <tr class="item" id="item_{id}">
            <td align="center"><input type="checkbox" id="id" name="id" value="{id}"></td>
            <td align=left>{name}</td>
            <td align="center" class="isopen">{isopen}</td>
            <td align="center" class="form-inline form-group-sm"><input type="text" name="xuhao" id="xuhao" class="form-control ui-listXuhao" value='{xuhao}' style="width:50px" maxlength="3" /></td>
            <td align="center">
                <div class="btn-group btn-group-sm">
                    <a href="javascript:void(0)" class="btn btn-default btn-sm ui-dialog" data-custom-params="title:'修改支付接口',url:'@Url.Action("Edit")?id={id}',width:'650px',height:'350px'">修改</a>
                    <a href="javascript:void(0)" class="btn btn-default btn-sm ui-deleteSingle" data-custom-params="url:'@Url.Action("Delete")',id:'{id}'">删除</a>
                </div>
            </td>
        </tr>
    </table>
</div>
<script type="text/javascript">
    var serverData=eval(@Html.Raw(Model??"null"));
    $(".item").ListBind(serverData);
    $(function () {
        Replace(".isopen", "关闭", "启用")
    })
</script>