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

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"><p>&nbsp;</p>
  41. <%
  42. Request m_request = new Request(request);
  43. int intUserID = m_session.GetInt("UserID");
  44. %>
  45.         <form name="AddBoardroom" action="AddBoardroomAction.jsp" method="post" onSubmit="javascript:return checkAddBoardroom();">
  46.         <table  border="0" cellpadding="0" cellspacing="0" width="90%">
  47.           <tr>
  48.             <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议室编号:</font></td>
  49.             <td colspan="3" align="left" valign="middle" nowrap>
  50.             <input name="BoardroomNumber" type="text" maxlength="60" size="20">
  51.             </td>
  52.           </tr>
  53.           <tr>
  54.             <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议室名称:</font></td>
  55.             <td colspan="3" align="left" valign="middle" nowrap>
  56.             <input name="BoardroomName" type="text" maxlength="60" size="20">
  57.             </td>
  58.           </tr>
  59.           <tr>
  60.             <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议室地址:</font></td>
  61.             <td colspan="3" align="left" valign="middle" nowrap>
  62.             <input name="Address" type="text" maxlength="60" size="40">
  63.             </td>
  64.           </tr>
  65.           <tr>
  66.             <td width="100" align="right" valign="middle"><font color="#0A0A0A">容纳人数:</font></td>
  67.             <td colspan="3" align="left" valign="middle" nowrap>
  68.             <input name="PersonnelAmount" type="text" maxlength="5" size="5">
  69.             </td>
  70.           </tr>
  71.           <tr>
  72.             <td width="100" align="right" valign="middle"><font color="#0A0A0A">是否可用:</font></td>
  73.             <td colspan="3" align="left" valign="middle" nowrap>
  74.             <select name="IsUseful">
  75.             <option value="1" selected>可用</option>
  76.             <option value="0">不可用</option>
  77.             </select>
  78.             </td>
  79.           </tr>
  80.           <tr>
  81.             <td width="100" align="right" valign="middle"><font color="#0A0A0A">状    态:</font></td>
  82.             <td colspan="3" align="left" valign="middle" nowrap>
  83.             <input name="State" type="text" maxlength="60" size="20">
  84.             </td>
  85.           </tr>
  86.           <tr>
  87.             <td align="right" valign="middle">&nbsp;</td>
  88.             <td colspan="3" align="left" valign="middle" nowrap> </td>
  89.           </tr>
  90.           <tr>
  91.             <td align="right" valign="middle">&nbsp;</td>
  92.             <td colspan="3" align="left" valign="middle" nowrap> <input type="submit" value="确定">
  93.               &nbsp;&nbsp;&nbsp; <input type="reset" value="重填"> &nbsp;&nbsp;&nbsp;
  94.               <input type="button" value="返回" onclick="window.location='BoardroomManage.jsp';">
  95.             </td>
  96.           </tr>
  97.         </table>
  98.         </form>
  99.         </td>
  100.     </tr>
  101. </table>
  102. </body>
  103. </html>