ShowBoardroom.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:4k
源码类别:
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); %>
- <%
- Request m_request = new Request(request);
- int intBoardroomID = m_request.GetInt("ID");
- if(intBoardroomID < 1)
- {
- %>
- <script language="JavaScript" type="text/JavaScript">
- alert("请选择正确的会议室,修改失败!");
- history.back();
- </script>
- <%
- }
- else
- {
- Vector vt = BoardroomManager.getRecordByID(intBoardroomID);
- if(vt.size()==1)
- {
- %>
- <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="/Calendar/PopUpCalendarDlg.js"></SCRIPT>
- <script language="JavaScript" src="/js/changestyle.js"></script>
- <script language="JavaScript" type="text/javascript">
- </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"><p> </p>
- <form name="EditBoardroom" action="EditBoardroomAction.jsp" method="post">
- <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>
- <%=((Vector)vt.get(0)).get(2).toString()%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议室名称:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%=((Vector)vt.get(0)).get(1).toString()%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议室地址:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%=((Vector)vt.get(0)).get(3).toString()%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">容纳人数:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%=((Vector)vt.get(0)).get(4).toString()%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">是否可用:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap >
- <%
- if (((Vector)vt.get(0)).get(5).toString().equalsIgnoreCase("true"))
- out.println("可用");else
- out.println("不可用");
- %>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">状 态:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%=((Vector)vt.get(0)).get(6).toString()%>
- </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="button" value="关闭" onclick="window.close();">
- </td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </body>
- </html>
- <%
- }
- else
- {
- %>
- <script language="JavaScript" type="text/JavaScript">
- alert("该记录已经被删除或者您没有权限修改此记录,修改失败!");
- history.back();
- </script>
- <%
- }
- }
- %>