AddBoardroom.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:6k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
- <jsp:include page="/CheckLogin.jsp" flush="true"/> <% Session m_session = new Session(session); %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
- <title>会议室管理-- GForce OA 2.0</title>
- <link href="/css/txt.jsp" rel="stylesheet" type="text/css">
- <script language="JavaScript" src="/js/changestyle.js"></script>
- <script language="JavaScript" type="text/javascript">
- function checkAddBoardroom()
- {
- if(document.AddBoardroom.BoardroomName.value == "")
- {
- alert("请输入会议室名称!");
- document.AddBoardroom.BoardroomName.focus();
- return false;
- }
- if (document.AddBoardroom.PersonnelAmount.value != "")
- if(isNaN(parseInt(document.AddBoardroom.PersonnelAmount.value,10)))
- {
- alert("请输入正确的容纳人数!");
- document.AddBoardroom.PersonnelAmount.select();
- document.AddBoardroom.PersonnelAmount.focus();
- return false;
- }
- }
- </script>
- <style type="text/css">
- <!--
- .imgtd {
- border: 1px solid #0A0A0A;
- }
- -->
- </style>
- </head>
- <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
- <table width="100%" height="100%" border="0" align="center" cellspacing="0">
- <tr>
- <td align="center" valign="top">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="50" valign="top" background="../images/dy-back.gif">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr valign="middle">
- <td width="61" align="center" height="20"><img src="../images/dy-01.gif" width="38" height="36"></td>
- <td width="118" nowrap="nowrap" valign="middle"><strong><font color="#000000">会议新增</font></strong></td>
- <td align="right" nowrap="nowrap" valign="bottom">
- <!-- 群增<img src="../images/MulAdd.gif" onMouseOver="this.src='../images/MulAdd_a.gif';" onMouseOut="this.src='../images/MulAdd.gif';" border="0" height="22" width="59"> -->
- <!--<img src="../images/Single.gif" onMouseOver="this.src='../images/Single_a.gif';" onMouseOut="this.src='../images/Single.gif';" border="0" height="22" width="59"> -->
- <!-- 修改<img src="../images/Update.gif" onMouseOver="this.src='../images/Update_a.gif';" onMouseOut="this.src='../images/Update.gif';" border="0" height="22" width="59"> -->
- <!-- 删除<img src="../images/Del.gif" onMouseOver="this.src='../images/Del_a.gif';" onMouseOut="this.src='../images/Del.gif';" border="0" height="22" width="59"> -->
- <!-- 查看<img src="../images/Query.gif" onMouseOver="this.src='../images/Query_a.gif';" onMouseOut="this.src='../images/Query.gif';" border="0" height="22" width="59"> -->
- <!-- 组合查询<img src="../images/GroupQuery.gif" onMouseOver="this.src='../images/GroupQuery_a.gif';" onMouseOut="this.src='../images/GroupQuery.gif';" border="0" height="22" width="79"> -->
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table><br>
- <%
- Request m_request = new Request(request);
- int intUserID = m_session.GetInt("UserID");
- %>
- <form name="AddBoardroom" action="AddBoardroomAction.jsp" method="post" onSubmit="javascript:return checkAddBoardroom();">
- <table border="0" cellpadding="0" cellspacing="0" width="90%">
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议室编号:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="BoardroomNumber" type="text" maxlength="60" size="20">
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议室名称:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="BoardroomName" type="text" maxlength="60" size="20">
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议室地址:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="Address" type="text" maxlength="60" size="40">
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">容纳人数:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="PersonnelAmount" type="text" maxlength="5" size="5">
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">是否可用:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <select name="IsUseful">
- <option value="1" selected>可用</option>
- <option value="0">不可用</option>
- </select>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">状 态:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="State" type="text" maxlength="60" size="20">
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"> </td>
- <td colspan="3" align="left" valign="middle" nowrap> </td>
- </tr>
- <tr>
- <td align="right" valign="middle"> </td>
- <td colspan="3" align="left" valign="middle" nowrap> <input type="submit" value="确定">
- <input type="reset" value="重填">
- <input type="button" value="返回" onclick="window.location='BoardroomManage.jsp';">
- </td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </body>
- </html>