@model string

<div class="main">

    <table border=0 cellpadding=0 cellspacing=0 class="table table-bordered" id="tb_list">
        <thead>
            <tr>
                <td align="center" style="width:50px"><input type="checkbox" title="选择" class="ui-selectInvert hidden" data-custom-params="isReverse:false">选择</td>
                <td align="left" nowrap>管理角色</td>
                @*<td align="center">备注</td>*@
            </tr>
        </thead>
        <tr class="item list-template-item" id="item_{id}" name="{name}">
            <td align="center" style="width:40px"><input type="checkbox" value="{id}" class="checked-item ck_is_superadmin_{isSuperadmin}"></td>
            <td align="left">{name}</td>
            @*<td align="left">{remark}</td>*@
        </tr>
    </table>
    <div class="zhushi">注：超级管理员默认具备所有的权限</div>

    <div class="submit-footerbar">
        <label class="control-label"></label>
        <div class="controls">
            <button type="button" class="btn btn-primary btn-sm ui-closeDialog">确定</button>
            <button type="button" class="btn btn-sm btn-default ui-closeDialog">关闭</button>
        </div>
    </div>

</div>

<script type="text/javascript">
    var objName = Request("objname");

    function LoadData()
    {
        var ajaxUrl = "@Url.ActionUrl("ListData")?_byuser=1"
        $("#tb_list").ListBind({url:ajaxUrl, callBack: "LoadedInit",showFooter:false });
    }
   function LoadedInit()
   {
       SetSelectedDisabled();
    }
    LoadData();
</script>
<script src="/Js/selectData.js" type="text/javascript"></script>
