- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddDepartmentForm.aspx.cs" Inherits="AddDepartmentForm" %>
- <!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>
- <script>
- function GetMyValue(contrlname,myvalue)
- {
- if(typeof(myvalue)=="undefined")
- {}
- else
- {
- document.getElementById(contrlname).value+=myvalue+',';
- }
- }
- function clr(contrlname)
- {
- document.getElementById(contrlname).value='';
- }
- </script>
- <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
- <form runat="server" id="fm1">
- <br>
- <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="right" style="width: 159px">
- 部门排序号:</td>
- <td class="usertablerow2">
- <asp:TextBox ID="Num_TextBox" runat="server" Width="85px"></asp:TextBox>用于处于同一层次部门的排序,以及用户列表的排序</td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px">
- 部门名称:</td>
- <td class="usertablerow2">
- <asp:TextBox ID="DepartMent_TextBox" runat="server" Width="129px"></asp:TextBox></td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px">
- 电话:</td>
- <td class="usertablerow2">
- <asp:TextBox ID="Tel_TextBox" runat="server" Width="129px"></asp:TextBox></td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px">
- 传真:</td>
- <td class="usertablerow2">
- <asp:TextBox ID="Fax_TextBox" runat="server" Width="129px"></asp:TextBox> </td>
- </tr>
- <tr>
- <td class="usertablerow1" style="height: 25px; width: 159px;" align="right">
- 上级部门:</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 class="usertablerow2" align="right" style="width: 159px">
- 部门主管:</td>
- <td class="usertablerow2">
- <asp:TextBox ID="DepartmentMain_TextBox" runat="server" Width="129px"></asp:TextBox>
- <input type="Button" id="ButtonDepAdd" Class="ptsbutton" onclick="GetMyValue('DepartmentMain_TextBox',window.showModalDialog('SelectForm/SelectUserForm.aspx'))" value="添加" />
- <input type="Button" Class="ptsbutton" value="清空" onclick="clr('DepartmentMain_TextBox')" />(选填)</td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px; height: 29px;">
- 上级主管领导:</td>
- <td class="usertablerow2" style="height: 29px">
- <asp:TextBox ID="Leader1_TextBox" runat="server" Width="129px"></asp:TextBox>
- <input type="Button" id="Leader1Button1" Class="ptsbutton" onclick="GetMyValue('Leader1_TextBox',window.showModalDialog('SelectForm/SelectUserForm.aspx'))" value="添加" />
- <input type="Button" Class="ptsbutton" value="清空" onclick="clr('Leader1_TextBox')" />(选填)</td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" style="width: 159px; height: 29px;">
- 上级分管领导:</td>
- <td class="usertablerow2" style="height: 29px">
- <asp:TextBox ID="Leader2_TextBox" runat="server" Width="129px"></asp:TextBox>
- <input type="Button" id="Leader2Button1" Class="ptsbutton" onclick="GetMyValue('Leader2_TextBox',window.showModalDialog('SelectForm/SelectUserForm.aspx'))" value="添加" />
- <input type="Button" Class="ptsbutton" value="清空" onclick="clr('Leader1_TextBox')" />(选填)</td>
- </tr>
- <tr>
- <td class="usertablerow2" align="right" 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" />
-
-
- <input type="Button" Class="ptsbutton" value="返回" OnClick="window.location='CardManager.aspx'" /><div id="Div2">
- </div> </td>
- </tr>
- </table>
- <br/>
- <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
- border="0">
- <tr>
- <th colspan="2">
- 使用方法</th>
- </tr>
- <tr>
- <td class="usertablerow1" align="right" width="11%">
- <strong>特殊说明</strong></td>
- <td class="usertablerow1" width="89%">
- <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
- </tr>
- </table>
- </form>
- </body>
- </html>