Boardroom_Management.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:

电子政务应用

开发平台:

Java

  1. <%
  2. /**
  3.  *  $ RCSfile: Boardroom_Management.jsp,v $
  4.  *  $ Revision: 1.0 $
  5.  *  $ Date: 2001/07/018 20:18:46 ,created by Shiyong Jian $
  6.  *  $ /mainctrl/boardroom/managementList $
  7.  *
  8.  *  This is the boardroom manamement start page.
  9.  *  @author Copyright (c) May. 2001, by VisionNex  Technologies Inc., All Right Reversed.
  10.  */
  11. %>
  12. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  13. <%@ page import="com.vnex.intranet.conference.util.ConferenceConstant" %>
  14. <%@ taglib uri="/vnex_conference.tld" prefix="conference" %>
  15. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  16. <jsp:useBean id="proxyValueBean" scope="page" class="com.vnex.intranet.conference.proxy.BoardroomProxyBean" />
  17. <HTML>
  18. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  19. <script Language="JavaScript">
  20. function submitForm(act)
  21. {
  22.     if ( act == 'add' )
  23.     {
  24.          document.forms[0].action='/mainctrl/boardroom/createPage';
  25.          document.forms[0].submit();
  26.     }
  27.     if ( act == 'view' ) 
  28.     {
  29.        document.forms[0].action='/mainctrl/boardroom/reservationList';
  30.        document.forms[0].submit();
  31.       // window.open("/mainctrl/boardroom/reservationList","subWin","height=600,width=800,resizable=no,status=no,scrollbars=no,toolbar=no,menubar=no,location=no");
  32.    }
  33.      
  34. }      
  35. </script>     
  36. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
  37. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  38. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  39. <DIV align=center>
  40.   <form name="form1" method="post"  >
  41.   <input type="hidden" name="bookingFlag" value="true" >
  42.     <TABLE class=outter cellSpacing=0 cellPadding=0 border=0 width="600">
  43.        <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  44.     <TR> 
  45.         <TD colSpan=3 align="center"><br>
  46.            <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  47.             <tr bgcolor="#FAFAFA"> 
  48.               <td> 
  49.                 <table width="600" border="0" cellspacing="0" cellpadding="2" bgcolor="#666666">
  50.                   <tr>
  51.                     <td><font class="strongw">
  52.                    <jsp:include page="Boardroom_Navibar_Head.jsp" />&gt;&gt;会议室列表
  53.                    </font>
  54.                    </td>
  55.                   </tr>
  56.                 </table>
  57.                 <table border="0" width="600" cellspacing="1" cellpadding="2" class=title>
  58.                   <tr bgcolor="#fafafa"> 
  59.                     <td colspan="5" height="30">
  60.                       &nbsp;<input type="button" name="addButton" onClick="submitForm('add')" value="新增"  class=text>&nbsp; 
  61.                       <input type="button" name="viewButton" style="width:85px" onClick=" submitForm('view')" value="查看预定情况" class=text target="_blank">
  62.                     </td>
  63.                   </tr>
  64.                   <tr> 
  65.                
  66.                     <td width="18%" align="center"><font class="strong">编号</font></td>
  67.                     <td width="30%" align="center"><font class="strong">名称</font></td>
  68.                     <td width="23%" align="center"><font class="strong">状态</font></td>
  69.                     <td width="22%" align="center"><font class="strong">座位数</font></td>
  70.                   </tr>
  71.                   <conference:boardroomList >
  72.                    
  73.                   <vnex:items paging="true"> 
  74.                   <tr  bgcolor="<vnex:itemsColor />"> 
  75.                   
  76.                                         
  77.                    
  78.                     <td width="18%" align="center" >
  79.                     <input type="hidden" name="statusId" value="<conference:boardroomAttribute attribute='boardroom_statusId' />" >
  80.                     <a href="/mainctrl/boardroom/browseDetails?boardroomId=<conference:boardroomAttribute attribute='boardroom_id' />"><conference:boardroomAttribute attribute='boardroom_code' />
  81.                     </a>
  82.                     </td>
  83.                     <td width="30%" align="center">
  84.                     <conference:boardroomAttribute attribute='boardroom_name' /> 
  85.                     
  86.                     </td>
  87.                     <td width="23%" align="center"> <conference:boardroomAttribute attribute='boardroom_statusName' />
  88.                     <% 
  89.                        if ( (String)pageContext.getAttribute("statusId") != null
  90.                        && Integer.parseInt( (String)pageContext.getAttribute("statusId") ) == ConferenceConstant.EMPTY_BOARDROOM 
  91.                        && (String)pageContext.getAttribute("countNum") != null 
  92.                        && Integer.parseInt( (String)pageContext.getAttribute("countNum") ) > 0 )
  93.                        {  
  94.                     %>
  95.                     <conference:boardroomAttribute attribute='boardroom_booked_count' />
  96.                     <%
  97.                     }
  98.                     %>
  99.                     </td>
  100.                     <td width="22%" align="center"><conference:boardroomAttribute attribute='boardroom_seatAmount' /></td>
  101.                   </tr>
  102.                   </vnex:items>
  103.                   <tr>
  104.                       <td colspan="6" align="left" bgcolor="#e0e0e0">
  105.                   &nbsp;&nbsp;<vnex:pagingTag pageName="/mainctrl/boardroom/managementList?a" />
  106.                   </td>
  107.                   </tr>
  108.                   </conference:boardroomList>
  109.                 </table>
  110.                </td>
  111.             </tr>
  112.           </table>
  113.              <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  114.       </TD>
  115.     </TR>
  116.       <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  117.   </TABLE>
  118.   <BR>
  119.    <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  120.  </form>
  121. </DIV>
  122. </BODY>
  123. </HTML>