accident_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="avb" class="com.vnex.intranet.vehicle.driver.value.AccidentValueBean" scope="page" />
- <%
- String id = request.getParameter("id");
- int accidentId = Integer.parseInt( id );
- avb = driverProxy.getAccidentInfo( accidentId );
- %>
- <!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 recover( obj )
- {
- if ( obj.checked ) obj.checked = false;
- else obj.checked = true;
- }
- function listAccident(form)
- {
- form.action="/mainctrl/driver/listAccident";
- form.submit();
- }
- function modifyAccident(form)
- {
- form.action="/mainctrl/driver/modifyAccident";
- form.submit();
- }
- function deleteAccident(form)
- {
- if(confirm("是否要删除当前事故记录?"))
- {
- form.action="/mainctrl/driver/deleteAccident";
- form.submit();
- }
- }
- </script>
- <DIV align=center>
- <form name="myform" method="post" action="">
- <input type="hidden" name="empId" value="<%=request.getParameter("empId")%>">
- <input type="hidden" name="empName" value="<%= request.getParameter("empName") %>">
- <input type="hidden" name="automobileId" value="<%= request.getParameter("automobileId") %>">
- <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/listDriver"><font color="#FFFFFF">司机管理</font></a>>><a href="/mainctrl/driver/detailDriver?empId=<%= request.getParameter("empId") %>"><font color="#FFFFFF">司机详细信息</font></a>>>事故详细信息
- </font></td>
- </tr>
- <tr>
- <td width="100" bgcolor="#e0e0e0"> <font class="strong" > 姓名:</font>
- </td>
- <td width="487" bgcolor="#e0e0e0"> <%= FieldUtil.filterScriptTag(request.getParameter("empName")) %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"> <font class="strong" > 事故时间:</font>
- </td>
- <td width="487"> <%= avb.getTimeS() %> </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"> <font class="strong"> 事故地点:
- </font> </td>
- <td width="487"><%= FieldUtil.filterScriptTag(avb.getSite()) %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"> <font class="strong"> 使用车辆:
- </font> </td>
- <td width="487"><%= FieldUtil.filterScriptTag(avb.getAutomobileSerialNo()) %></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"> <font class="strong"> 严重程度:
- </font> </td>
- <td width="487"><%= FieldUtil.filterScriptTag(avb.getSeverityLevel()) %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"> <font class="strong"> 事故原因</font>:
- </td>
- <td width="487"><%= FieldUtil.filterScriptTag(avb.getReason()) %> </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"><font class="strong" > 是主要责任人:</font></td>
- <td width="487"> <%= FieldUtil.filterScriptTag(avb.getIsResponsibleS()) %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"> <font class="strong"> 处理结果</font>:
- </td>
- <td width="487"> <%= FieldUtil.filterScriptTag(avb.getProcessResult()) %></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"><font class="strong"> 其他说明:</font></td>
- <td width="487"><%= FieldUtil.filterScriptTag(avb.getNote()) %></td>
- </tr>
- <tr align="center" bgcolor="#fafafa">
- <td colspan="2" height="30">
- <input type="button" name="Submit25" value="修改" class="file" onClick="modifyAccident(this.form)">
- <input type="button" name="Submit2" value="删除" class="file" onClick="deleteAccident(this.form)">
- <input type="button" name="Submit25" value="返回" class="file" onClick="listAccident(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>