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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  3. <%@ taglib uri="/vnex_equipment.tld" prefix="eqt" %>
  4. <%
  5. int equipment = Integer.parseInt(request.getParameter("equipmentId"));
  6. String pageName = "/mainctrl/equipmentUseList?equipmentId=" + equipment;
  7. %>
  8. <script language="javaScript">
  9. function toUseAdd(form)
  10. {
  11. form.action="/mainctrl/equipmentUseAdd?equipmentId=<%=equipment%>";
  12. form.submit();
  13. }
  14. </script>
  15. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  16. <HTML><jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  17. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  18. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
  19. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  20. <DIV align=center>
  21. <form name="myForm" method="post" action="">
  22.    
  23.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  24.     <TBODY> 
  25.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  26.     <TR> 
  27.         <TD colSpan=3 align="center"><br>
  28.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  29.             <tr bgcolor="#FAFAFA"> 
  30.               <td> 
  31.                 <table class=title cellspacing=1 cellpadding=2 width="600" border=0>
  32.                   <tr bgcolor="#666666">
  33.                     <td colspan="6" height="15" bgcolor="#666666"><font class="strongw"><a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;<a href="/mainctrl/office/main"><font color="#FFFFFF">办公室管理</font></a>&gt;&gt;<a href="/mainctrl/equipmentSearchResult"><font color="#FFFFFF">固定资产管理</font></a>&gt;&gt;<a href="/mainctrl/equipmentDetail?equipmentId=<%= equipment%>"><font color="#FFFFFF">固定资产详细信息</font></a>&gt;&gt;固定资产使用记录</font>
  34.                     </td>
  35.                   </tr>
  36.                   <tr bgcolor="#FFFFFF"> 
  37.                     <td colspan="6" height="30">&nbsp; 
  38.             <input type="button" name="Button3222" value="新建使用记录" class="file" style="width: 80" onclick=toUseAdd(myForm)>&nbsp;&nbsp;
  39.             <input type="button" name="Button322" value="返回" class="file" onclick="location='/mainctrl/equipmentDetail?equipmentId=<%=equipment%>'">
  40.             
  41.                     </td>
  42.                   </tr>
  43.             <tr align=middle> 
  44.               <td width="33%"><font  class="strong">起用时间<br>
  45.                 </font></td>
  46.               <td width="23%"><font  class="strong">停用时间</font></td>
  47.               <td width="18%"><font  class="strong">使用部门</font></td>
  48.               <td width="26%"><font  class="strong">使用者</font></td>
  49.             </tr>
  50. <eqt:EquipmentUseRecordList equipmentId = "<%= equipment%>" >
  51. <vnex:pagingItems>
  52.             <tr align=middle bgColor="<vnex:itemsColor/>"> 
  53.               <td width="33%" ><eqt:EquipmentUseRecordAttribute attribute = "start_time"/><br>
  54.               </td>
  55.               <td width="23%" ><eqt:EquipmentUseRecordAttribute attribute = "end_time"/><br>
  56.               </td>
  57.               <td width="18%" ><eqt:EquipmentUseRecordAttribute attribute = "use_dept_name"/><br>
  58.               </td>
  59.               <td width="26%" ><eqt:EquipmentUseRecordAttribute attribute = "use_person_name"/></td>
  60.             </tr>              
  61. </vnex:pagingItems>
  62.     <tr>
  63.          <td colspan="4" align="center" height="19" bgcolor="#fafafa">
  64.             <table border=0 width="100%">
  65.               &nbsp;<vnex:pagingTag pageName="<%=pageName%>" />
  66.             </table>
  67.          </td>
  68.      </tr> 
  69. </eqt:EquipmentUseRecordList>             
  70.          
  71.          </table>
  72.          </td>
  73.          </tr>
  74.          </table>   
  75.           
  76.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  77.        </TD>
  78.      </TR>
  79.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  80.     </TBODY> 
  81.   </TABLE>
  82.     <BR>
  83.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  84. </form>
  85. </DIV>
  86. </BODY>
  87. </HTML>