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

电子政务应用

开发平台:

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 equipment = request.getParameter("equipmentId");
  7. //String code = request.getParameter("equipmentCode");
  8. String pageName = "/mainctrl/equipmentRepairList?equipmentId=" + equipment;
  9. %>
  10. <script language=JavaScript>
  11. function toAdd()
  12. {
  13. myForm.action="equipmentRepairAdd?equipmentId=<%=equipment%>";
  14. myForm.submit();
  15. }
  16. </script>
  17. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  18. <HTML>
  19. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  20. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  21. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
  22. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  23. <DIV align=center>
  24. <form name="myForm" method="post" action="">
  25.    
  26.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  27.     <TBODY> 
  28.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  29.     <TR> 
  30.         <TD colSpan=3 align="center"><br>
  31.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  32.             <tr bgcolor="#FAFAFA"> 
  33.               <td> 
  34.                 <table class=title cellspacing=1 cellpadding=2 width="600" border=0>
  35.                   <tr bgcolor="#666666">
  36.                     <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>
  37.                     </td>
  38.                   </tr>
  39.                   <tr bgcolor="#FFFFFF"> 
  40.                     <td colspan="6" height="30">&nbsp; 
  41.             <input type="button" name="Button3222" value="新建维修记录" class="file" style="width: 80" onclick=toAdd()>&nbsp;&nbsp;
  42.             <input type="button" name="Button322" value="返回" class="file" onclick="location='/mainctrl/equipmentDetail?equipmentId=<%=equipment%>'">
  43.             
  44.                     </td>
  45.                   </tr>
  46.             <tr align="center"> 
  47.               <td width="14%" height="17"><font  class="strong">送修时间</font></td>              
  48.               <td width="13%" height="17"><font  class="strong">当时使用者</font></td>
  49.               <td width="11%" height="16"><font  class="strong">维修者</font></td>
  50.               <td width="16%" height="16"><font  class="strong">维修原因</font></td>
  51.               <td width="12%" height="16"><font  class="strong">维修费用</font></td>
  52.               <td width="19%" height="16"><font  class="strong">维修结果</font></td>
  53.             </tr>
  54. <eqt:EquipmentRepairRecordList equipmentId = "<%= equipment%>" > 
  55. <vnex:pagingItems>
  56.          <tr align=middle bgColor="<vnex:itemsColor/>"> 
  57.               <td width="17%" height="13"> <eqt:EquipmentRepairRecordAttribute attribute = "time"/> <br></td>
  58.               <td width="17%" height="13"><eqt:EquipmentRepairRecordAttribute attribute = "use_person_name"/> <eqt:EquipmentRepairRecordAttribute attribute = "use_dept_name"/> </td>
  59.               <td width="16%" height="13"><eqt:EquipmentRepairRecordAttribute attribute = "repairer"/></td>
  60.               <td width="16%" height="13"><eqt:EquipmentRepairRecordAttribute attribute = "repair_reason"/><br></td>
  61.               <td width="16%" height="13"><eqt:EquipmentRepairRecordAttribute attribute = "expense"/></td>
  62.               <td width="16%" height="13"><eqt:EquipmentRepairRecordAttribute attribute = "result"/></td>              
  63.             </tr>      
  64. </vnex:pagingItems>
  65.     <tr>
  66.          <td colspan="4" align="center" height="19">
  67.             <table border=0 width="100%">
  68.               &nbsp;<vnex:pagingTag pageName="<%=pageName%>" />
  69.             </table>
  70.          </td>
  71.      </tr>
  72. </eqt:EquipmentRepairRecordList> 
  73.           </table>
  74.           </td>
  75.           </tr>
  76.           </table>
  77.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  78.        </TD>
  79.      </TR>
  80.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  81.     </TBODY> 
  82.   </TABLE>
  83.     <BR>
  84.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  85. </form>
  86. </DIV>
  87. </BODY>
  88. </HTML>