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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="adminshenpi.aspx.cs" Inherits="lb_shenpi_adminshenpi" %>
  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. <style type="text/css">
  6. <!--
  7. .style36 { font-size: 13px;
  8. color: #FFFFFF;
  9. font-weight: bold;
  10. }
  11. .style5 {color: #FFFFFF}
  12. -->
  13. </style>
  14. <link href="../css/link.css" rel="stylesheet" type="text/css">
  15. <style type="text/css">
  16. <!--
  17. .style37 {color: #000000}
  18. .style38 {color: #FF0000}
  19. .style40 {font-size: 12px}
  20. -->
  21. </style>
  22. </head>
  23. <body>
  24. <div align="center">  
  25. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  26.   <tr>
  27.     <td width="6" height="21"><img src="../img/bbs/leftlin1.gif" width="6" height="21"></td>
  28.     <td width="936" bgcolor="#5AAE18"><div align="center"><span class="style5"><span class="style13 style5 style6"><span class="style36">审 批 列 表</span></span></span></div></td>
  29.     <td width="6" height="21"><img src="../img/bbs/rightlin1.gif" width="6" height="21"></td>
  30.   </tr>
  31. </table>
  32.   <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5EAE19">
  33.     <tr>
  34.       <td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0">
  35.         <tr>
  36.           <td height="6" colspan="6"></td>
  37.           </tr>
  38.         <tr>
  39.           <td>&nbsp;</td>
  40.           <td><strong>审批事由</strong></td>
  41.           <td><div align="center"><strong>操 作</strong></div></td>
  42.           <td><div align="left"><strong>状 态</strong></div></td>
  43.           <td><div align="center"><strong>提交人</strong></div></td>
  44.           <td width="24%"><div align="center"><strong>时 间</strong></div></td>
  45.         </tr>
  46.         <%
  47.             //session 传入登陆的用户 
  48.             
  49.             COM.OA.Entity.users u =(COM.OA.Entity.users)Session["loginuser"];
  50.             if (u == null)
  51.             {
  52.                 this.Response.Write(string.Format(GetRedirect.REDIRECT,"../login.aspx"));
  53.                 this.Response.End();
  54.             }
  55.             string where = "ex_inceptid="+u.u_id;
  56.             System.Collections.Generic.IList<COM.OA.Entity.examine> list =
  57.                 COM.OA.BLL.examineBLL.Select(where,true,true);
  58.             foreach (COM.OA.Entity.examine ex in list)
  59.             {
  60.                 COM.OA.Entity.users user = COM.OA.BLL.usersBLL.Select(ex.ex_u_id);
  61.                 COM.OA.Entity.employee emp = COM.OA.BLL.employeeBLL.Select(user.u_em_id);
  62.                 string state = "";
  63.                 string stateImg = "";
  64.                 switch (ex.ex_state)
  65.                 {
  66.                     case 0: state = "等待受理"; stateImg = "../gxxz/img/sp/3.gif";
  67.                         break;
  68.                     case 1: state = "受理中"; stateImg = "../gxxz/img/sp/1.gif";
  69.                         break;
  70.                     case 2: state = "中止"; stateImg = "../gxxz/img/sp/3.gif";
  71.                         break;
  72.                     case 3: state = "终止"; stateImg = "../gxxz/img/sp/4.gif";
  73.                         break;
  74.                     case 4: state = "办结"; stateImg = "../images/gx/cs-1.gif";
  75.                         break;
  76.                 }
  77.          %>
  78.         <tr bgcolor="#FFFFFF" onMouseOver = "this.style.backgroundColor = '#EEEEEE'" onMouseOut = "this.style.backgroundColor = ''">
  79.             <td width="3%"><div align="center"><img src="../images/sp/icon1.gif" width="8" height="9"></div></td>
  80.             <td width="45%"><a href="doshenpi.aspx?id=<%=ex.ex_id %>"><%=ex.ex_applycontent %></a></td>
  81.             <td width="15%"><div align="center"><a href="banli.aspx?id=<%=ex.ex_id %>&name='start'">办理</a>&nbsp;<a href="stop.aspx?id=<%=ex.ex_id %>&name='stop'">中止</a>&nbsp;<a href="over.aspx?id=<%=ex.ex_id %>&name='over'">终止</a>&nbsp;<a href="done.aspx?id=<%=ex.ex_id %>&name='jie'">办结</a></div></td>
  82.             <td width="8%">
  83.               <div align="left">
  84.          
  85.                 <%=state %><img src="<%=stateImg %>" width="13" height="13">              
  86.               </div></td>
  87.             <td width="5%"><div align="center"><%=emp.em_name %></div></td>
  88.             <td width="24%"><div align="center">
  89.                 
  90.                   <span class="style37"><%=ex.ex_applytime %></span>
  91.                 
  92.             </div></td>
  93.         </tr>
  94.         <%
  95.             }
  96.                  %>
  97.       </table></td>
  98.     </tr>
  99.   </table>
  100. </div>
  101. <div align="center">
  102.   
  103.   <p>
  104.     
  105.   </p>
  106.   <p><a href="javascript:history.go(-1)">返回</a> </p>
  107. </div>
  108. </body>
  109. </html>