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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditGroup.aspx.cs" Inherits="OThinker.H3.Portal.EditGroup" %>
  2. <%@ Register Assembly="OThinker.H3.WorkSheet" Namespace="OThinker.H3.WorkSheet" TagPrefix="SheetControls" %>
  3. <%@ Register src="OrgRelationship.ascx" tagname="OrgRelationship" tagprefix="uc1" %>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml" >
  6. <head runat="server">
  7.     <title>编辑组</title>
  8.     <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
  9. <meta name="CODE_LANGUAGE" Content="C#">
  10. <meta name="vs_defaultClientScript" content="JavaScript">
  11. <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  12. <LINK href="css/style.CSS" type="text/css" rel="stylesheet">
  13. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  14.     </head>
  15. <body leftmargin="0" topmargin="0">
  16.     <form id="form1" runat="server">
  17.     <div>
  18.     <asp:Panel ID="panelButtons" runat=server>
  19.                             <table  cellpadding="0" cellspacing="0" width="100%"align="center" border="0" cellpadding="0" cellspacing="0" width="98%" bgcolor="#7f97da">
  20.                                 <tr>
  21.                                     <td width="3%">
  22.                                         <asp:ImageButton ID="btnOk" runat="server" ImageUrl="images/IB_Ok.gif" /></td>
  23.                                     <td width="97%">
  24.                                         <asp:LinkButton ID="lnkOk" runat="server" OnClick="lnkOk_Click"><font color="#FFFFFF">确定</font></asp:LinkButton>
  25.                                         &nbsp;<asp:HyperLink ID="lnkRemove" runat="server" style="cursor: hand"><font color="#FFFFFF">| 删除</font></asp:HyperLink>
  26.                                         &nbsp;<asp:HyperLink ID="lnkCreateChildGroup" runat="server" style="cursor: hand"><font 
  27.                                             color="#FFFFFF">| 创建子组</font></asp:HyperLink>
  28.                                         &nbsp;<asp:HyperLink ID="lnkReturn" runat="server" ForeColor="White">| 返回</asp:HyperLink>
  29.                                     </td>
  30.                                 </tr>
  31.                             </table>
  32.                 </asp:Panel>
  33. <table border="1" cellpadding="0" cellspacing="0" style="color: #000000; font-family: 宋体" width="100%">
  34. <tr valign=top><td width=30%><b>基本信息</b></td>
  35. <td>
  36.     <table bgcolor="#E0E6F6" width=100%>
  37.         
  38.         <tr><td>组名称:</td></tr>
  39.         <tr><td>&nbsp;&nbsp;<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
  40.                                         <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
  41.                                             ErrorMessage="名称不能为空"></asp:RequiredFieldValidator></td></tr>
  42.         <tr><td>组描述:</td></tr>
  43.         <tr><td>&nbsp;&nbsp;<asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine"></asp:TextBox></td></tr>
  44.         <tr><td>子组:</td></tr>
  45.         <tr><td>&nbsp;&nbsp;<asp:CheckBox ID="chkAllowChildGroup" runat="server" Text="子成员中允许包含组" /></td></tr>
  46.         <tr><td>父组:</td></tr>
  47.         <tr><td>&nbsp;&nbsp;<asp:CheckBox ID="chkAllowMultiParentGroup" runat="server" Text="允许同时属于多个父组" 
  48.                                             Enabled="False" /></td></tr>
  49.         <tr><td>公司:</td></tr>
  50.         <tr><td>&nbsp;&nbsp;<asp:Label ID="lblCompany" runat="server"></asp:Label></td></tr>
  51.         <tr><td>可见类型:</td></tr>
  52.         <tr><td>&nbsp;&nbsp;
  53.             <asp:DropDownList ID="lstVisibilityType" runat="server">
  54.             </asp:DropDownList>
  55.                                 </td></tr>
  56.         <tr><td>组路径:</td></tr>
  57.         <tr><td>&nbsp;&nbsp;<asp:Label ID="lblPath" runat="server"></asp:Label></td></tr>
  58.     </table>
  59. </td>
  60. </tr>
  61. <tr valign=top><td width=30%><b>组织信息</b></td>
  62. <td>
  63.     <table bgcolor="#E0E6F6" width=100%>
  64.         <tr><td>经理:</td></tr>
  65.         <tr><td><sheetcontrols:userselector id="txtManager" runat="server" selectunittype="User"
  66.                                             selectuserurl="SelectUser.aspx" 
  67.                                             SelectUserImageUrl="images/IB_SelectUser.GIF" 
  68.                                             RemoveUserImageUrl="images/IB_Remove.ico" UserSelectable="True" 
  69.                                             Width="178px"></sheetcontrols:userselector>
  70.                                         </td></tr>
  71.         <tr><td>&nbsp;&nbsp;<asp:HyperLink ID="lnkManager" runat="server">HyperLink</asp:HyperLink></td></tr>
  72.         <tr><td>父对象:</td></tr>
  73.         <tr><td><sheetcontrols:userselector id="txtParent" runat="server" 
  74.                 selectmode="Single" selectunittype="OrganizationUnit"
  75.                                             selectuserimageurl="images/IB_SelectUser.GIF" 
  76.                                             selectuserurl="SelectUser.aspx" RemoveUserImageUrl="images/IB_Remove.ico" 
  77.                                             CompanySelectable="True" 
  78.                 OrganizationUnitSelectable="True" Width="182px" OrgUnitSelectable="True"></sheetcontrols:userselector>
  79.                                         </td></tr>
  80.         <tr><td>&nbsp;&nbsp;<asp:HyperLink ID="lnkParent" runat="server">HyperLink</asp:HyperLink></td></tr>
  81.         <tr><td>
  82.             <uc1:OrgRelationship ID="OrgRelationship1" runat="server" />
  83.             </td></tr>
  84.     </table>
  85. </td>
  86. </tr>
  87. <tr valign=top><td width=30%><b>成员信息</b></td>
  88. <td>
  89.     <table bgcolor="#E0E6F6" width=100%>
  90.         <tr><td>所有成员:</td></tr>
  91.         <tr><td>
  92.             <sheetcontrols:userselector id="txtChildren" runat="server" 
  93.                 selectmode="Multi" selectunittype="OrganizationUnit"
  94.                                             selectuserimageurl="images/IB_SelectUser.GIF" 
  95.                                             selectuserurl="SelectUser.aspx" RemoveUserImageUrl="images/IB_Remove.ico" 
  96.                                             CompanySelectable="False" 
  97.                 OrganizationUnitSelectable="True" Width="179px" GroupSelectable="True" 
  98.                 Height="135px" OrgUnitVisible="True" UserSelectable="True" 
  99.                 VisibleType="All"></sheetcontrols:userselector>
  100.                                         </td></tr>
  101.         </table>
  102. </td>
  103. </tr>
  104. </table>
  105.     </div>
  106.     </form>
  107. </body>
  108. </html>