rlzy_dacx.aspx

来自「OA自动化办公系统,就是OA自动化办公系统」· ASPX 代码 · 共 138 行

ASPX
138
字号
<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="rlzy_dacx.aspx.cs" Inherits="rlzy_dacx" %>

<!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 id="Head1" runat="server">
    <title>档案管理</title>
<style type="text/css">
<!--
.style1 {	color: #FFFFFF;
	font-weight: bold;
}
-->
</style>
<link href="../css/link.css" type="text/css" />
<style type="text/css">
<!--
.style2 {font-size: 12px}
.style3 {color: #FFFFFF}
.style4 {color: #FF0000}
.style5 {color: #45A437}
-->
</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>

<form id="form1" action="" runat="server"> 
    <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#5AAE18">
  <tr>
    <td height="21" style="width: 6px"><img alt="" src="../images/images_wc/leftlin1.gif"width="6" height="21" /></td>
    <td width="936" bgcolor="#5AAE18"><div align="center"><span class="style3"><span class="style1">人 事 档 案 管 理</span></span></div></td>
    <td height="21" style="width: 6px"><img alt="" src="../images/images_wc/rightlin.gif"  width="6" height="21" /></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#5AAE18">
  <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_bmda.aspx?id=<%=depar.dept_id%>"><%=depar.dept_department%></a>
        <%}%>&nbsp;&nbsp;
    </span></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#5AAE18">
  <tr bgcolor="#FFFFFF">
    <td width="12%" height="21"><div align="center"><strong class="style2">编 号</strong></div></td>
    <td width="12%" height="21"><div align="center"><strong class="style2">姓 名</strong></div></td>
    <td width="12%" height="21"><div align="center"><strong class="style2">部 门 </strong></div></td>
    <td width="26%" height="21"><div align="center"><strong class="style2">毕业院校</strong></div></td>
    <td width="9%" height="21"><div align="center"><strong class="style2">专 业</strong></div></td>
    <td width="10%" height="21"><div align="center"><strong class="style2">学 历</strong></div></td>
    <td width="19%" height="21"><div align="center"><strong class="style2">操 作</strong></div></td>
  </tr>
  
  <% COM.OA.Entity.users loginuser = Session["loginuser"] as COM.OA.Entity.users;
   if (loginuser == null)
   {
       this.Response.Write(string.Format(GetRedirect.ALLREDIRECT, "../login.aspx"));
   }
   else
   { %>
  <%string tt = Session["tiaojian"].ToString();
    System.Collections.Generic.IList<COM.OA.Entity.employee> list = COM.OA.BLL.employeeBLL.Select(
    string.Format("em_name like '%{0}%'",tt), true, false);   %>
  <%foreach (COM.OA.Entity.employee l in list) %>
  <%{ %>
  <tr bgcolor="#FFFFFF" onmouseover = "this.style.backgroundColor = '#EEEEEE'" onmouseout = "this.style.backgroundColor = ''">
    <td><div align="center"><span class="style2"><%=l.em_number %></span></div></td>
    <td><div align="center"><a href="rlzy_daxg.aspx?id=<%=l.em_id %>"><span class="style2"><%=l.em_name %></span></a></div></td>
    <td><div align="center"><span class="style2"><%=l.department.dept_department%></span></div></td>
    <td><div align="center"><span class="style2"><%=l.em_finishschool %></span></div></td>
    <td><div align="center"><span class="style2"><%=l.em_speciality %></span></div></td>
    <td><div align="center"><span class="style2"></span></div></td>
    <td><div align="center"><span class="style2"><a href="rlzy_daxg.aspx?id=<%=l.em_id %>">修改</a> </span></div></td>
  </tr>

  <%} %>
  
</table>
<div align="center" class="style2">
  <form name="form1" method="post" action="">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="40%" style="height: 15px">
            &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">
                <asp:TextBox ID="txtSelect" runat="server"></asp:TextBox>
                <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>
        <td width="10%" valign="middle" style="height: 15px"><a href="rlzy_lrda.aspx">录入用户档案 </a></td>
        <td width="48%" valign="middle" style="height: 15px"><span class="style4"><%=list.Count %><%} %></span>条记录</td>
      </tr>
        
    </table>
    <br/>
  </form>
</div>
</form>
  <p>&nbsp;</p>


<table border="0" width="50%" align="center">
  <tr>
    <td width="23%" align="center">
    </td>
    <td width="31%" align="center">
    </td>
    <td width="23%" align="center">
    </td>
    <td width="23%" align="center">
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?