EditOrganizationUnit.aspx
上传用户:li2971742
上传日期:2021-11-18
资源大小:39096k
文件大小:9k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditOrganizationUnit.aspx.cs" Inherits="OThinker.H3.Portal.EditOrganizationUnit" %>
  2. <%@ Register Assembly="OThinker.H3.WorkSheet" Namespace="OThinker.H3.WorkSheet" TagPrefix="SheetControls" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" >
  5. <head runat="server">
  6.     <title>编辑/查看组织单元</title>
  7.     <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
  8. <meta name="CODE_LANGUAGE" Content="C#">
  9. <meta name="vs_defaultClientScript" content="JavaScript">
  10. <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  11. <LINK href="css/style.CSS" type="text/css" rel="stylesheet">
  12. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  13.     <style type="text/css">
  14.         .style3
  15.         {
  16.             width: 103px;
  17.         }
  18.     </style>
  19. </head>
  20. <body leftmargin="0" topmargin="0">
  21.     <form id="form1" runat="server">
  22.                 <asp:Panel ID="panelEdit" runat="server">
  23.                 <table cellpadding="0" cellspacing="0" width="100%">
  24.                     <tr>
  25.                         <td bgcolor="#7f97da" height="25">
  26.                             <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
  27.                                 <tr>
  28.                                     <td width="3%">
  29.                                         <asp:ImageButton ID="btnOk" runat="server" ImageUrl="images/IB_Ok.gif" /></td>
  30.                                     <td width=100%>
  31.                                         <asp:LinkButton ID="lnkOk" runat="server" OnClick="lnkOk_Click"><font color="#FFFFFF">确定</font></asp:LinkButton>
  32.                                         <asp:HyperLink ID="lnkRemove" runat="server" style="cursor: hand"><font color="#FFFFFF">| 删除</font></asp:HyperLink>
  33.                                             <asp:HyperLink ID="lnkAddOrganizationUnit" runat="server" ForeColor="White"><font color="#FFFFFF">| 添加组织单元</font></asp:HyperLink>
  34.                                 <asp:HyperLink ID="lnkAddGroup" runat="server" ForeColor="White">| 添加组</asp:HyperLink>
  35.                                         <asp:HyperLink ID="lnkAddUser" runat="server" ForeColor="White">| 添加用户</asp:HyperLink>
  36.                                         <asp:HyperLink ID="lnkSyncUser" runat="server" ForeColor="White">| 从活动目录中添加用户</asp:HyperLink>
  37.                                         <asp:HyperLink ID="lnkSyncAllUsers" runat="server" ForeColor="White">| 
  38.                                         从活动目录中导入所有用户</asp:HyperLink>
  39.                                         <asp:HyperLink ID="lnkReturn" runat="server" ForeColor="White">| 返回</asp:HyperLink>
  40.                                     </td>
  41.                                 </tr>
  42.                             </table>
  43.                         </td>
  44.                     </tr>
  45.                 </table>
  46.                 </asp:Panel>
  47.                 <table border="0" cellpadding="0" cellspacing="0" style="color: #000000; font-family: 宋体"
  48.                     width="100%">
  49.                     <tr>
  50.                         <td bgcolor="#e0e6f6" height="24">
  51.                             <span>&nbsp; &nbsp;基本信息</span></td>
  52.                     </tr>
  53.                     <tr style="font-family: 宋体">
  54.                         <td>
  55.                             <table width="100%">
  56.                                 <tr>
  57.                                     <td align="right" class="style3">公司:</td>
  58.                                     <td>
  59.                                         <asp:Label ID="lblCompany" runat="server"></asp:Label></td>
  60.                                 </tr>
  61.                                 <tr><td>可见类型:</td><td>
  62.             <asp:DropDownList ID="lstVisibilityType" runat="server">
  63.             </asp:DropDownList>
  64.                                 </td></tr>
  65.                                 <tr>
  66.                                     <td align="right" class="style3">
  67.                                         组织单元路径:</td>
  68.                                     <td>
  69.                                         <asp:Label ID="lblPath" runat="server" Width="100%"></asp:Label></td>
  70.                                 </tr>
  71.                                 <tr>
  72.                                     <td align="right" class="style3">
  73.                                         名称:</td>
  74.                                     <td>
  75.                                         <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
  76.                                         <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="名称不能为空" ControlToValidate="txtName"></asp:RequiredFieldValidator></td>
  77.                                 </tr>
  78.                                 <tr>
  79.                                     <td class="style3">
  80.                                         <p align="right">
  81.                                             <font face="宋体">描述:</font></p>
  82.                                     </td>
  83.                                     <td>
  84.                                         <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine"></asp:TextBox>
  85.                                         &nbsp;</td>
  86.                                 </tr>
  87.                                 <tr>
  88.                                     <td align="right">
  89.                                         子成员类型:</td>
  90.                                     
  91.                                     <td>
  92.                                         <asp:CheckBox ID="chkOrgUnit" runat="server" Text="组织单元" />
  93.                                         <asp:CheckBox ID="chkGroup" runat="server" Text="组" />
  94.                                         <asp:CheckBox ID="chkUser" runat="server" Text="用户" />
  95.                                     </td>
  96.                                 </tr>
  97.                             </table>
  98.                             &nbsp;&nbsp;
  99.                         </td>
  100.                     </tr>
  101.                     <tr>
  102.                         <td bgcolor="#e0e6f6" height="24">
  103.                             &nbsp; &nbsp;组织信息
  104.                             </td>
  105.                             </tr>
  106.                             <tr>
  107.                             <td>
  108.                             
  109.                             <table width=100%>
  110.                                 <tr>
  111.                                     <td style="width:20%">
  112.                                         <div align="right">
  113.                                             经理<font face="宋体">:</font></div>
  114.                                     </td>
  115.                                     <td style="height: 22px">
  116.                                         <sheetcontrols:userselector id="txtManager" runat="server" selectunittype="User"
  117.                                             selectuserurl="SelectUser.aspx" 
  118.                                             SelectUserImageUrl="images/IB_SelectUser.GIF" 
  119.                                             RemoveUserImageUrl="images/IB_Remove.ico" UserSelectable="True" 
  120.                                             Width="170px"></sheetcontrols:userselector>
  121.                                         <asp:HyperLink ID="lnkManager" runat="server">HyperLink</asp:HyperLink>
  122.                                     </td>
  123.                                 </tr>
  124.                                 <tr>
  125.                                     <td class="style6">
  126.                                         <div align="right">
  127.                                             <font face="宋体">父对象:</font></div>
  128.                                     </td>
  129.                                     <td>
  130.                                         <sheetcontrols:userselector id="txtParent" runat="server" selectmode="Single" selectunittype="OrganizationUnit"
  131.                                             selectuserimageurl="images/IB_SelectUser.GIF" 
  132.                                             selectuserurl="SelectUser.aspx" RemoveUserImageUrl="images/IB_Remove.ico" 
  133.                                             CompanySelectable="True" OrganizationUnitSelectable="True" 
  134.                                             UserSelectable="False" Width="171px" OrgUnitSelectable="True"></sheetcontrols:userselector>
  135.                                         <asp:HyperLink ID="lnkParent" runat="server">HyperLink</asp:HyperLink>
  136.                                     </td>
  137.                                 </tr>
  138.                             </table>
  139.                             </td>
  140.                     </tr>
  141.                 </table>
  142.     </form>
  143. </body>
  144. </html>