DepartmentManager.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:10k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="DepartmentManager.aspx.cs" Inherits="DepartmentManager" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <html>
  4. <head>
  5.     <link href="css/main.css" type="text/css" rel="stylesheet">
  6. </head>
  7.   <script src="../Scripts/jquery-1.3.2.js" type="text/javascript"></script>
  8.   <SCRIPT language="JavaScript" src="js/calendar.js"></SCRIPT>
  9. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  10. <form runat="server" id="fm1">
  11.     <br>
  12.     <table border="0" cellpadding="0" cellspacing="0" style="width: 870px" >
  13.         <tr>
  14.             <td style="width: 10px" valign="top">
  15.             <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  16.         border="0">
  17.                 <tr>
  18.                     <th colspan="3" style="height: 25px">
  19.                         部门结构</th>
  20.                 </tr>
  21.                 <tr>
  22.                     <td class="usertablerow2" align="left" style="width: 153px">
  23.                            <asp:TreeView ID="TreeView1" runat="server" Width="158px" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged">
  24.                                <Nodes>
  25.                                    <asp:TreeNode Text="技术公司" Value="技术公司" ImageUrl="~/images/node_dept.gif">
  26.                                        <asp:TreeNode Text="技术开发" Value="技术开发"></asp:TreeNode>
  27.                                        <asp:TreeNode Text="技术保证" Value="技术保证"></asp:TreeNode>
  28.                                        <asp:TreeNode Text="客户服务" Value="客户服务"></asp:TreeNode>
  29.                                    </asp:TreeNode>
  30.                                    <asp:TreeNode Text="运营公司1" Value="运营公司1"></asp:TreeNode>
  31.                                    <asp:TreeNode Text="运输部1" Value="运输部1"></asp:TreeNode>
  32.                                    <asp:TreeNode Text="后勤公司1" Value="后勤公司1"></asp:TreeNode>
  33.                                              <asp:TreeNode Text="运营公司2" Value="&quot;运营公司&quot;2"2></asp:TreeNode>
  34.                                    <asp:TreeNode Text="运输部2" Value="运输部2"></asp:TreeNode>
  35.                                    <asp:TreeNode Text="后勤公司2" Value="后勤公司2"></asp:TreeNode>
  36.                                              <asp:TreeNode Text="运营公司3" Value="运营公司3"></asp:TreeNode>
  37.                                    <asp:TreeNode Text="运输部3" Value="运输部3"></asp:TreeNode>
  38.                                    <asp:TreeNode Text="后勤公司3" Value="后勤公司3"></asp:TreeNode>
  39.                                              <asp:TreeNode Text="运营公司4" Value="运营公司4"></asp:TreeNode>
  40.                                    <asp:TreeNode Text="运输部4" Value="运输部4"></asp:TreeNode>
  41.                                    <asp:TreeNode Text="后勤公司4" Value="后勤公司4"></asp:TreeNode>
  42.                                </Nodes>
  43.                 </asp:TreeView></td>
  44.            
  45.             
  46.                 </tr>
  47.             </table>
  48.            
  49.             </td>
  50.             <td style="width: 1082px">
  51.                 <table align="center" border="0" cellpadding="3" cellspacing="1" class="usertableborder"
  52.                     width="96%">
  53.                     <tr>
  54.                         <th colspan="3" style="height: 25px">
  55.                             编辑部门-ID:<asp:Label ID="MyId" runat="server" Text="0"></asp:Label></th>
  56.                     </tr>
  57.                     <tr>
  58.                         <td align="right" class="usertablerow2" style="width: 159px">
  59.                             部门排序号:</td>
  60.                         <td class="usertablerow2">
  61.                             <asp:TextBox ID="Num_TextBox" runat="server" Width="85px"></asp:TextBox>用于处于同一层次部门的排序,以及用户列表的排序</td>
  62.                     </tr>
  63.                     <tr>
  64.                         <td align="right" class="usertablerow2" style="width: 159px">
  65.                             部门名称:</td>
  66.                         <td class="usertablerow2">
  67.                             <asp:TextBox ID="DepartMent_TextBox" runat="server" Width="129px"></asp:TextBox></td>
  68.                     </tr>
  69.                     <tr>
  70.                         <td align="right" class="usertablerow2" style="width: 159px; height: 26px;">
  71.                             电话:</td>
  72.                         <td class="usertablerow2" style="height: 26px">
  73.                             <asp:TextBox ID="Tel_TextBox" runat="server" Width="129px"></asp:TextBox></td>
  74.                     </tr>
  75.                     <tr>
  76.                         <td align="right" class="usertablerow2" style="width: 159px; height: 26px;">
  77.                             传真:</td>
  78.                         <td class="usertablerow2" style="height: 26px">
  79.                             <asp:TextBox ID="Fax_TextBox" runat="server" Width="129px"></asp:TextBox></td>
  80.                     </tr>
  81.                     <tr>
  82.                         <td align="right" class="usertablerow1" style="width: 159px; height: 25px">
  83.                             上级部门:</td>
  84.                         <td class="usertablerow1" style="height: 25px">
  85.                             <asp:DropDownList ID="Department_DropDownList" runat="server">
  86.                                 <asp:ListItem Value="0">无</asp:ListItem>
  87.                                 <asp:ListItem Value="1">总部</asp:ListItem>
  88.                             </asp:DropDownList></td>
  89.                     </tr>
  90.                     <tr>
  91.                         <td align="right" class="usertablerow2" style="width: 159px; height: 29px;">
  92.                             部门主管:</td>
  93.                         <td class="usertablerow2" style="height: 29px">
  94.                             <asp:TextBox ID="DepartmentMain_TextBox" runat="server" Width="129px"></asp:TextBox>
  95.                             <input id="Button1" class="ptsbutton" type="button" value="添加" />
  96.                             <input class="ptsbutton" onclick="window.location='CardManager.aspx'" type="button"
  97.                                 value="清空" />(选填)</td>
  98.                     </tr>
  99.                     <tr>
  100.                         <td align="right" class="usertablerow2" style="width: 159px; height: 29px">
  101.                             上级主管领导:</td>
  102.                         <td class="usertablerow2" style="height: 29px">
  103.                             <asp:TextBox ID="Leader1_TextBox" runat="server" Width="129px"></asp:TextBox>
  104.                             <input id="Button3" class="ptsbutton" type="button" value="添加" />
  105.                             <input class="ptsbutton" onclick="window.location='CardManager.aspx'" type="button"
  106.                                 value="清空" />(选填)</td>
  107.                     </tr>
  108.                     <tr>
  109.                         <td align="right" class="usertablerow2" style="width: 159px; height: 29px">
  110.                             上级分管领导:</td>
  111.                         <td class="usertablerow2" style="height: 29px">
  112.                             <asp:TextBox ID="Leader2_TextBox" runat="server" Width="129px"></asp:TextBox>
  113.                             <input id="Button4" class="ptsbutton" type="button" value="添加" />
  114.                             <input class="ptsbutton" onclick="window.location='CardManager.aspx'" type="button"
  115.                                 value="清空" />(选填)</td>
  116.                     </tr>
  117.                     <tr>
  118.                         <td align="right" class="usertablerow2" style="width: 159px; height: 63px">
  119.                             职能描述:</td>
  120.                         <td class="usertablerow2" style="height: 63px">
  121.                             <asp:TextBox ID="DeptFunc_TextBox" runat="server" Height="58px" TextMode="MultiLine"
  122.                                 Width="205px"></asp:TextBox></td>
  123.                     </tr>
  124.                     <tr>
  125.                         <td align="center" class="usertablerow1" colspan="2">
  126.                             <asp:Button ID="Button5" runat="server" CssClass="ptsbutton" Text="修改" OnClick="Button5_Click" />
  127.                             &nbsp;&nbsp;<span style="color: #0000ff;
  128.                                 text-decoration: underline"></span>       <asp:Button ID="Button2" runat="server" CssClass="ptsbutton" Text="删除" OnClick="Button6_Click" /><div id="Div2">
  129.                                 </div>
  130.                         </td>
  131.                     </tr>
  132.                 </table>
  133.                 <br />
  134.                 <table align="center" border="0" cellpadding="3" cellspacing="1" class="usertableborder"
  135.                     width="96%">
  136.                     <tr>
  137.                         <th colspan="2">
  138.                             使用方法</th>
  139.                     </tr>
  140.                     <tr>
  141.                         <td align="right" class="usertablerow1" width="11%" style="height: 25px">
  142.                             <strong>特殊说明</strong></td>
  143.                         <td class="usertablerow1" width="89%" style="height: 25px">
  144.                             <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  145.                     </tr>
  146.                 </table>
  147.     
  148.     
  149.             </td>
  150.              <td>
  151.             </td>
  152.         </tr>
  153.     </table>
  154.     <br>
  155.     </form>
  156.     
  157. </body>
  158. </html>