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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.util.*" %>
  3. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  4. <jsp:useBean id="driverProxy" scope="application" class="com.vnex.intranet.vehicle.driver.proxy.DriverProxyBean" />
  5. <jsp:useBean id="wvb" class="com.vnex.intranet.vehicle.driver.value.WorkRecordValueBean" scope="page" /> 
  6. <%      
  7.     String timeS = request.getParameter("timeS");    
  8.     String id = request.getParameter("id");
  9.     int wrId = Integer.parseInt( id );      
  10.     wvb = driverProxy.getWorkRecordInfo( wrId );                                
  11. %>
  12. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  13. <HTML>
  14. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  15. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  16. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
  17. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  18. <script language="JavaScript">
  19. function listWorkRecord(form)
  20. {
  21.    form.action="/mainctrl/driver/listWorkRecord";
  22.    form.submit();
  23. }
  24. function modifyWorkRecord(form)
  25. {
  26.    form.action="/mainctrl/driver/modifyWorkRecord";
  27.    form.submit();
  28. }
  29. function deleteWorkRecord(form)
  30. {
  31.     if(confirm("是否要删除当前出勤记录?"))
  32.     {
  33.         form.action="/mainctrl/driver/deleteWorkRecord";
  34.         form.submit();
  35.     }
  36. }
  37. </script>
  38. <DIV align=center>
  39. <form name="myform" method="post" action="">
  40. <input type="hidden" name="timeS" value="<%= timeS %>">  
  41. <input type="hidden" name="id" value="<%= id %>"> 
  42.    
  43.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  44.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  45.     <TR> 
  46.         <TD colSpan=3 align="center"><br>  
  47.           <!--个人信息开始 -->
  48.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  49.             <tr bgcolor="#fafafa"> 
  50.               <td> 
  51.                 <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
  52.                   <tr> 
  53.                     <td colspan="2" height="15" bgcolor="#666666"><font class="strongw">&nbsp;<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/driver/listWorkRecord"><font color="#FFFFFF">车辆出勤登记</font></a>&gt;&gt;车辆出勤详细信息                                        
  54.                       </font></td>
  55.                   </tr>
  56.                   <tr bgcolor="#fafafa"> 
  57.                     <td width="100"> <font  class="strong">&nbsp;日期</font>: </td>
  58.                     <td align="left" width="487"> <%= wvb.getDateS() %> </td>
  59.                   </tr>
  60.                   <tr bgcolor="#e0e0e0"> 
  61.                     <td width="100"> <font  class="strong">&nbsp;司机</font>: </td>
  62.                     <td width="487"> <%= FieldUtil.filterScriptTag(wvb.getEmpName()) %></td>
  63.                   </tr>
  64.                   <tr bgcolor="#fafafa"> 
  65.                     <td width="100"><font  class="strong">&nbsp;车辆:</font></td>
  66.                     <td width="487"> <%= FieldUtil.filterScriptTag(wvb.getAutomobileSerialNo()) %> </td>
  67.                   </tr>
  68.                   <tr bgcolor="#e0e0e0"> 
  69.                     <td width="100"> <font  class="strong">&nbsp;乘车人</font>: </td>
  70.                     <td width="487"> <%= FieldUtil.filterScriptTag(wvb.getBoater()) %></td>
  71.                   </tr>
  72.                   <tr bgcolor="#fafafa"> 
  73.                     <td width="100"> <font  class="strong">&nbsp;用车事由</font>: 
  74.                     </td>
  75.                     <td align="left" width="487"> <%= FieldUtil.filterScriptTag(wvb.getReason()) %> </td>
  76.                   </tr>
  77.                   <tr bgcolor="#e0e0e0"> 
  78.                     <td width="100"><font  class="strong">&nbsp;行驶地点:</font></td>
  79.                     <td align="left" width="487"> <%= FieldUtil.filterScriptTag(wvb.getSite()) %> </td>
  80.                   </tr>
  81.                   <tr bgcolor="#fafafa"> 
  82.                     <td width="100"> <font  class="strong">&nbsp;出发时间</font>: 
  83.                     </td>
  84.                     <td align="left" width="487"> <%= wvb.getBeginTimeS() %></td>
  85.                   </tr>
  86.                   <tr bgcolor="#e0e0e0"> 
  87.                     <td width="100"><font  class="strong">&nbsp;收车时间:</font></td>
  88.                     <td align="left" width="487"> <%= wvb.getEndTimeS() %> </td>
  89.                   </tr>
  90.                   <tr bgcolor="#fafafa"> 
  91.                     <td width="100"> <font  class="strong">&nbsp;派车人</font>: </td>
  92.                     <td align="left" width="487"><%= FieldUtil.filterScriptTag(wvb.getSender()) %> </td>
  93.                   </tr>
  94.                   <tr bgcolor="#e0e0e0"> 
  95.                     <td width="100"> <font  class="strong">&nbsp;备注:</font></td>
  96.                     <td width="487"><%= FieldUtil.filterScriptTag(wvb.getNote()) %> </td>
  97.                   </tr>
  98.                   <tr bgcolor="#fafafa" align="center"> 
  99.                     <td colspan="2" height="30"> 
  100.                       <input type="button" name="Submit25" value="修改" class="file" onClick="modifyWorkRecord(this.form)">&nbsp;&nbsp;
  101.                       <input type="button" name="Submit2" value="删除" class="file" onClick="deleteWorkRecord(this.form)">&nbsp;&nbsp; 
  102.                       <input type="button" name="Button" value="返回" class="file"  onClick="listWorkRecord(this.form)">
  103.                      </td>
  104.                   </tr>
  105.                 </table>
  106.               </td>
  107.             </tr>
  108.           </table>          
  109.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  110.         </TD>
  111.     </TR>
  112.     <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  113.      </TABLE>
  114.   <BR>
  115.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  116. </form></DIV>
  117. </BODY></HTML>