Boardroom_Reservation_List.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:8k
源码类别:
电子政务应用
开发平台:
Java
- <%
- /**
- * $ RCSfile: Boardroom_Day_List.jsp,v $
- * $ Revision: 1.0 $
- * $ Date: 2001/07/018 20:18:46 ,created by Shiyong Jian $
- * $ /mainctrl/boardroom/reservationList $
- *
- * This is the boardroom day list page.
- * @author Copyright (c) May. 2001, by VisionNex Technologies Inc., All Right Reversed.
- */
- %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.conference.value.ConferenceQueryBean" %>
- <%@ taglib uri="/vnex_conference.tld" prefix="conference" %>
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <jsp:useBean id="conValueBean" scope="page" class="com.vnex.intranet.conference.value.ConferenceValueBean" />
- <jsp:useBean id="conProxyBean" scope="application" class="com.vnex.intranet.conference.proxy.ConferenceProxyBean" />
- <%
- ConferenceQueryBean queryBean = (ConferenceQueryBean)request.getAttribute("queryBean");
- %>
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <script Language="JavaScript" src="/vnex/intranet/calendar/Popup.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <script language="JavaScript" src="/vnex/util/validate.js"></script>
- <script Language="JavaScript">
- function submitForm(act)
- {
- if( act == 'search')
- {
- if ( checkIt(document.forms[0] ) )
- {
- document.forms[0].action='/mainctrl/boardroom/reservationList';
- document.forms[0].submit();
- }
- }
- }
- function checkIt(form)
- {
- if( !isEmpty(form.fromDate.value) )
- {
- if(!isVNEXDate(form.fromDate.value))
- {
- alert("查询开始日期非法");
- return false;
- }
- }
- if( !isEmpty(form.toDate.value) )
- {
- if(!isVNEXDate(form.toDate.value))
- {
- alert("查询结束日期非法");
- return false;
- }
- }
- if( !isEmpty(form.toDate.value) && !isEmpty(form.fromDate.value) )
- {
- if(form.fromDate.value > form.toDate.value)
- {
- alert("查询结束日期必须在查询开始日期之后");
- return false;
- }
- }
- return true;
- }
- </script>
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <DIV align=center>
- <form name="form1" method="post" action="" >
- <input type="hidden" name="bookingFlag" value="true" >
- <input type="hidden" name="radioButton" value="1" >
- <TABLE class=outter cellSpacing=0 cellPadding=0 border=0 width="600">
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center"><Br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr bgcolor="#FAFAFA">
- <td>
- <table width="600" border="0" cellspacing="0" cellpadding="2" bgcolor="#666666">
- <tr>
- <td>
- <font class="strongw">
- <jsp:include page="Boardroom_Navibar_Head.jsp" />
- >>预定情况
- </font>
- </font>
- </td>
- </tr>
- </table>
- <table width="600" border="0" cellpadding="2" cellspacing="1" class="title">
- <tr bgcolor="#e0e0e0">
- <td width="70"><font class="strong"> 会议室:</font> </td>
- <td>
- <select style="WIDTH: 100px" name="boardroomId">
- <conference:boardroomUsableList >
- <option value="-1" >请选择</option>
- <conference:items >
- <option value=<conference:boardroomAttribute attribute='boardroom_id' /> >
- <conference:boardroomAttribute attribute='boardroom_name' />
- </option>
- </conference:items>
- </conference:boardroomUsableList>
- </select>
- </td>
- </tr>
- <tr bgcolor="fafafa" height="30">
- <td width="70"><font class="strong"> 日期:</font> </td>
- <td>从
- <input type="text" name="fromDate" class=text size="24" readonly >
- <img style="CURSOR: hand"
- onClick="fPopUpCalendarDlg( fromDate);return false" alt=弹出日历下拉菜单
- src="/vnex/intranet/calendar/datetime.gif"
- align=absMiddle width="16" height="16"> 到
- <input type="text" name="toDate" class=text size="24" readonly >
- <img style="CURSOR: hand"
- onClick="fPopUpCalendarDlg( toDate);return false" alt=弹出日历下拉菜单
- src="/vnex/intranet/calendar/datetime.gif"
- align=absMiddle width="15" height="15">
- <input type="button" name="B222" class=text value="查询" onClick=" submitForm('search') ">
- </td>
- </tr>
- </table>
- <table border="0" width="600" cellspacing="1" cellpadding="2" class=title>
- <tr>
- <td width="21%" align="center"><font class="strong">会议室</font></td>
- <td width="27%" align="center"><font class="strong">用途</font></td>
- <td width="20%" align="center"><font class="strong">开始时间</font></td>
- <td width="19%" align="center"><font class="strong">结束时间</font></td>
- <td width="13%" align="center"><font class="strong">预定人</font></td>
- </tr>
- <conference:bookingList qryBean="<%=queryBean%>">
- <vnex:items paging="true">
- <tr bgcolor="<vnex:itemsColor />">
- <td width="21%" align="center"><img src="/vnex/MacOS/conference_room.gif" width="16" height="16"><conference:conferenceAttribute attribute='conference_boardroomName' /></td>
- <td width="27%" align="center">会议:<conference:conferenceAttribute attribute='conference_subject' /></a>
- </td>
- <td width="20%" align="center"><conference:conferenceAttribute attribute='conference_beginDate' /></td>
- <td width="19%" align="center"><conference:conferenceAttribute attribute='conference_endDate' /></td>
- <td width="13%" align="center"> <conference:conferenceAttribute attribute='conference_creatorName' /></td>
- </tr>
- </vnex:items>
- <tr>
- <td colspan="6" align="left" bgcolor="#e0e0e0">
- <vnex:pagingTag pageName="/mainctrl/boardroom/reservationList?a&&bookingFlag=true" />
- </td>
- </tr>
- </conference:bookingList>
- </table>
- </td>
- </tr>
- </table>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>