⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 business_total_search.jsp

📁 tomcat最新安装程序
💻 JSP
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="cn.com.aheadsoft.recordset.PersonInfoRecordSet,cn.com.aheadsoft.util.StringFormat,cn.com.aheadsoft.recordset.DeptInfoRecordSet,cn.com.aheadsoft.recordset.LevelRecordSet,cn.com.aheadsoft.recordset.OccupDicRecordSet,cn.com.aheadsoft.util.UserInfo,cn.com.aheadsoft.manage.UserPurviewManage,cn.com.aheadsoft.business.PersonImageBusiness,cn.com.aheadsoft.recordset.PersonImageRecordSet" %>
<%
	//PersonInfoRecordSet perset = (PersonInfoRecordSet)request.getAttribute("result");
	//OccupDicRecordSet occupset = (OccupDicRecordSet)request.getAttribute("oset");
	//LevelRecordSet levelset = (LevelRecordSet)request.getAttribute("lset");
	//DeptInfoRecordSet deptset = (DeptInfoRecordSet)request.getAttribute("dept");
	PersonInfoRecordSet set = (PersonInfoRecordSet)request.getAttribute("allperson");
	
	UserInfo userinfo = (UserInfo)session.getAttribute("userinfo");
	String username = "";
	String userdept="";
	if(userinfo.GetUserID() != null){
		username = userinfo.GetUserID();
		userdept = userinfo.GetDeptID();
		//System.out.println("username"+username);
	}
	UserPurviewManage priority = new UserPurviewManage();
	/*int incumbencyinsert = priority.getUserPopInt(userinfo, "4", "1", "i");
	int incumbencyupdate = priority.getUserPopInt(userinfo, "4", "1", "u");
        int incumbencydelete = priority.getUserPopInt(userinfo, "4", "1", "d");*/ //replace by zenghongli 2004.9.8
        
        int incumbencyupdate = priority.getUserPopInt(userinfo, "4", "2", "u");
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr height="8" class="trA">
    <td>&nbsp;您的位置:人事管理 >> 人员统计 >> <font class="fontcolor">人员信息</font></td>
  </tr>
    <tr height="8">   
	<td>
	</td>
  </tr>
  <tr>
    <td align="center">  
      <table border="0" width="98%" align="center" class="collapse">
	 <tr> 
		   <td class="tdA" colspan="9" align="center"><div align="left">人员列表</div></td>  			  
    </tr>		
  <%if(null != set){
                     int index=0;
					 String Dept="";
					 String userID="";
		     PersonImageBusiness ImageBu = new PersonImageBusiness();
                     PersonImageRecordSet ImageRs = new PersonImageRecordSet();
  while(set.next()){
		ImageBu = new PersonImageBusiness();
		ImageRs = new PersonImageRecordSet();
		userID=set.getUser_ID();
		ImageBu.setDeleteWhereQueryPE_ImageID(userID);
	    ImageBu.execute("query");
	    ImageRs=ImageBu.getRecordSet();
	    String ImageFile="";
	    while(ImageRs.next())
	   ImageFile=ImageRs.getPE_ImageFile();
  %>
  <% if (index % 6 == 0 && index != 0){%>
        <tr align="center"> 
	<%}
   index = index + 1;
   if(ImageFile.equals("")){		
	%>
	          
          <TD width=17% align=center class="common">
            <a href="/krm/servlet/PersonServlet?module=stuff&&status=q&&queryterm=primarykey&&id=<%=set.getUser_ID()%>"><img src="/krm/jsp/personimage/birthday.jpg" width="120" height="160" border="0"></a><br>
            <%=set.getI_Name()%><%if((incumbencyupdate > 0) || (username.equals("0"))){%>
            <a href="/krm/servlet/PersonServlet?module=stuff&&status=u&&queryterm=obtain&&id=<%=set.getUser_ID()%>">[修改]</a>
            <%}%>
            </td>
			  <%}else {%>
          <TD width=17% align=center class="common"><a href="/krm/servlet/PersonServlet?module=stuff&&status=q&&queryterm=primarykey&&id=<%=set.getUser_ID()%>"><img src="/krm/jsp/personimage/<%=ImageFile%>" width="120" height="160" border="0"></a><br>
            <%=set.getI_Name()%><%if((incumbencyupdate > 0) || (username.equals("0"))){%>
            <a href="/krm/servlet/PersonServlet?module=stuff&&status=u&&queryterm=obtain&&id=<%=set.getUser_ID()%>">[修改]</a>
            <%}%></td>	
		  <%}if (index % 6 == 0){%>
		 </tr> 
		  <%}
		  }
         if (index % 6 == 1) {%>
            <TD class="common" width=17% height="21" align=center>&nbsp;</td>
            <TD class="common"  width=17% align=center>&nbsp;</td>
            <TD class="common"  width=17% align=center>&nbsp;</td>
            <TD class="common"  width=17% align=center>&nbsp;</td>
            <TD class="common"  width=15% align=center>&nbsp;</td>
            </tr>
       <%   }
          else if (index % 6 == 2) {%>
            <TD class="common"  width=16% align=center>&nbsp;</td>
            <TD class="common"  width=16% align=center>&nbsp;</td>
            <TD class="common"  width=16% align=center>&nbsp;</td>
            <TD class="common"  width=17% align=center>&nbsp;</td>
            </tr>
       <%   }
          else if (index % 6 == 3) {%>
            <TD class="common"  width=16% align=center>&nbsp;</td>
            <TD class="common"  width=16% align=center>&nbsp;</td>
            <TD class="common"  width=16% align=center>&nbsp;</td>
             </tr>
     <%      }
          else if (index % 6 == 4) {%>
            <TD class="common"  width=16% align=center>&nbsp;</td>
            <TD class="common"  width=16% align=center>&nbsp;</td>
            </tr>
       <%   }
          else if (index % 6 == 5) {%>
           <TD class="common"  width=16% align=center>&nbsp;</td>
           </tr>
    <%      }
		}  
		  %>
         <tr> 
          <td align="center" colspan="6"  class="tdC">
		  <input type="button" value="返 回" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="javascript:history.back(-1);"> 
          </td>
        </tr>
        </table>
   </td>
</tr>	
</table>
</body>
</html>		

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -