PublicResShareManage.jsp
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:5k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
  3. <jsp:include page="/CheckLogin.jsp" flush="true"/> <% Session m_session = new Session(session); %>
  4. <%
  5. Request m_request = new Request(request);
  6. int iSysDirID = m_request.GetInt("SysDirID");
  7. Vector vt = PublicResShareManager.getRecord();
  8. %>
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
  12. <title>资产管理-- GForce OA 2.0</title>
  13. <link href="../css/txt.jsp" rel="stylesheet" type="text/css">
  14. <script language="JavaScript" src="/js/changestyle.js"></script>
  15. </head>
  16. <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
  17.    <table width="100%" height="100%" border="0" align="center" cellspacing="0">
  18.     <tr>
  19.     <td align="center" valign="top">
  20.       <table width="100%" border="0" cellpadding="0" cellspacing="0">
  21.         <tr>
  22.           <td height="50" valign="top" background="../images/dy-back.gif">
  23.             <table width="100%" border="0" cellpadding="0" cellspacing="0">
  24.               <tr valign="middle">
  25.                 <td width="61" align="center" height="20"><img src="../images/dy-01.gif" width="38" height="36"></td>
  26.                 <td width="118" nowrap="nowrap" valign="middle"><strong><font color="#000000">车辆使用状况</font></strong></td>
  27.                 <td align="right" nowrap="nowrap" valign="bottom">&nbsp;
  28.                    <!-- 群增<img src="../images/MulAdd.gif" onMouseOver="this.src='../images/MulAdd_a.gif';" onMouseOut="this.src='../images/MulAdd.gif';" border="0" height="22" width="59">&nbsp;-->
  29.                   <!--单增<img src="../images/Single.gif" onMouseOver="this.src='../images/Single_a.gif';" onMouseOut="this.src='../images/Single.gif';" border="0" height="22" width="59">&nbsp;-->
  30.                   <!-- 修改<img src="../images/Update.gif" onMouseOver="this.src='../images/Update_a.gif';" onMouseOut="this.src='../images/Update.gif';" border="0" height="22" width="59">&nbsp;-->
  31.                   <!-- 删除<img src="../images/Del.gif" onMouseOver="this.src='../images/Del_a.gif';" onMouseOut="this.src='../images/Del.gif';" border="0" height="22" width="59">&nbsp;-->
  32.                   <!-- 查看<img src="../images/Query.gif" onMouseOver="this.src='../images/Query_a.gif';" onMouseOut="this.src='../images/Query.gif';" border="0" height="22" width="59">&nbsp;-->
  33.                   <!-- 组合查询<img src="../images/GroupQuery.gif" onMouseOver="this.src='../images/GroupQuery_a.gif';" onMouseOut="this.src='../images/GroupQuery.gif';" border="0" height="22" width="79">&nbsp;-->
  34.                 </td>
  35.               </tr>
  36.             </table>
  37.           </td>
  38.         </tr>
  39.       </table>
  40. <table width="100%" height="100%" border="0" align="center" cellspacing="0">
  41.     <tr>
  42.         <td align="center" valign="top"><p>&nbsp;</p>
  43.       <table width="90%" border="1" cellpadding="3" cellspacing="0" bordercolordark="#ffffff" bordercolorlight="#000000" style="">
  44.         <tr align="center" valign="middle" bgcolor="<%=m_session.GetString("TitleColor")%>">
  45.           <th height="24" colspan="6" nowrap>车辆使用状况</th>
  46.         </tr>
  47.         <tr align="center" valign="middle" bgcolor="<%=m_session.GetString("TitleColor")%>">
  48.           <th width="3%" height="24" nowrap><img src="/images/white.gif" width="12"></th>
  49.           <th width="6%" nowrap><font color="#000000">序号</font></th>
  50.           <th width="50%" nowrap><font color="#000000">名称</font></th>
  51.           <th width="11%" nowrap><font color="#000000">序号</font></th>
  52.           <th width="11%" nowrap><font color="#000000">用车记录</font></th>
  53.           <th width="11%" nowrap><font color="#000000">用车计划</font></th>
  54.         </tr>
  55.         <%
  56. for(int i=0;i<vt.size();i++)
  57. {
  58.     String strID = ((Vector)vt.get(i)).get(0).toString();
  59.     if(i % 2 == 0)
  60.         out.println("<tr id="Row"+ i+ "" class="DataRowsSingle" onmouseover="mouseon(this,'image" + i + "');" onmouseout="mouseout(this,'image" + i + "','DataRowsSingle');">");
  61.     else
  62.         out.println("<tr id="Row"+ i+ "" class="DataRowsDouble" onmouseover="mouseon(this,'image" + i + "');" onmouseout="mouseout(this,'image" + i + "','DataRowsDouble');">");
  63.     out.println("<td align="right" valign="middle"><img id="image" + i + "" src="../images/lastpost1.gif" style="display:none;"> </td>");
  64.     out.println("<td align="right" valign="middle">" + (i+1) + "</td>");
  65.     String strtemp = ((Vector)vt.get(i)).get(1).toString();
  66.     if (strtemp.equalsIgnoreCase("")) strtemp = "&nbsp;";
  67.     out.println("<td align="left" valign="middle" nowrap>" + strtemp + "</td>");
  68.     strtemp = ((Vector)vt.get(i)).get(2).toString();
  69.     if (strtemp.equalsIgnoreCase("")) strtemp = "&nbsp;";
  70.     out.println("<td align="center" valign="middle" nowrap>"+ strtemp +"</td>");
  71.     out.println("<td align="center" valign="middle" nowrap><a href="PublicResManage.jsp?SysDirID="+iSysDirID+"&ID=" + strID + "&IsPlan=0" target="_blank">记录</a></td>");
  72.     out.println("<td align="center" valign="middle" nowrap><a href="PublicResManage.jsp?SysDirID="+iSysDirID+"&ID=" + strID + "&IsPlan=1" target="_blank">计划</a></td>");
  73.     out.println("</tr>");
  74. }
  75. %>
  76.       </table>
  77.         </td>
  78.     </tr>
  79. </table>
  80. </body>
  81. </html>