121 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			121 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| <%@ Page Language="C#" MasterPageFile="../masterPage.master" AutoEventWireup="true" CodeFile="RoleAuth.aspx.cs" Inherits="RoleAuth" %>
 | ||
| 
 | ||
| <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
 | ||
|  
 | ||
| <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 | ||
| <table width="100%" class="Table_NoBorder">
 | ||
|      
 | ||
|     <tr><td>
 | ||
|      <table width="100%" class="Table_NoBorder" border="1">
 | ||
|      <tr class="HeaderStyle">
 | ||
|      <td style="width: 120px"><asp:Label ID="lbrole" runat="server" Font-Bold="True" Text="角色列表"  /> </td>
 | ||
|      <td style="width: 180px"> <asp:Label ID="lbAuth" runat="server" Font-Bold="True" Text="权限列表"  /></td>
 | ||
|      <td style="width: 200px" nowrap>
 | ||
|          <asp:Label ID="lbAuthRole" runat="server" Font-Bold="True" Text="角色清单"  /></td>
 | ||
|       <td valign ="top" style="width: 200px" nowrap>
 | ||
|            <asp:Label ID="lbRoleEm" runat="server" Font-Bold="True" Text="人员清单"  /></td> 
 | ||
|       <td style="width: 200px" nowrap><asp:Label ID="lbAuthEm" runat="server" Font-Bold="True" Text="人员清单"  /></td> 
 | ||
|      
 | ||
|      </tr>
 | ||
|      <tr>
 | ||
|      <td valign ="top" >
 | ||
|        <asp:ListBox id="listRoles" runat="server" width="120px" Height="360px" OnSelectedIndexChanged="listRoles_SelectedIndexChanged"  AutoPostBack="True">
 | ||
|          </asp:ListBox></td>
 | ||
|       <td valign ="top">
 | ||
|       
 | ||
|      
 | ||
|      <asp:TreeView ID="treeAuth" runat="server" ShowLines="True"   ImageSet="Arrows" OnSelectedNodeChanged="treeAuth_SelectedNodeChanged" ShowCheckBoxes="All"  >
 | ||
|             <SelectedNodeStyle BackColor="Azure" BorderColor="Transparent" />
 | ||
|             <Nodes>
 | ||
| <asp:TreeNode Text="" Selected="True" Value="0" Expanded="True"></asp:TreeNode>
 | ||
| </Nodes>
 | ||
|         </asp:TreeView>
 | ||
|      
 | ||
|      </td>
 | ||
|       <td valign ="top">
 | ||
|           
 | ||
|           <asp:gridview id="GvRole" runat="server" AllowPaging="True" AutoGenerateColumns="False"
 | ||
|               CssClass="DataGrid"  emptydatatext="没有数据。"  
 | ||
|               ShowFooter="True"
 | ||
|               Width="100%">
 | ||
|               <columns>
 | ||
|                  
 | ||
|                 <asp:BoundField DataField="ROLE_NAME" SortExpression="ROLE_NAME" HeaderText="角色名称"></asp:BoundField>
 | ||
|                 <asp:BoundField DataField="ROLE_DESC" SortExpression="ROLE_DESC" HeaderText="角色描述"></asp:BoundField>
 | ||
|            
 | ||
|                 </columns>
 | ||
|               <rowstyle cssclass="ItemStyle" horizontalalign="Center" /> 
 | ||
|               <headerstyle cssclass="HeaderStyle" horizontalalign="Center" />
 | ||
|               <alternatingrowstyle cssclass="AlternatingItemStyle" />
 | ||
|           </asp:gridview>
 | ||
|         
 | ||
|         
 | ||
|          
 | ||
|      
 | ||
|      </td>
 | ||
|        <td valign ="top">
 | ||
|            
 | ||
|            <asp:gridview id="GvEm" runat="server" AllowPaging="True" AutoGenerateColumns="False"
 | ||
|               CssClass="DataGrid"  emptydatatext="没有数据。"  
 | ||
|               ShowFooter="True"
 | ||
|               Width="100%">
 | ||
|                <columns>
 | ||
|                  
 | ||
|                 <asp:BoundField DataField="EM_NAME" SortExpression="EM_NAME" HeaderText="人员名称"></asp:BoundField>
 | ||
|                 <asp:BoundField DataField="Dep_name" SortExpression="Dep_name" HeaderText="所属部门"></asp:BoundField>
 | ||
|            
 | ||
|                 </columns>
 | ||
|                <rowstyle cssclass="ItemStyle" horizontalalign="Center" />
 | ||
|                <headerstyle cssclass="HeaderStyle" horizontalalign="Center" />
 | ||
|                <alternatingrowstyle cssclass="AlternatingItemStyle" />
 | ||
|            </asp:gridview>
 | ||
|          
 | ||
|      
 | ||
|      </td>
 | ||
|       <td valign ="top">
 | ||
|           <asp:gridview id="GvAuthEm" runat="server" AllowPaging="True" AutoGenerateColumns="False"
 | ||
|               CssClass="DataGrid"  emptydatatext="没有数据。"  
 | ||
|               ShowFooter="True"
 | ||
|               Width="100%">
 | ||
|               <columns>
 | ||
|                  
 | ||
|                 <asp:BoundField DataField="EM_NAME" SortExpression="EM_NAME" HeaderText="人员名称"></asp:BoundField>
 | ||
|                 <asp:BoundField DataField="Dep_name" SortExpression="Dep_name" HeaderText="所属部门"></asp:BoundField>
 | ||
|            
 | ||
|                 </columns>
 | ||
|               <rowstyle cssclass="ItemStyle" horizontalalign="Center" />
 | ||
|               <headerstyle cssclass="HeaderStyle" horizontalalign="Center" />
 | ||
|               <alternatingrowstyle cssclass="AlternatingItemStyle" />
 | ||
|           </asp:gridview></td>
 | ||
|      </tr>
 | ||
|      
 | ||
|      
 | ||
|      
 | ||
|      </table>
 | ||
|      
 | ||
|      
 | ||
|      
 | ||
|      
 | ||
|      
 | ||
|      
 | ||
|      
 | ||
|        </td></tr>
 | ||
|     <tr><td class="ALine"  >
 | ||
|         </td></tr> 
 | ||
|      
 | ||
|             <tr> 
 | ||
|             <td   align="center" style="height: 27px"   >   <asp:Button ID="btnSubmit" runat="server" CssClass="Button" Text="保存数据" OnClick="btnSubmit_Click" />
 | ||
|                 
 | ||
|                  
 | ||
|                 <asp:Label ID="lbmsg" runat="server"></asp:Label>
 | ||
|                 
 | ||
|                </td>
 | ||
|         </tr>
 | ||
|         <tr><td style="width: 532px">
 | ||
|             
 | ||
|             <br/></td></tr>
 | ||
|    </table>
 | ||
|     
 | ||
|  </asp:Content>
 | ||
| 
 |