- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="DepartmentManager.aspx.cs" Inherits="DepartmentManager" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <link href="css/main.css" type="text/css" rel="stylesheet">
- </head>
- <script src="../Scripts/jquery-1.3.2.js" type="text/javascript"></script>
- <SCRIPT language="JavaScript" src="js/calendar.js"></SCRIPT>
- <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
- <form runat="server" id="fm1">
- <br>
- <table border="0" cellpadding="0" cellspacing="0" style="width: 870px" >
- <tr>
- <td style="width: 10px" valign="top">
- <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
- border="0">
- <tr>
- <th colspan="3" style="height: 25px">
- 部门结构</th>
- </tr>
- <tr>
- <td class="usertablerow2" align="left" style="width: 153px">
- <asp:TreeView ID="TreeView1" runat="server" Width="158px" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged">
- <Nodes>
- <asp:TreeNode Text="技术公司" Value="技术公司" ImageUrl="~/images/node_dept.gif">
- <asp:TreeNode Text="技术开发" Value="技术开发"></asp:TreeNode>
- <asp:TreeNode Text="技术保证" Value="技术保证"></asp:TreeNode>
- <asp:TreeNode Text="客户服务" Value="客户服务"></asp:TreeNode>
- </asp:TreeNode>
- <asp:TreeNode Text="运营公司1" Value="运营公司1"></asp:TreeNode>
- <asp:TreeNode Text="运输部1" Value="运输部1"></asp:TreeNode>
- <asp:TreeNode Text="后勤公司1" Value="后勤公司1"></asp:TreeNode>
- <asp:TreeNode Text="运营公司2" Value=""运营公司"2"2></asp:TreeNode>
- <asp:TreeNode Text="运输部2" Value="运输部2"></asp:TreeNode>
- <asp:TreeNode Text="后勤公司2" Value="后勤公司2"></asp:TreeNode>
- <asp:TreeNode Text="运营公司3" Value="运营公司3"></asp:TreeNode>
- <asp:TreeNode Text="运输部3" Value="运输部3"></asp:TreeNode>
- <asp:TreeNode Text="后勤公司3" Value="后勤公司3"></asp:TreeNode>
- <asp:TreeNode Text="运营公司4" Value="运营公司4"></asp:TreeNode>
- <asp:TreeNode Text="运输部4" Value="运输部4"></asp:TreeNode>
- <asp:TreeNode Text="后勤公司4" Value="后勤公司4"></asp:TreeNode>
- </Nodes>
- </asp:TreeView></td>
- </tr>
- </table>
- </td>
- <td style="width: 1082px">
- <table align="center" border="0" cellpadding="3" cellspacing="1" class="usertableborder"
- width="96%">
- <tr>
- <th colspan="3" style="height: 25px">
- 编辑部门-ID:<asp:Label ID="MyId" runat="server" Text="0"></asp:Label></th>
- </tr>
- <tr>
- <td align="right" class="usertablerow2" style="width: 159px">
- 部门排序号:</td>
- <td class="usertablerow2">
- <asp:TextBox ID="Num_TextBox" runat="server" Width="85px"></asp:TextBox>用于处于同一层次部门的排序,以及用户列表的排序</td>
- </tr>
- <tr>
- <td align="right" class="usertablerow2" style="width: 159px">
- 部门名称:</td>
- <td class="usertablerow2">
- <asp:TextBox ID="DepartMent_TextBox" runat="server" Width="129px"></asp:TextBox></td>
- </tr>
- <tr>
- <td align="right" class="usertablerow2" style="width: 159px; height: 26px;">
- 电话:</td>
- <td class="usertablerow2" style="height: 26px">
- <asp:TextBox ID="Tel_TextBox" runat="server" Width="129px"></asp:TextBox></td>
- </tr>
- <tr>
- <td align="right" class="usertablerow2" style="width: 159px; height: 26px;">
- 传真:</td>
- <td class="usertablerow2" style="height: 26px">
- <asp:TextBox ID="Fax_TextBox" runat="server" Width="129px"></asp:TextBox></td>
- </tr>
- <tr>
- <td align="right" class="usertablerow1" style="width: 159px; height: 25px">
- 上级部门:</td>
- <td class="usertablerow1" style="height: 25px">
- <asp:DropDownList ID="Department_DropDownList" runat="server">
- <asp:ListItem Value="0">无</asp:ListItem>
- <asp:ListItem Value="1">总部</asp:ListItem>
- </asp:DropDownList></td>
- </tr>
- <tr>
- <td align="right" class="usertablerow2" style="width: 159px; height: 29px;">
- 部门主管:</td>
- <td class="usertablerow2" style="height: 29px">
- <asp:TextBox ID="DepartmentMain_TextBox" runat="server" Width="129px"></asp:TextBox>
- <input id="Button1" class="ptsbutton" type="button" value="添加" />
- <input class="ptsbutton" onclick="window.location='CardManager.aspx'" type="button"
- value="清空" />(选填)</td>
- </tr>
- <tr>
- <td align="right" class="usertablerow2" style="width: 159px; height: 29px">
- 上级主管领导:</td>
- <td class="usertablerow2" style="height: 29px">
- <asp:TextBox ID="Leader1_TextBox" runat="server" Width="129px"></asp:TextBox>
- <input id="Button3" class="ptsbutton" type="button" value="添加" />
- <input class="ptsbutton" onclick="window.location='CardManager.aspx'" type="button"
- value="清空" />(选填)</td>
- </tr>
- <tr>
- <td align="right" class="usertablerow2" style="width: 159px; height: 29px">
- 上级分管领导:</td>
- <td class="usertablerow2" style="height: 29px">
- <asp:TextBox ID="Leader2_TextBox" runat="server" Width="129px"></asp:TextBox>
- <input id="Button4" class="ptsbutton" type="button" value="添加" />
- <input class="ptsbutton" onclick="window.location='CardManager.aspx'" type="button"
- value="清空" />(选填)</td>
- </tr>
- <tr>
- <td align="right" class="usertablerow2" style="width: 159px; height: 63px">
- 职能描述:</td>
- <td class="usertablerow2" style="height: 63px">
- <asp:TextBox ID="DeptFunc_TextBox" runat="server" Height="58px" TextMode="MultiLine"
- Width="205px"></asp:TextBox></td>
- </tr>
- <tr>
- <td align="center" class="usertablerow1" colspan="2">
- <asp:Button ID="Button5" runat="server" CssClass="ptsbutton" Text="修改" OnClick="Button5_Click" />
- <span style="color: #0000ff;
- text-decoration: underline"></span> <asp:Button ID="Button2" runat="server" CssClass="ptsbutton" Text="删除" OnClick="Button6_Click" /><div id="Div2">
- </div>
- </td>
- </tr>
- </table>
- <br />
- <table align="center" border="0" cellpadding="3" cellspacing="1" class="usertableborder"
- width="96%">
- <tr>
- <th colspan="2">
- 使用方法</th>
- </tr>
- <tr>
- <td align="right" class="usertablerow1" width="11%" style="height: 25px">
- <strong>特殊说明</strong></td>
- <td class="usertablerow1" width="89%" style="height: 25px">
- <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
- </tr>
- </table>
- </td>
- <td>
- </td>
- </tr>
- </table>
- <br>
- </form>
- </body>
- </html>