index.jsp
上传用户:kimgenplus
上传日期:2016-06-05
资源大小:20877k
文件大小:4k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page language="java" contentType="text/html; charset=GB18030"
  2.     pageEncoding="GB18030"%>
  3. <%@include file="/common/common.jsp" %>
  4. <hr>
  5. <center>
  6.       <TABLE width="100%" border=0 align=center cellPadding=0 cellSpacing=0 borderColor=#ffffff style="FONT-SIZE: 10pt">
  7.         <TBODY>
  8.           <TR>
  9.             <TD width="82%" height=14 align=right vAlign=center noWrap>
  10.             </TD>
  11.             <TD width="18%" align=right vAlign=center noWrap> </TD>
  12.           </TR>
  13.           <TR>
  14.             <TD height=14 align=right vAlign=center noWrap>
  15.              <!-- 在这里插入查询表单 -->
  16.             </TD>
  17.             <TD height=14 align="left" vAlign=center noWrap>
  18.             <% 
  19.             /**
  20.             * 在这里定义“添加”,“查询”等按钮
  21.             * <input type="image" name="find" value="find" src="images/cz.gif">
  22.             * &nbsp;&nbsp;&nbsp;&nbsp; 
  23.             * <a href="#" onClick="openWin('document.do?method=addInput','470')">
  24.             * <img src="images/addpic.gif" border=0 align=absMiddle style="CURSOR: hand"></a>
  25.             */
  26.             %>
  27.             </TD>
  28.           </TR>
  29.           <TR>
  30.             <TD height=28 colspan="2" align=right vAlign=center noWrap background=images/list_middle.jpg>&nbsp;&nbsp;
  31.             <!-- 可以在这里插入分页导航条 -->
  32.             </TD>
  33.           </TR>
  34.         </TBODY>
  35.       </TABLE>
  36.       <table width="100%" border="0" cellPadding="0" cellSpacing="1" bgcolor="#6386d6">
  37.           <!-- 列表标题栏 -->
  38.       <tr bgcolor="#EFF3F7" class="TableBody1">
  39.       <td width="5%" height="37" align="center"><b>序号</b></td>
  40.       <td width="18%" height="37" align="center"><B>姓名</B></td>
  41.       <td width="18%" height="37" align="center"><b>性别</b></td>
  42.       <td width="18%" height="37" align="center"><b>职务</b></td>
  43.               <td width="18%" height="37" align="center"><b>电话</b></td>
  44.               <td width="18%" height="37" align="center"><b>地址</b></td>
  45.               <td width="5%" height="37" align="center"><b>操作</b></td>
  46.           </tr>
  47.           <!-- 列表数据栏 -->
  48.           <c:if test="${!empty pm.datas}">
  49.           <c:forEach items="${pm.datas }" var="person">
  50.       <tr bgcolor="#EFF3F7" class="TableBody1" onmouseover="this.bgColor = '#DEE7FF';" onmouseout="this.bgColor='#EFF3F7';">
  51.       <td align="center" vAlign="center">${person.id }</td>
  52.           <td align="center" vAlign="center">${person.name }</td>
  53.           <td align="center" vAlign="center">${person.sex }</td>
  54.           <td align="center" vAlign="center">${person.duty }</td>
  55.           <td align="center" vAlign="center">${person.phone }</td>
  56.           <td align="center" vAlign="center">${person.address }</td>
  57.           <td align="center" vAlign="center"></td>
  58.         </tr>
  59.         </c:forEach>
  60. </c:if>
  61.         <!-- 在列表数据为空的时候,要显示的提示信息 -->
  62.     <c:if test="${empty pm.datas}">
  63.     <tr>
  64.      <td colspan="7" align="center" bgcolor="#EFF3F7" class="TableBody1" onmouseover="this.bgColor = '#DEE7FF';" onmouseout="this.bgColor='#EFF3F7';">
  65.      没有找到相应的记录
  66.      </td>
  67.     </tr>
  68.     </c:if>
  69.       </table>
  70.       <TABLE width="100%" border=0 align=center cellPadding=0 cellSpacing=0 borderColor=#ffffff style="FONT-SIZE: 10pt">
  71.         <TBODY>
  72.           <TR>
  73.             <TD height=28 align=right vAlign=center noWrap background=images/list_middle.jpg>&nbsp;&nbsp;
  74.             <!-- 可以在这里插入分页导航条 -->
  75.           
  76.      </TD>
  77.           </TR>
  78.         </TBODY>
  79.       </TABLE>
  80. </center>