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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="dagl.aspx.cs" Inherits="wc_rlzy_dagl" %>
  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" 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.   <% COM.OA.Entity.users loginuser = Session["loginuser"] as COM.OA.Entity.users;
  76.    if (loginuser == null)
  77.    {
  78.        this.Response.Write(string.Format(GetRedirect.ALLREDIRECT, "../login.aspx"));
  79.    } 
  80.    else{%>
  81.   <%System.Collections.Generic.IList<COM.OA.Entity.wc_employee> list = COM.OA.BLL.BLLGeneric.Select<COM.OA.Entity.wc_employee>(System.Data.CommandType.StoredProcedure, 
  82. "wc_employeeSelectAll"); %>
  83.   <%foreach (COM.OA.Entity.wc_employee l in list) %>
  84.   <%{ %>
  85.   <tr bgcolor="#FFFFFF" onmouseover = "this.style.backgroundColor = '#EEEEEE'" onmouseout = "this.style.backgroundColor = ''" >
  86.     <td><div align="center"><span class="style2"><%=l.Em_number %></span></div></td>
  87.     <td><div align="center"><a href="rlzy_daxg.aspx?id=<%=l.Em_id %>"><span class="style2"><%=l.Em_name %></span></a></div></td>
  88.     <td><div align="center"><span class="style2"><%=l.Dept_department%></span></div></td>
  89.     <td><div align="center"><span class="style2"><%=l.Em_finishschool %></span></div></td>
  90.     <td><div align="center"><span class="style2"><%=l.Em_speciality %></span></div></td>
  91.     <td><div align="center"><span class="style2"><%=l.L_learn%></span></div></td>
  92.     <td><div align="center"><span class="style2"><a href="rlzy_daxg.aspx?id=<%=l.Em_id %>">修改</a></span></div></td>
  93.   </tr>
  94.   <%} %>
  95.   
  96. </table>
  97. <div align="center" class="style2">
  98.     <table width="100%" border="0" cellpadding="0" cellspacing="0">
  99.       <tr>
  100.         <td width="40%">
  101.             <asp:TextBox ID="txtchxun" runat="server"></asp:TextBox>&nbsp;<span class="bg"><span class="bg style2"><strong><font color="#ffffff"><strong><font 
  102. color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font 
  103. color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font 
  104. color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font 
  105. color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff"><strong><font 
  106. color="#ffffff"><strong><font color="#ffffff"><strong><font color="#ffffff">
  107.             <asp:Button ID="btnSelect" runat="server" Text="查  询" OnClick="btnSelect_Click" 
  108. /></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong
  109. ></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong>
  110. </font></strong></font></strong></span></span></td>
  111.         <td width="10%" valign="middle"><a href="rlzy_lrda.aspx">录入用户档案 </a></td>
  112.         <td width="48%" valign="middle"><span class="style4">共<%=list.Count %><%} %></span>条记录</td>
  113.       </tr>
  114.     </table>
  115.     <br/>
  116. </div>
  117. </form>
  118.   <p>&nbsp;</p>
  119. <table border="0" width="50%" align="center">
  120.   <tr>
  121.     <td width="23%" align="center">
  122.     </td>
  123.     <td width="31%" align="center">
  124.     </td>
  125.     <td width="23%" align="center">
  126.     </td>
  127.     <td width="23%" align="center">
  128.     </td>
  129.   </tr>
  130. </table>
  131. </body>
  132. </html>