work_record_detail.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.util.*" %>
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <jsp:useBean id="driverProxy" scope="application" class="com.vnex.intranet.vehicle.driver.proxy.DriverProxyBean" />
- <jsp:useBean id="wvb" class="com.vnex.intranet.vehicle.driver.value.WorkRecordValueBean" scope="page" />
- <%
- String timeS = request.getParameter("timeS");
- String id = request.getParameter("id");
- int wrId = Integer.parseInt( id );
- wvb = driverProxy.getWorkRecordInfo( wrId );
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <script language="JavaScript">
- function listWorkRecord(form)
- {
- form.action="/mainctrl/driver/listWorkRecord";
- form.submit();
- }
- function modifyWorkRecord(form)
- {
- form.action="/mainctrl/driver/modifyWorkRecord";
- form.submit();
- }
- function deleteWorkRecord(form)
- {
- if(confirm("是否要删除当前出勤记录?"))
- {
- form.action="/mainctrl/driver/deleteWorkRecord";
- form.submit();
- }
- }
- </script>
- <DIV align=center>
- <form name="myform" method="post" action="">
- <input type="hidden" name="timeS" value="<%= timeS %>">
- <input type="hidden" name="id" value="<%= id %>">
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center"><br>
- <!--个人信息开始 -->
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr bgcolor="#fafafa">
- <td>
- <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
- <tr>
- <td colspan="2" height="15" bgcolor="#666666"><font class="strongw"> <a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>>><a href="/mainctrl/office/main"><font color="#FFFFFF">办公室管理</font></a>>><a href="/mainctrl/driver/listWorkRecord"><font color="#FFFFFF">车辆出勤登记</font></a>>>车辆出勤详细信息
- </font></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"> <font class="strong"> 日期</font>: </td>
- <td align="left" width="487"> <%= wvb.getDateS() %> </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"> <font class="strong"> 司机</font>: </td>
- <td width="487"> <%= FieldUtil.filterScriptTag(wvb.getEmpName()) %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"><font class="strong"> 车辆:</font></td>
- <td width="487"> <%= FieldUtil.filterScriptTag(wvb.getAutomobileSerialNo()) %> </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"> <font class="strong"> 乘车人</font>: </td>
- <td width="487"> <%= FieldUtil.filterScriptTag(wvb.getBoater()) %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"> <font class="strong"> 用车事由</font>:
- </td>
- <td align="left" width="487"> <%= FieldUtil.filterScriptTag(wvb.getReason()) %> </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"><font class="strong"> 行驶地点:</font></td>
- <td align="left" width="487"> <%= FieldUtil.filterScriptTag(wvb.getSite()) %> </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"> <font class="strong"> 出发时间</font>:
- </td>
- <td align="left" width="487"> <%= wvb.getBeginTimeS() %></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"><font class="strong"> 收车时间:</font></td>
- <td align="left" width="487"> <%= wvb.getEndTimeS() %> </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"> <font class="strong"> 派车人</font>: </td>
- <td align="left" width="487"><%= FieldUtil.filterScriptTag(wvb.getSender()) %> </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"> <font class="strong"> 备注:</font></td>
- <td width="487"><%= FieldUtil.filterScriptTag(wvb.getNote()) %> </td>
- </tr>
- <tr bgcolor="#fafafa" align="center">
- <td colspan="2" height="30">
- <input type="button" name="Submit25" value="修改" class="file" onClick="modifyWorkRecord(this.form)">
- <input type="button" name="Submit2" value="删除" class="file" onClick="deleteWorkRecord(this.form)">
- <input type="button" name="Button" value="返回" class="file" onClick="listWorkRecord(this.form)">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form></DIV>
- </BODY></HTML>