rlzy_bmkq.aspx
资源名称:OASystem.rar [点击查看]
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:4k
源码类别:
OA系统
开发平台:
C#
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="rlzy_bmkq.aspx.cs" Inherits="bmkq" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
- <title>部门考勤分类</title>
- <link href="../css/link.css"rel="stylesheet" type="text/css"/>
- <style type="text/css">
- <!--
- .style1 {
- color: #FFFFFF;
- font-weight: bold;
- }
- .style4 {color: #FFFFFF}
- -->
- </style>
- <style type="text/css">
- <!--
- a:link {
- text-decoration: none;
- color: #5AAE18;
- }
- a:visited {
- text-decoration: none;
- color: #5AAE18;
- }
- a:hover {
- text-decoration: none;
- color: #5AAE18;
- }
- a:active {
- text-decoration: none;
- color: #5AAE18;
- }
- -->
- </style>
- </head>
- <body>
- <%COM.OA.Entity.users loginuser =Session["loginuser"] as COM.OA.Entity.users;
- if (loginuser == null)
- {
- this.Response.Write(string.Format(GetRedirect.ALLREDIRECT, "../login.aspx"));
- } %>
- <div align="center">
- <table width="760" height="21" border="0" cellpadding="0" cellspacing="0" bgcolor="#5AAE18">
- <tr>
- <td width="6"> </td>
- <td bgcolor="#5AAE18"><div align="center"><span class="style4"><span class="style1">考 勤 分 类 查 询</span></span></div></td>
- <td width="6" height="21" bgcolor="#5AAE18"> </td>
- </tr>
- </table>
- <table width="760" border="0" cellpadding="0" cellspacing="1" bgcolor="#5EAE19">
- <tr>
- <td bgcolor="#FFFFFF">
- <table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="399CA0">
- <tr >
- <td bgcolor="#FFFFFF" class="style5"><span class="style2">
- <%System.Collections.Generic.IList<COM.OA.Entity.department> departmentlist = COM.OA.BLL.departmentBLL.Select(); %>
- <%System.Collections.Generic.List<COM.OA.Entity.department> list1 = (System.Collections.Generic.List<COM.OA.Entity.department>)departmentlist; %>
- <%list1.Reverse(); %>
- <%foreach (COM.OA.Entity.department depar in list1)%>
- <%{%>
- <a href="rlzy_bmqkxx.aspx?bmid=<%=depar.dept_id%>"><%=depar.dept_department%></a>
- <%}%>
- </span></td>
- </tr> </table></td>
- </tr>
- </table>
- <table width="760" border="0" cellpadding="0" cellspacing="1" bgcolor="#5EAE19">
- <tr >
- <td bgcolor="#FFFFFF">
- <%System.Collections.Generic.IList<COM.OA.Entity.users> ilist = COM.OA.BLL.usersBLL.Select(); %>
- <%System.Collections.Generic.List<COM.OA.Entity.users> list = (System.Collections.Generic.List<COM.OA.Entity.users>)ilist;
- list.Reverse(); %>
- <%foreach (COM.OA.Entity.users user in list) %>
- <%{ %>
- <% int emid = user.u_em_id;
- string where = "em_id=" + emid;
- System.Collections.Generic.IList<COM.OA.Entity.employee> emilist = COM.OA.BLL.employeeBLL.Select(where);
- System.Collections.Generic.List<COM.OA.Entity.employee> emlist =(System.Collections.Generic.List<COM.OA.Entity.employee>)emilist;
- string emName = "";
- foreach (COM.OA.Entity.employee em in emlist)
- {
- emName = em.em_name;
- }
- %>
- <a href="rlzy_grkq.aspx?grid=<%=user.u_id %>"><%=emName %></a>
- <%} %>
- </td>
- </tr>
- </table>
- <p><br/>
- <br/>
- <a href="javascript:history.go(-1)"><img alt="" src="../images/images_wc/back.gif" width="37" height="45" border="0" /></a><br/>
- <br/>
- </p>
- <p> </p>
- </div>
- </body>
- </html>