<%@ page language="C#" autoeventwireup="true" inherits="SystemManagement_SettingRole, App_Web_wrcbq7tn" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title> 
    <link href="../CssHtml.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">


var oWindow;
function ow(Url,W,H)
{
   if (typeof(oWindow)=="object")
   {
        if (oWindow.closed)
        {
         var   prostr;   
        prostr   ="left=200,top=200,width="+W+",height="+H+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no";         
        oWindow=window.open(Url,"",prostr);         
        oWindow.focus(); 
         }
       else
       {
        oWindow.focus();
       }
   }
   else
    {
     var   prostr;   
        prostr   ="left=200,top=200,width="+W+",height="+H+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,   resizable=no";         
        oWindow=window.open(Url,"",prostr);         
        oWindow.focus();
    }
}

function tj()
{
     window.open( 'addRole.aspx','','width=482,height=212,top=200,left=350,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');
}
function sg(op)
        {
            var wy ="updateRole.aspx?id=" + op;
            window.open( wy,'','width=469, height=232,top=200,left=400,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');
        }
 function jsqx(jod)
        {
            var wy ="addRoleQX.aspx?id=" + jod;
            window.open( wy,'','width=1000,height=600,top=50,left=100,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no');
        }
      </script>
</head>
<body style="font-size: 9pt;">
    <form id="form1" runat="server">
    
        <table style="width:100%; text-align :center ; left :3px; position :relative " cellpadding="0" cellspacing="0">
            <tr>
                <td style="width:40%; text-align :left ; height: 22px;">
                 <span style="font-size:13px">目前位置：系统管理 - 权限设置 - 角色设置</span>
                </td>
               
                <td style="width:60%; height: 22px; text-align :right ;" align="right">
                <img src="../Images/19.gif" id="ImageButton1" onclick="tj()" alt="" style="cursor:pointer" />  
                  <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/Images/17.gif" OnClick="ImageButton3_Click" /> 
                   <a href="../OnlineHelp/OnlineHelp.aspx" target ="_blank" > 
                      <img src="../Images/8.gif" alt ="在线帮助" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;" /> </a>
                 
                  
                  </td>
            </tr>
            </table>
            <table style="width:100%; text-align :center; left :3px; position :relative " cellpadding="0" cellspacing="0" >
            <tr >
             
                
                    <td style="width:10%;border:1px #CCCCCC solid;border-left:0px; font-weight: bold; font-size: 9pt; color: white; height: 25px; background-color: #1471b0;">
                    操作
                        </td>
                    <td style="width:15%; font-weight: bold;border:1px #CCCCCC solid; border-left:0px; font-size: 9pt; color: white; height: 25px; background-color: #1471b0;">角色名称</td>
                    <td style="width:15%;font-weight: bold;border:1px #CCCCCC solid;border-left:0px; font-size: 9pt; color: white; height: 25px; background-color: #1471b0;">
                        角色类别</td>
                         <td style="width:10%;font-weight: bold;border:1px #CCCCCC solid;border-left:0px; font-size: 9pt; color: white; height: 25px; background-color: #1471b0;">
                        系统管理</td>
                        
                        <td style="width:10%;font-weight: bold;border:1px #CCCCCC solid;border-left:0px; font-size: 9pt; color: white; height: 25px; background-color: #1471b0;">
                        基础设置</td>
                    <td style="width:10%;font-weight: bold;border:1px #CCCCCC solid;border-left:0px; font-size: 9pt; color: white; height: 25px; background-color: #1471b0;">
                        文件类别</td>
                   
                    <td style="width:10%;font-weight: bold;border:1px #CCCCCC solid;border-left:0px; font-size: 9pt; color: white; height: 25px; background-color: #1471b0;">
                        FTP管理</td>
                       
                    
                    <td style="width:10%;font-weight: bold;border:1px #CCCCCC solid;border-left:0px; font-size: 9pt; color: white; height: 25px; background-color: #1471b0;">
                        权限设置</td>
                    <td style="width:10%;font-weight: bold;border:1px #CCCCCC solid;border-left:0px; font-size: 9pt; color: white; height: 25px; background-color: #1471b0;">
                        数据维护</td>
                   
                  </tr>
         </table> 
         
         <asp:DataList ID="DataList1" runat="server" Width="100%" OnDeleteCommand="DataList1_DeleteCommand" OnItemDataBound="DataList1_ItemDataBound" Font-Size="9pt">
          <ItemTemplate>
       
             <table style="width:100%; text-align:center;left :3px; position :relative" cellpadding="0" cellspacing="0">
               <tr>
               
               <td style="border-bottom: #83bbd9 1px solid; height: 18px; width :10%;">
                  
                  <asp:Label ID="lbl_roleid" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"RoleID")%>' Visible="false"> </asp:Label><img src="../Images/13.gif" onclick='sg(<%# Eval("RoleID") %>)' alt="修改设置" id="IMG1" />
                 
                  <img src="..\Images\RighsRestrictedHS.png" onclick='jsqx(<%# Eval("RoleID") %>)' alt="角色权限设置" />&nbsp;
                   &nbsp;<asp:ImageButton ID="LinkButton2" runat="server" CommandName="delete" ImageUrl="~/Images/DEL2.gif" OnClick="LinkButton2_Click" ToolTip ="删除记录"/>
              </td>
          <td style="border-bottom: #83bbd9 1px solid; height: 18px; width :15%;">
           <%#DataBinder.Eval(Container.DataItem,"RoleName")%>
          </td>
          <td style="border-bottom: #83bbd9 1px solid; height: 18px; width :15%;">
           <%#DataBinder.Eval(Container.DataItem,"RoleType")%>&nbsp;
          </td>
        
          <td  style="border-bottom: #83bbd9 1px solid; height: 18px; width :10%;">
          <asp:CheckBox Enabled="false" ID="chk_sys" runat="server" Checked=' <%#DataBinder.Eval(Container.DataItem, "sys")%>' /> 
          </td>
          
           <td   style="border-bottom: #83bbd9 1px solid; height: 18px; width :10%;">
          <asp:CheckBox Enabled="false" ID="chk_sysMgt" runat="server" Checked=' <%#DataBinder.Eval(Container.DataItem, "sysMgt")%>' /> 
          </td>
           <td   style="border-bottom: #83bbd9 1px solid; height: 18px; width :10%;">
          <asp:CheckBox Enabled="false" ID="chk_folderMgt" runat="server" Checked=' <%#DataBinder.Eval(Container.DataItem, "folderMgt")%>' /> 
          </td>
          <td   style="border-bottom: #83bbd9 1px solid; height: 18px; width :10%;">
          <asp:CheckBox Enabled="false" ID="chk_ftpMgt" runat="server" Checked=' <%#DataBinder.Eval(Container.DataItem, "ftpMgt")%>' /> 
          </td>
          <td   style="border-bottom: #83bbd9 1px solid; height: 18px; width :10%;">
          <asp:CheckBox Enabled="false" ID="chk_userRoleMgt" runat="server" Checked=' <%#DataBinder.Eval(Container.DataItem, "userRoleMgt")%>' /> 
          </td>
          <td   style="border-bottom: #83bbd9 1px solid; height: 18px; width :10%;">
          <asp:CheckBox Enabled="false" ID="chk_othersMgt" runat="server" Checked=' <%#DataBinder.Eval(Container.DataItem, "othersMgt")%>' /> 
          </td>
         </tr>
          </table>
        </ItemTemplate>  
             <ItemStyle Font-Size="9pt" />
        </asp:DataList>
       
            <div style="text-align:center; width:100%; margin-top:10px; font-family: Times New Roman;">
                <asp:LinkButton ID="LinkButton1" runat="server" OnClick="ImageButton7_Click">上一页</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   
              <asp:Label ID="Label1" runat="server" Text="当前第"></asp:Label>
              <asp:Label ID="Label2" runat="server" style="color:Red" Text="1"></asp:Label>
              <asp:Label ID="Label3" runat="server" Text="页"></asp:Label>&nbsp;&nbsp;&nbsp;/&nbsp;&nbsp;&nbsp;
              <asp:Label ID="Label4" runat="server" Text="共"></asp:Label>
              <asp:Label ID="Label5" runat="server" style="color:Red" Text="Label"></asp:Label>
              <asp:Label ID="Label6" runat="server" Text="页"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:LinkButton ID="LinkButton3" runat="server" OnClick="ImageButton8_Click">下一页</asp:LinkButton></div>
            <div>
                <asp:Label ID="Label7" runat="server" Text="" style="color:Red; font-weight:bold" Visible="false"></asp:Label>
               </div>
        
         

    </form>
</body>
</html>
