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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="rlzy_bmkq.aspx.cs" Inherits="bmkq" %>
  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>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
  6. <title>部门考勤分类</title>
  7. <link href="../css/link.css"rel="stylesheet" type="text/css"/>
  8. <style type="text/css">
  9. <!--
  10. .style1 {
  11. color: #FFFFFF;
  12. font-weight: bold;
  13. }
  14. .style4 {color: #FFFFFF}
  15. -->
  16. </style>
  17. <style type="text/css">
  18. <!--
  19. a:link {
  20. text-decoration: none;
  21. color: #5AAE18;
  22. }
  23. a:visited {
  24. text-decoration: none;
  25. color: #5AAE18;
  26. }
  27. a:hover {
  28. text-decoration: none;
  29. color: #5AAE18;
  30. }
  31. a:active {
  32. text-decoration: none;
  33. color: #5AAE18;
  34. }
  35. -->
  36. </style>
  37. </head>
  38. <body>
  39. <%COM.OA.Entity.users loginuser =Session["loginuser"] as COM.OA.Entity.users;
  40.          if (loginuser == null)
  41.          {
  42.              this.Response.Write(string.Format(GetRedirect.ALLREDIRECT, "../login.aspx"));
  43.          } %> 
  44.    <div align="center">
  45.   <table width="760" height="21" border="0" cellpadding="0" cellspacing="0" bgcolor="#5AAE18">
  46.     <tr>
  47.       <td width="6">&nbsp;</td>
  48.       <td bgcolor="#5AAE18"><div align="center"><span class="style4"><span class="style1">考 勤 分 类 查 询</span></span></div></td>
  49.       <td width="6" height="21" bgcolor="#5AAE18">&nbsp;</td>
  50.     </tr>
  51.   </table>
  52.   <table width="760" border="0" cellpadding="0" cellspacing="1" bgcolor="#5EAE19">
  53.     <tr>
  54.       <td bgcolor="#FFFFFF">
  55.       
  56.       <table width="100%"  border="0" cellpadding="3" cellspacing="0" bgcolor="399CA0">
  57.         <tr >
  58.           <td bgcolor="#FFFFFF" class="style5"><span class="style2">
  59.         <%System.Collections.Generic.IList<COM.OA.Entity.department> departmentlist = COM.OA.BLL.departmentBLL.Select(); %>
  60.         <%System.Collections.Generic.List<COM.OA.Entity.department> list1 = (System.Collections.Generic.List<COM.OA.Entity.department>)departmentlist; %>
  61.         <%list1.Reverse(); %>
  62.         <%foreach (COM.OA.Entity.department depar in list1)%>
  63.         <%{%>
  64.         <a href="rlzy_bmqkxx.aspx?bmid=<%=depar.dept_id%>"><%=depar.dept_department%></a>&nbsp;&nbsp;
  65.         <%}%>
  66.     </span></td>
  67.         </tr>      </table></td>
  68.     </tr>
  69.   </table>
  70.   <table width="760" border="0" cellpadding="0" cellspacing="1" bgcolor="#5EAE19">
  71.     <tr >
  72.       <td bgcolor="#FFFFFF">
  73.       <%System.Collections.Generic.IList<COM.OA.Entity.users> ilist = COM.OA.BLL.usersBLL.Select(); %>
  74.       <%System.Collections.Generic.List<COM.OA.Entity.users> list = (System.Collections.Generic.List<COM.OA.Entity.users>)ilist;
  75.                 list.Reverse(); %>
  76.       <%foreach (COM.OA.Entity.users user in list) %>
  77.       <%{ %>
  78.       <%  int emid = user.u_em_id;
  79.           string where = "em_id=" + emid;
  80.           System.Collections.Generic.IList<COM.OA.Entity.employee> emilist = COM.OA.BLL.employeeBLL.Select(where);
  81.           System.Collections.Generic.List<COM.OA.Entity.employee> emlist =(System.Collections.Generic.List<COM.OA.Entity.employee>)emilist;
  82.           string emName = "";
  83.           foreach (COM.OA.Entity.employee em in emlist)
  84.           {
  85.               emName = em.em_name;
  86.           }
  87.       %>
  88.             <a href="rlzy_grkq.aspx?grid=<%=user.u_id %>"><%=emName %></a>&nbsp;&nbsp;
  89.       <%} %>
  90.       </td>
  91.     </tr>
  92.   </table>
  93.   <p><br/>
  94.     <br/>
  95.       <a href="javascript:history.go(-1)"><img alt="" src="../images/images_wc/back.gif" width="37" height="45" border="0" /></a><br/>
  96.     <br/>
  97.   </p>
  98.   <p>&nbsp;</p>
  99. </div>
  100. </body>
  101. </html>