platform/Dict/.svn/text-base/RoleEmp.aspx.svn-base

126 lines
5.4 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Page Language="C#" MasterPageFile="../masterPage.master" AutoEventWireup="true" CodeFile="RoleEmp.aspx.cs" Inherits="RoleEmp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="Table_NoBorder" width="100%">
<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="lbemp" runat="server" Font-Bold="True" Text="人员列表" /></td>
<td style="width: 200px" nowrap>
 <asp:Label ID="lbRoleEm" runat="server" Font-Bold="True" Text="角色人员清单" /></td>
<td valign ="top" style="width: 200px" nowrap>
 <asp:Label ID="lbEmRole" runat="server" Font-Bold="True" Text="人员角色清单" /></td>
<td valign ="top" style="width: 200px" nowrap>
 <asp:Label ID="lbEmAuth" 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="TreeDeptEmp" runat="server" ShowLines="True" ImageSet="Arrows"
   ShowCheckBoxes="All" OnSelectedNodeChanged="TreeDeptEmp_SelectedNodeChanged" >
<nodes>
<asp:TreeNode Text="张浦镇" Selected="True" Value="0" Expanded="True" SelectAction="None" ></asp:TreeNode>
</nodes>
<SelectedNodeStyle BackColor="Azure" BorderColor="Transparent" />
</asp:TreeView>
</td>
<td valign ="top">
<asp:gridview id="GvEm" runat="server" AutoGenerateColumns="False"
CssClass="DataGrid" emptydatatext="没有数据。"
ShowFooter="True"
Width="100%">
<columns>
 
<asp:BoundField DataField="EM_NAME" SortExpression="EM_NAME" HeaderText="人员名称"> <ItemStyle Wrap="False" />
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="Dep_name" SortExpression="Dep_name" HeaderText="所属部门">
<HeaderStyle Wrap="False" />
</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="GvRole" runat="server" AutoGenerateColumns="False"
CssClass="DataGrid" emptydatatext="没有数据。"
ShowFooter="True"
Width="100%" TabIndex="1">
<columns>
 
<asp:BoundField DataField="ROLE_NAME" SortExpression="ROLE_NAME" HeaderText="角色名称"> <ItemStyle Wrap="False" />
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="ROLE_DESC" SortExpression="ROLE_DESC" HeaderText="角色描述">
<HeaderStyle Wrap="False" />
</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="GVauth" runat="server" AutoGenerateColumns="False"
CssClass="DataGrid" emptydatatext="没有数据。"
ShowFooter="True"
Width="100%" TabIndex="1">
<columns>
 
<asp:BoundField DataField="auth_name" SortExpression="auth_name" HeaderText="权限名称"> <ItemStyle Wrap="False" />
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="auth_desc" SortExpression="auth_desc" HeaderText="权限描述">
<HeaderStyle Wrap="False" />
</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" > &nbsp;<asp:Button ID="btnSubmit" runat="server" CssClass="Button" Text="保存数据" OnClick="btnSubmit_Click" />
</td>
</tr>
<tr><td style="width: 532px">
<br/></td></tr>
</table>
</asp:Content>