⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 boardroom_reservation_list_popup.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%
/**
 *  $ RCSfile: Boardroom_Day_List_Popup.jsp,v $
 *  $ Revision: 1.0 $
 *  $ Date: 2001/07/018 20:18:46 ,created by Shiyong Jian $
 *  $ /mainctrl/boardroom/reservationListPopup $
 *
 *  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="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/reservationListPopup';
            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>
                     
                    </td>
                  </tr>
                </table>
                <table width="600" border="0" cellpadding="2" cellspacing="1" class="title">
                  <tr bgcolor="#e0e0e0"> 
                    <td width="70"><font class="strong">&nbsp;会议室:</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">&nbsp;日期:</font> </td>
                    <td>从&nbsp; 
                      <input type="text" name="fromDate" class=text size="24"  readonly >&nbsp;
                      <img style="CURSOR: hand" 
                   onClick="fPopUpCalendarDlg( fromDate);return false" alt=弹出日历下拉菜单 
                  src="/vnex/intranet/calendar/datetime.gif" 
                  align=absMiddle width="16" height="16">&nbsp;&nbsp;到&nbsp; 
                      <input type="text" name="toDate" class=text size="24"  readonly >&nbsp;
                      <img style="CURSOR: hand" 
                  onClick="fPopUpCalendarDlg( toDate);return false" alt=弹出日历下拉菜单 
                  src="/vnex/intranet/calendar/datetime.gif" 
                  align=absMiddle width="15" height="15">&nbsp;
                  <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="19%" align="center"><font class="strong">会议室</font></td>
                    <td width="26%" 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="16%" align="center"><font class="strong">预定人</font></td>
                  </tr>
                   <conference:bookingList  qryBean="<%=queryBean%>">
                   <vnex:items paging="true"> 
                  <tr bgcolor="<vnex:itemsColor />"> 
                    <td width="19%" align="center"><img src="/vnex/MacOS/conference_room.gif" width="16" height="16"><conference:conferenceAttribute attribute='conference_boardroomName' /></td>
                    <td width="26%" 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="16%" align="center"> <conference:conferenceAttribute attribute='conference_creatorName' /></td>
                  </tr>
                  </vnex:items>
                   <tr>
                      <td colspan="6" align="left" bgcolor="#e0e0e0">
                  &nbsp;&nbsp;<vnex:pagingTag pageName="/mainctrl/boardroom/reservationListPopup?a" />
                  </td>
                  </tr>
                  </conference:bookingList>
                  <tr> 
                    <td colspan="5" align="center" height="30" bgcolor="#fafafa"> 
                    
                      <input type="button" name="returnButton" class=text value="关闭" onClick="window.close()">
                      
                    </td>
                  </tr>
                  
                </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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -