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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="rlzy_bmda.aspx.cs" Inherits="rlzy_bmda" %>
  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.     <%COM.OA.Entity.users loginuser =Session["loginuser"] as COM.OA.Entity.users;
  56.       if (loginuser == null)
  57.       {
  58.           this.Response.Write(string.Format(GetRedirect.ALLREDIRECT, "../login.aspx"));
  59.       }
  60.       else
  61.       {%>
  62.         <%System.Collections.Generic.IList<COM.OA.Entity.department> departmentlist = COM.OA.BLL.departmentBLL.Select(); %>
  63.         <%System.Collections.Generic.List<COM.OA.Entity.department> list1 = (System.Collections.Generic.List<COM.OA.Entity.department>)departmentlist; %>
  64.         <%list1.Reverse(); %>
  65.         <%foreach (COM.OA.Entity.department depar in list1)%>
  66.         <%{%>
  67.         <a href="rlzy_bmda.aspx?id=<%=depar.dept_id%>"><%=depar.dept_department%></a>
  68.         <%}%>&nbsp;&nbsp;
  69.     </span></td>
  70.   </tr>
  71. </table>
  72. <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#5AAE18">
  73.   <tr bgcolor="#FFFFFF">
  74.     <td width="12%" height="21"><div align="center"><strong class="style2">编 号</strong></div></td>
  75.     <td width="12%" height="21"><div align="center"><strong class="style2">姓 名</strong></div></td>
  76.     <td width="12%" height="21"><div align="center"><strong class="style2">部 门 </strong></div></td>
  77.     <td width="26%" height="21"><div align="center"><strong class="style2">毕业院校</strong></div></td>
  78.     <td width="9%" height="21"><div align="center"><strong class="style2">专 业</strong></div></td>
  79.     <td width="10%" height="21"><div align="center"><strong class="style2">学 历</strong></div></td>
  80.     <td width="19%" height="21"><div align="center"><strong class="style2">操 作</strong></div></td>
  81.   </tr>
  82.   <tr bgcolor="#FFFFFF" onmouseover = "this.style.backgroundColor = '#EEEEEE'" onmouseout = "this.style.backgroundColor = ''">
  83.   <%
  84.         //通过ID查询 并显示
  85.         string id = this.Request["id"];
  86.         string where = "em_dept_id=" + id;
  87.   %>
  88.   <%System.Collections.Generic.IList<COM.OA.Entity.employee> list = COM.OA.BLL.employeeBLL.Select(where); %>
  89.   <%foreach (COM.OA.Entity.employee l in list) %>
  90.   <%{ %>
  91.     <td><div align="center"><%=l.em_number%></div></td>
  92.     <td><div align="center"><a href="rlzy_daxg.aspx?id=<%=l.em_id %>"><%=l.em_name%></a></div></td>
  93.     <td><div align="center"><%=l.em_dept_id%></div></td>
  94.     <td><div align="center"><%=l.em_finishschool%></div></td>
  95.     <td><div align="center"><%=l.em_speciality%></div></td>
  96.     <td><div align="center"></div><%=l.em_l_id%></td>
  97.     <td><div align="center"><a href="rlzy_daxg.aspx?id=<%=l.em_id %>">修改</a> <a href="" onclick="return confirm('您确定要删除吗?本过程将不可恢复。')">删除</a></div></td>
  98.   <%}
  99. }%></tr>
  100.   
  101.   
  102.   
  103. </table>
  104. <div align="center" class="style2">
  105.   <form name="form1" method="post" action="">
  106.     <table width="100%" border="0" cellpadding="0" cellspacing="0">
  107.       <tr>
  108.         <td width="40%"><input name="c" type="text" id="c" size="30"/>
  109.             <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">
  110.             <input name="submit" type="submit" id="submit" style="FONT-SIZE: 12px; HEIGHT: 24px" value=" 查 询 "/>
  111.           </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>
  112.         <td width="10%" valign="middle"><a href="rlzy_lrda.aspx">录入用户档案 </a></td>
  113.         <td width="2%" valign="middle"></td>
  114.         <td width="48%" valign="middle"><a href=""></a></td>
  115.       </tr>
  116.         
  117.     </table>
  118.     <br/>
  119.   </form>
  120. </div>
  121. </form>
  122.   <p>&nbsp;</p>
  123. <table border="0" width="50%" align="center">
  124.   <tr>
  125.     <td width="23%" align="center">
  126.     </td>
  127.     <td width="31%" align="center">
  128.     </td>
  129.     <td width="23%" align="center">
  130.     </td>
  131.     <td width="23%" align="center">
  132.     </td>
  133.   </tr>
  134. </table>
  135. </body>
  136. </html>