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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.archives.value.ConditionBean" %>
  3. <%
  4.     String readOnly = "";
  5.     ConditionBean bean = new ConditionBean();
  6.     if(request.getParameter("search") != null)
  7.     {
  8.        bean = (ConditionBean)session.getAttribute("conditionBean");
  9.        readOnly = "readonly";
  10.     }
  11.     else
  12.        session.removeAttribute("conditionBean");
  13. %>       
  14. <script Language="JavaScript" src="/vnex/util/Popup.js"></script>
  15. <script language="JavaScript">
  16. function generateIt(form)
  17. {
  18.    form.action="/mainctrl/archive/generateBorrowCondition";
  19.    form.submit();
  20. }
  21. </script>
  22. <HTML>
  23. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  24. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  25. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_archives.js"></script>
  26. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  27. <DIV align=center>
  28. <form name="form1" method="post">
  29.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  30.     <TBODY> 
  31.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  32.     <TR> 
  33.         <TD colSpan=3 align="center"><br>
  34.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  35.             <tr> 
  36.               <td align="center" colspan="2" bgcolor="#FFFFFF"> 
  37.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  38.                   <tr bgcolor="#666666"> 
  39.                       <td><font class="strongw"><a href="/mainctrl/home/index"><font color="#ffffff">主页</font></a>&gt;&gt;<a href="/mainctrl/archives/main"><font color="#ffffff">档案管理</font></a>&gt;&gt;<a href="/mainctrl/archive/borrowArchiveList"><font color="#ffffff">借阅记录</font></a>&gt;&gt;查询借阅</font>
  40.                       </td>
  41.                   </tr>
  42.                 </table>
  43.                 <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
  44.                         <tr bgcolor="#e0e0e0"> 
  45.                           <td width="14%"> 
  46.                             <div align="left"><strong>&nbsp;借阅日期:</strong></div>
  47.                           </td>
  48.                           <td width="86%"> 
  49.                             <div align="left"> 
  50.                               <input type="text" name="borrowDate" readonly size="30" class="text" value="<%=bean.getBorrowDate()%>">
  51.                               <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择借阅档案日期" onClick="fPopUpCalendarDlg(borrowDate);return false">                              
  52.                             </div>
  53.                           </td>
  54.                         </tr>
  55.                         <tr bgcolor="#fafafa"> 
  56.                           <td width="14%"> 
  57.                             <div align="left"><strong>&nbsp;档案编号:</strong></div>
  58.                           </td>
  59.                           <td width="86%"> 
  60.                             <div align="left"> 
  61.                               <input type="text" name="displayId" size="30" class="text" <%=readOnly%> value="<%=bean.getDisplayId()%>">
  62.                             </div>
  63.                           </td>
  64.                         </tr>
  65.                         <tr bgcolor="#e0e0e0"> 
  66.                           <td width="14%"> 
  67.                             <div align="left"><strong>&nbsp档案标题:</strong></div>
  68.                           </td>
  69.                           <td width="86%"> 
  70.                             <div align="left"> 
  71.                               <input type="text" name="archiveTitle" size="30" class="text" <%=readOnly%> value="<%=bean.getArchiveTitle()%>">
  72.                             </div>
  73.                           </td>
  74.                         </tr>
  75.                         <tr bgcolor="#fafafa"> 
  76.                           <td width="14%"> 
  77.                             <div align="left"><strong>&nbsp;借阅人:</strong></div>
  78.                           </td>
  79.                           <td width="86%"> 
  80.                             <div align="left"> 
  81.                               <input type="text" name="borrower" size="30" class="text" <%=readOnly%> value="<%=bean.getBorrower()%>">
  82.                             </div>
  83.                           </td>
  84.                         </tr>
  85.                         <tr bgcolor="#e0e0e0"> 
  86.                           <td width="14%"> 
  87.                             <div align="left"><strong>&nbsp;归还期限:</strong></div>
  88.                           </td>
  89.                           <td width="86%"> 
  90.                             <div align="left"> 
  91.                               <input type="text" name="returnDate" readonly size="30" class="text" value="<%=bean.getReturnDate()%>">
  92.                               <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择归还档案日期" onClick="fPopUpCalendarDlg(returnDate);return false">                              
  93.                             </div>
  94.                           </td>
  95.                         </tr>
  96. <%
  97.          if(request.getParameter("search") == null)
  98.          {
  99. %>                                 
  100.                         <tr bgcolor="#fafafa">
  101.                           <td colspan="2" align="center" height="30">
  102.             <input onClick="generateIt(this.form)" type="button" value="查询" name="B21" class="text">
  103.             &nbsp;&nbsp;
  104.             <input type="reset" value="重置" class="text" name="B22">
  105.           </td>
  106.         </tr>  
  107. <%       }
  108.          else
  109.          {
  110. %>
  111.                         <tr bgcolor="#fafafa">
  112.                           <td colspan="2" align="center" height="30">
  113.                             <input type="button" value="返回" name="b223" class="text" onclick="history.back()">
  114.                           </td>
  115.                         </tr>
  116. <%       }%>                                          
  117.                       </table>
  118.                     </td>
  119.                   </tr>
  120.                 </table>
  121.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  122.        </TD>
  123.      </TR>
  124.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  125.     </TBODY> 
  126.   </TABLE>
  127.     <BR>
  128.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  129. </form>
  130. </DIV>
  131. </BODY>
  132. </HTML>