rlzy_dacx.aspx
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:6k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="rlzy_dacx.aspx.cs" Inherits="rlzy_dacx" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head id="Head1" runat="server">
  5.     <title>档案管理</title>
  6. <style type="text/css">
  7. <!--
  8. .style1 { color: #FFFFFF;
  9. font-weight: bold;
  10. }
  11. -->
  12. </style>
  13. <link href="../css/link.css" type="text/css" />
  14. <style type="text/css">
  15. <!--
  16. .style2 {font-size: 12px}
  17. .style3 {color: #FFFFFF}
  18. .style4 {color: #FF0000}
  19. .style5 {color: #45A437}
  20. -->
  21. </style>
  22. <style type="text/css">
  23. <!--
  24. a:link {
  25. text-decoration: none;
  26. color: #5AAE18;
  27. }
  28. a:visited {
  29. text-decoration: none;
  30. color: #5AAE18;
  31. }
  32. a:hover {
  33. text-decoration: none;
  34. color: #5AAE18;
  35. }
  36. a:active {
  37. text-decoration: none;
  38. color: #5AAE18;
  39. }
  40. -->
  41. </style>
  42. </head>
  43. <body>
  44. <form id="form1" action="" runat="server"> 
  45.     <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#5AAE18">
  46.   <tr>
  47.     <td height="21" style="width: 6px"><img alt="" src="../images/images_wc/leftlin1.gif"width="6" height="21" /></td>
  48.     <td width="936" bgcolor="#5AAE18"><div align="center"><span class="style3"><span class="style1">人 事 档 案 管 理</span></span></div></td>
  49.     <td height="21" style="width: 6px"><img alt="" src="../images/images_wc/rightlin.gif"  width="6" height="21" /></td>
  50.   </tr>
  51. </table>
  52. <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#5AAE18">
  53.   <tr>
  54.     <td bgcolor="#FFFFFF" class="style5"><span class="style2">
  55.         <%System.Collections.Generic.IList<COM.OA.Entity.department> departmentlist = COM.OA.BLL.departmentBLL.Select(); %>
  56.         <%System.Collections.Generic.List<COM.OA.Entity.department> list1 = (System.Collections.Generic.List<COM.OA.Entity.department>)departmentlist; %>
  57.         <%list1.Reverse(); %>
  58.         <%foreach (COM.OA.Entity.department depar in list1)%>
  59.         <%{%>
  60.         <a href="rlzy_bmda.aspx?id=<%=depar.dept_id%>"><%=depar.dept_department%></a>
  61.         <%}%>&nbsp;&nbsp;
  62.     </span></td>
  63.   </tr>
  64. </table>
  65. <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#5AAE18">
  66.   <tr bgcolor="#FFFFFF">
  67.     <td width="12%" height="21"><div align="center"><strong class="style2">编 号</strong></div></td>
  68.     <td width="12%" height="21"><div align="center"><strong class="style2">姓 名</strong></div></td>
  69.     <td width="12%" height="21"><div align="center"><strong class="style2">部 门 </strong></div></td>
  70.     <td width="26%" height="21"><div align="center"><strong class="style2">毕业院校</strong></div></td>
  71.     <td width="9%" height="21"><div align="center"><strong class="style2">专 业</strong></div></td>
  72.     <td width="10%" height="21"><div align="center"><strong class="style2">学 历</strong></div></td>
  73.     <td width="19%" height="21"><div align="center"><strong class="style2">操 作</strong></div></td>
  74.   </tr>
  75.   
  76.   <% COM.OA.Entity.users loginuser = Session["loginuser"] as COM.OA.Entity.users;
  77.    if (loginuser == null)
  78.    {
  79.        this.Response.Write(string.Format(GetRedirect.ALLREDIRECT, "../login.aspx"));
  80.    }
  81.    else
  82.    { %>
  83.   <%string tt = Session["tiaojian"].ToString();
  84.     System.Collections.Generic.IList<COM.OA.Entity.employee> list = COM.OA.BLL.employeeBLL.Select(
  85.     string.Format("em_name like '%{0}%'",tt), true, false);   %>
  86.   <%foreach (COM.OA.Entity.employee l in list) %>
  87.   <%{ %>
  88.   <tr bgcolor="#FFFFFF" onmouseover = "this.style.backgroundColor = '#EEEEEE'" onmouseout = "this.style.backgroundColor = ''">
  89.     <td><div align="center"><span class="style2"><%=l.em_number %></span></div></td>
  90.     <td><div align="center"><a href="rlzy_daxg.aspx?id=<%=l.em_id %>"><span class="style2"><%=l.em_name %></span></a></div></td>
  91.     <td><div align="center"><span class="style2"><%=l.department.dept_department%></span></div></td>
  92.     <td><div align="center"><span class="style2"><%=l.em_finishschool %></span></div></td>
  93.     <td><div align="center"><span class="style2"><%=l.em_speciality %></span></div></td>
  94.     <td><div align="center"><span class="style2"></span></div></td>
  95.     <td><div align="center"><span class="style2"><a href="rlzy_daxg.aspx?id=<%=l.em_id %>">修改</a> </span></div></td>
  96.   </tr>
  97.   <%} %>
  98.   
  99. </table>
  100. <div align="center" class="style2">
  101.   <form name="form1" method="post" action="">
  102.     <table width="100%" border="0" cellpadding="0" cellspacing="0">
  103.       <tr>
  104.         <td width="40%" style="height: 15px">
  105.             &nbsp;<span class="bg"><span class="bg style2"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff">
  106.                 <asp:TextBox ID="txtSelect" runat="server"></asp:TextBox>
  107.                 <asp:Button ID="btnSelect" runat="server" OnClick="btnSelect_Click" Text="查  询" /></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></span></td>
  108.         <td width="10%" valign="middle" style="height: 15px"><a href="rlzy_lrda.aspx">录入用户档案 </a></td>
  109.         <td width="48%" valign="middle" style="height: 15px"><span class="style4"><%=list.Count %><%} %></span>条记录</td>
  110.       </tr>
  111.         
  112.     </table>
  113.     <br/>
  114.   </form>
  115. </div>
  116. </form>
  117.   <p>&nbsp;</p>
  118. <table border="0" width="50%" align="center">
  119.   <tr>
  120.     <td width="23%" align="center">
  121.     </td>
  122.     <td width="31%" align="center">
  123.     </td>
  124.     <td width="23%" align="center">
  125.     </td>
  126.     <td width="23%" align="center">
  127.     </td>
  128.   </tr>
  129. </table>
  130. </body>
  131. </html>