AddBoardroom.jsp
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:6k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
  3. <jsp:include page="/CheckLogin.jsp" flush="true"/> <% Session m_session = new Session(session); %>
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
  7. <title>会议室管理-- GForce OA 2.0</title>
  8. <link href="/css/txt.jsp" rel="stylesheet" type="text/css">
  9. <script language="JavaScript" src="/js/changestyle.js"></script>
  10. <script language="JavaScript" type="text/javascript">
  11. function checkAddBoardroom()
  12. {
  13.     if(document.AddBoardroom.BoardroomName.value == "")
  14.     {
  15.         alert("请输入会议室名称!");
  16.         document.AddBoardroom.BoardroomName.focus();
  17.         return false;
  18.     }
  19.     if (document.AddBoardroom.PersonnelAmount.value != "")
  20.     if(isNaN(parseInt(document.AddBoardroom.PersonnelAmount.value,10)))
  21.     {
  22.       alert("请输入正确的容纳人数!");
  23.       document.AddBoardroom.PersonnelAmount.select();
  24.       document.AddBoardroom.PersonnelAmount.focus();
  25.       return false;
  26.     }
  27. }
  28. </script>
  29. <style type="text/css">
  30. <!--
  31. .imgtd {
  32.     border: 1px solid #0A0A0A;
  33. }
  34. -->
  35. </style>
  36. </head>
  37. <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
  38.  <table width="100%" height="100%" border="0" align="center" cellspacing="0">
  39.     <tr>
  40.     <td align="center" valign="top">
  41.       <table width="100%" border="0" cellpadding="0" cellspacing="0">
  42.         <tr>
  43.           <td height="50" valign="top" background="../images/dy-back.gif">
  44.             <table width="100%" border="0" cellpadding="0" cellspacing="0">
  45.               <tr valign="middle">
  46.                 <td width="61" align="center" height="20"><img src="../images/dy-01.gif" width="38" height="36"></td>
  47.                 <td width="118" nowrap="nowrap" valign="middle"><strong><font color="#000000">会议新增</font></strong></td>
  48.                 <td align="right" nowrap="nowrap" valign="bottom">&nbsp;
  49.                    <!-- 群增<img src="../images/MulAdd.gif" onMouseOver="this.src='../images/MulAdd_a.gif';" onMouseOut="this.src='../images/MulAdd.gif';" border="0" height="22" width="59">&nbsp;-->
  50.                  <!--<img src="../images/Single.gif" onMouseOver="this.src='../images/Single_a.gif';" onMouseOut="this.src='../images/Single.gif';" border="0" height="22" width="59">&nbsp;-->
  51.                   <!-- 修改<img src="../images/Update.gif" onMouseOver="this.src='../images/Update_a.gif';" onMouseOut="this.src='../images/Update.gif';" border="0" height="22" width="59">&nbsp;-->
  52.                   <!-- 删除<img src="../images/Del.gif" onMouseOver="this.src='../images/Del_a.gif';" onMouseOut="this.src='../images/Del.gif';" border="0" height="22" width="59">&nbsp;-->
  53.                   <!-- 查看<img src="../images/Query.gif" onMouseOver="this.src='../images/Query_a.gif';" onMouseOut="this.src='../images/Query.gif';" border="0" height="22" width="59">&nbsp;-->
  54.                   <!-- 组合查询<img src="../images/GroupQuery.gif" onMouseOver="this.src='../images/GroupQuery_a.gif';" onMouseOut="this.src='../images/GroupQuery.gif';" border="0" height="22" width="79">&nbsp;-->
  55.                 </td>
  56.               </tr>
  57.             </table>
  58.           </td>
  59.         </tr>
  60.       </table><br>
  61. <%
  62. Request m_request = new Request(request);
  63. int intUserID = m_session.GetInt("UserID");
  64. %>
  65.         <form name="AddBoardroom" action="AddBoardroomAction.jsp" method="post" onSubmit="javascript:return checkAddBoardroom();">
  66.         <table  border="0" cellpadding="0" cellspacing="0" width="90%">
  67.           <tr>
  68.             <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议室编号:</font></td>
  69.             <td colspan="3" align="left" valign="middle" nowrap>
  70.             <input name="BoardroomNumber" type="text" maxlength="60" size="20">
  71.             </td>
  72.           </tr>
  73.           <tr>
  74.             <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议室名称:</font></td>
  75.             <td colspan="3" align="left" valign="middle" nowrap>
  76.             <input name="BoardroomName" type="text" maxlength="60" size="20">
  77.             </td>
  78.           </tr>
  79.           <tr>
  80.             <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议室地址:</font></td>
  81.             <td colspan="3" align="left" valign="middle" nowrap>
  82.             <input name="Address" type="text" maxlength="60" size="40">
  83.             </td>
  84.           </tr>
  85.           <tr>
  86.             <td width="100" align="right" valign="middle"><font color="#0A0A0A">容纳人数:</font></td>
  87.             <td colspan="3" align="left" valign="middle" nowrap>
  88.             <input name="PersonnelAmount" type="text" maxlength="5" size="5">
  89.             </td>
  90.           </tr>
  91.           <tr>
  92.             <td width="100" align="right" valign="middle"><font color="#0A0A0A">是否可用:</font></td>
  93.             <td colspan="3" align="left" valign="middle" nowrap>
  94.             <select name="IsUseful">
  95.             <option value="1" selected>可用</option>
  96.             <option value="0">不可用</option>
  97.             </select>
  98.             </td>
  99.           </tr>
  100.           <tr>
  101.             <td width="100" align="right" valign="middle"><font color="#0A0A0A">状    态:</font></td>
  102.             <td colspan="3" align="left" valign="middle" nowrap>
  103.             <input name="State" type="text" maxlength="60" size="20">
  104.             </td>
  105.           </tr>
  106.           <tr>
  107.             <td align="right" valign="middle">&nbsp;</td>
  108.             <td colspan="3" align="left" valign="middle" nowrap> </td>
  109.           </tr>
  110.           <tr>
  111.             <td align="right" valign="middle">&nbsp;</td>
  112.             <td colspan="3" align="left" valign="middle" nowrap> <input type="submit" value="确定">
  113.               &nbsp;&nbsp;&nbsp; <input type="reset" value="重填"> &nbsp;&nbsp;&nbsp;
  114.               <input type="button" value="返回" onclick="window.location='BoardroomManage.jsp';">
  115.             </td>
  116.           </tr>
  117.         </table>
  118.         </form>
  119.         </td>
  120.     </tr>
  121. </table>
  122. </body>
  123. </html>