132 lines
5.9 KiB
Plaintext
132 lines
5.9 KiB
Plaintext
|
<%@ 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="<22><>ɫ<EFBFBD>б<EFBFBD>" /> </td>
|
|||
|
<td style="width: 180px"> <asp:Label ID="lbemp" runat="server" Font-Bold="True" Text="<22><>Ա<EFBFBD>б<EFBFBD>" /></td>
|
|||
|
<td style="width: 200px" nowrap>
|
|||
|
<20><><asp:Label ID="lbRoleEm" runat="server" Font-Bold="True" Text=" " />
|
|||
|
<asp:Label ID="Label1" runat="server" Text="<22><>ɫ<EFBFBD><C9AB>Ա<EFBFBD>嵥" /></td>
|
|||
|
<td valign ="top" style="width: 200px" nowrap>
|
|||
|
<20><><asp:Label ID="lbEmRole" runat="server" Font-Bold="True" Text="" />
|
|||
|
<asp:Label ID="Label2" runat="server" Text="<22><>Ա<EFBFBD><D4B1>ɫ<EFBFBD>嵥" />
|
|||
|
</td>
|
|||
|
<td valign ="top" style="width: 200px" nowrap>
|
|||
|
<20><><asp:Label ID="lbEmAuth" runat="server" Font-Bold="True" Text="<22><>ԱȨ<D4B1><C8A8><EFBFBD>嵥" />
|
|||
|
<asp:Label ID="Label3" runat="server" Text="<22><>ԱȨ<D4B1><C8A8><EFBFBD>嵥" />
|
|||
|
</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"
|
|||
|
<20><><EFBFBD><EFBFBD> ShowCheckBoxes="All" OnSelectedNodeChanged="TreeDeptEmp_SelectedNodeChanged" >
|
|||
|
|
|||
|
<nodes>
|
|||
|
<asp:TreeNode Text="WMS" 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="û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>"
|
|||
|
ShowFooter="True"
|
|||
|
Width="100%">
|
|||
|
<columns>
|
|||
|
<20><>
|
|||
|
<asp:BoundField DataField="EM_NAME" SortExpression="EM_NAME" HeaderText="<22><>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD>"> <ItemStyle Wrap="False" HorizontalAlign="Center"/>
|
|||
|
<HeaderStyle Wrap="False" HorizontalAlign="Center"/>
|
|||
|
</asp:BoundField>
|
|||
|
<asp:BoundField DataField="Dep_name" SortExpression="Dep_name" HeaderText="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>">
|
|||
|
<HeaderStyle Wrap="False" HorizontalAlign="Center"/>
|
|||
|
</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="û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>"
|
|||
|
ShowFooter="True"
|
|||
|
Width="100%" TabIndex="1">
|
|||
|
<columns>
|
|||
|
<20><>
|
|||
|
<asp:BoundField DataField="ROLE_NAME" SortExpression="ROLE_NAME" HeaderText="<22><>ɫ<EFBFBD><C9AB><EFBFBD><EFBFBD>"> <ItemStyle Wrap="False" HorizontalAlign="Center"/>
|
|||
|
<HeaderStyle Wrap="False" HorizontalAlign="Center"/>
|
|||
|
</asp:BoundField>
|
|||
|
<asp:BoundField DataField="ROLE_DESC" SortExpression="ROLE_DESC" HeaderText="<22><>ɫ<EFBFBD><C9AB><EFBFBD><EFBFBD>">
|
|||
|
<HeaderStyle Wrap="False" HorizontalAlign="Center"/>
|
|||
|
</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="û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD>"
|
|||
|
ShowFooter="True"
|
|||
|
Width="100%" TabIndex="1">
|
|||
|
<columns>
|
|||
|
<20><>
|
|||
|
<asp:BoundField DataField="auth_name" SortExpression="auth_name" HeaderText="Ȩ<><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"> <ItemStyle Wrap="False" HorizontalAlign="Center"/>
|
|||
|
<HeaderStyle Wrap="False" HorizontalAlign="Center"/>
|
|||
|
</asp:BoundField>
|
|||
|
<asp:BoundField DataField="auth_desc" SortExpression="auth_desc" HeaderText="Ȩ<><C8A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>">
|
|||
|
<HeaderStyle Wrap="False" HorizontalAlign="Center"/>
|
|||
|
</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" > <asp:Button ID="btnSubmit" runat="server" CssClass="Button" Text="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" OnClick="btnSubmit_Click" />
|
|||
|
|
|||
|
<asp:Label ID="lbmsg" runat="server"></asp:Label>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
<tr><td style="width: 532px">
|
|||
|
|
|||
|
<br/></td></tr>
|
|||
|
</table>
|
|||
|
|
|||
|
</asp:Content>
|
|||
|
|