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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddDepartmentForm.aspx.cs" Inherits="AddDepartmentForm" %>
  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.   <script>
  10.   function GetMyValue(contrlname,myvalue)
  11.   {
  12.    if(typeof(myvalue)=="undefined")
  13.    {}
  14.    else
  15.    {
  16.    document.getElementById(contrlname).value+=myvalue+',';
  17.    }
  18.   }
  19.   function clr(contrlname)
  20.   {
  21.    document.getElementById(contrlname).value='';
  22.   }
  23.   </script>
  24. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  25. <form runat="server" id="fm1">
  26.     <br>
  27.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  28.         border="0">
  29.         <tr>
  30.             <th colspan="3" style="height: 25px">
  31.                 新建部门</th>
  32.         </tr>
  33.         <tr>
  34.             <td class="usertablerow2" align="right" style="width: 159px">
  35.                 部门排序号:</td>
  36.             <td class="usertablerow2">
  37.                 <asp:TextBox ID="Num_TextBox" runat="server" Width="85px"></asp:TextBox>用于处于同一层次部门的排序,以及用户列表的排序</td>
  38.         </tr>
  39.         <tr>
  40.             <td class="usertablerow2" align="right" style="width: 159px">
  41.                 部门名称:</td>
  42.             <td class="usertablerow2">
  43.                 <asp:TextBox ID="DepartMent_TextBox" runat="server" Width="129px"></asp:TextBox></td>
  44.         </tr>
  45.                <tr>
  46.             <td class="usertablerow2" align="right" style="width: 159px">
  47.                 电话:</td>
  48.             <td class="usertablerow2">
  49.                 <asp:TextBox ID="Tel_TextBox" runat="server" Width="129px"></asp:TextBox></td>
  50.         </tr>
  51.                        <tr>
  52.             <td class="usertablerow2" align="right" style="width: 159px">
  53.                 传真:</td>
  54.             <td class="usertablerow2">
  55.                 <asp:TextBox ID="Fax_TextBox" runat="server" Width="129px"></asp:TextBox>&nbsp;</td>
  56.         </tr>
  57.         <tr>
  58.             <td class="usertablerow1" style="height: 25px; width: 159px;" align="right">
  59.                 上级部门:</td>
  60.             <td class="usertablerow1" style="height: 25px">
  61.                 <asp:DropDownList ID="Department_DropDownList" runat="server"  >
  62.                     <asp:ListItem Value="0">无</asp:ListItem>
  63.                     <asp:ListItem Value="1">总部</asp:ListItem>
  64.                 </asp:DropDownList></td>
  65.         </tr>
  66.                                <tr>
  67.             <td class="usertablerow2" align="right" style="width: 159px">
  68.                 部门主管:</td>
  69.             <td class="usertablerow2">
  70.              
  71.                 <asp:TextBox ID="DepartmentMain_TextBox"  runat="server" Width="129px"></asp:TextBox>
  72.                 <input type="Button" id="ButtonDepAdd"  Class="ptsbutton" onclick="GetMyValue('DepartmentMain_TextBox',window.showModalDialog('SelectForm/SelectUserForm.aspx'))" value="添加"  />
  73.                 <input type="Button"  Class="ptsbutton" value="清空" onclick="clr('DepartmentMain_TextBox')" />(选填)</td>
  74.         </tr>
  75.                                        <tr>
  76.             <td class="usertablerow2" align="right" style="width: 159px; height: 29px;">
  77.                 上级主管领导:</td>
  78.             <td class="usertablerow2" style="height: 29px">
  79.                 <asp:TextBox ID="Leader1_TextBox" runat="server" Width="129px"></asp:TextBox>
  80.  <input type="Button" id="Leader1Button1"  Class="ptsbutton" onclick="GetMyValue('Leader1_TextBox',window.showModalDialog('SelectForm/SelectUserForm.aspx'))" value="添加"  />
  81.                           <input type="Button"  Class="ptsbutton" value="清空" onclick="clr('Leader1_TextBox')" />(选填)</td>
  82.         </tr>
  83.                                                <tr>
  84.             <td class="usertablerow2" align="right" style="width: 159px; height: 29px;">
  85.                 上级分管领导:</td>
  86.             <td class="usertablerow2" style="height: 29px">
  87.                 <asp:TextBox ID="Leader2_TextBox" runat="server" Width="129px"></asp:TextBox>
  88.   <input type="Button" id="Leader2Button1"  Class="ptsbutton" onclick="GetMyValue('Leader2_TextBox',window.showModalDialog('SelectForm/SelectUserForm.aspx'))" value="添加"  />
  89.                                          <input type="Button"  Class="ptsbutton" value="清空" onclick="clr('Leader1_TextBox')" />(选填)</td>
  90.         </tr>
  91.        <tr>
  92.             <td class="usertablerow2" align="right" style="width: 159px; height: 63px;">
  93.                 职能描述:</td>
  94.             <td class="usertablerow2" style="height: 63px">
  95.                 <asp:TextBox ID="DeptFunc_TextBox" runat="server" Height="58px" TextMode="MultiLine" Width="205px"></asp:TextBox></td>
  96.         </tr>
  97.         <tr>
  98.             <td align="center" class="usertablerow1" colspan="2">
  99.                 &nbsp;<asp:Button ID="Button5" runat="server" CssClass="ptsbutton" Text="新建" OnClick="Button5_Click" />
  100.                 &nbsp;
  101.                         &nbsp;&nbsp;
  102.                         <input type="Button"  Class="ptsbutton" value="返回" OnClick="window.location='CardManager.aspx'" /><div id="Div2">
  103.                                 </div>   </td>
  104.          
  105.         </tr>
  106.      
  107.     </table>
  108.     <br/>
  109.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  110.         border="0">
  111.         <tr>
  112.             <th colspan="2">
  113.                 使用方法</th>
  114.         </tr>
  115.         <tr>
  116.             <td class="usertablerow1" align="right" width="11%">
  117.                 <strong>特殊说明</strong></td>
  118.             <td class="usertablerow1" width="89%">
  119.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  120.         </tr>
  121.     </table>
  122.     </form>
  123.     
  124. </body>
  125. </html>