rizhipiyue.aspx
资源名称:OASystem.rar [点击查看]
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:5k
源码类别:
OA系统
开发平台:
C#
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="rizhipiyue.aspx.cs" Inherits="qs_rizhi_Default" %>
- <!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 runat="server">
- <title>批阅</title>
- <style type="text/css">
- a:link {
- font-size: 12px;
- text-decoration: none;
- }
- .style1 {
- font-size: 13px;
- color: #FFFFFF;
- font-weight: bold;
- }
- </style>
- </head>
- <body>
- <form id="form1" runat="server">
- <div align="center" style="font-size: 13px">
- <table width="90%" border="0" cellpadding="0" cellspacing="0" >
- <tr>
- <td width="936" bgcolor="#5AAE18"><div align="center">
- <div align="center" class="style1 style19"><strong>日 志 列 表</strong></div>
- <span class="style1"></span></div></td>
- </tr>
- </table>
- <table width="90%" border="0" cellpadding="2" cellspacing="1" bgcolor="#5AAE18">
- <%
- System.Collections.Generic.IList<COM.OA.Entity.worklog> lists = COM.OA.BLL.worklogBLL.Select(); %>
- <% System.Collections.Generic.List<COM.OA.Entity.worklog> list = (System.Collections.Generic.List<COM.OA.Entity.worklog>)lists;%>
- <% list.Reverse(); %>
- <%foreach(COM.OA.Entity.worklog wl in list) %>
- <%{ %>
- <%
- int uid = wl.w_u_id;
- int pid = wl.w_readerid;
- COM.OA.Entity.users us = COM.OA.BLL.usersBLL.Select(uid);
- COM.OA.Entity.users uss = COM.OA.BLL.usersBLL.Select(pid);
- %>
- <tr >
- <td width="49" bgcolor="#ffffff"><div align="center" style="font-size: 13px" >标 题</div></td>
- <td class="" bgcolor="#ffffff" align="center" style="text-align: left"><span style="font-size: 13px"><strong><%=wl.w_title %></strong> </span></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="49" valign="top"><div align="center"><span class="style14 style17" style="font-size: 13px">内 容</span></div></td>
- <td width="929" class="style3" style="text-align: left" ><span style="font-size: 13px"><%=wl.w_content %></span></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td> </td>
- <td><div align="right" class="style8 style15">
- <div align="left" style="text-align: right"><strong><strong><span class="style17"> <img src="../../img/write.gif" width="7" height="13"></span></strong><span class="style17"> <span class="style15" style="font-size: 13px"> </span></span></strong><span class="style17 style15" style="font-size: 13px">发送人</span><span class="style14 style17 style15">:</span>
- <span class="style17 style15" style="font-size: 13px"><span style="font-size: 13px"><%=us.u_username %></span> 发送时间:<span style="font-size: 13px"><%=wl.w_sendtime %></span></span> </div>
- </div></td>
- </tr>
- <%if (!wl.w_readcontent.Equals("")) %><%{%>
- <tr bgcolor="#FFFFFF">
- <td width="49" valign="top"><div align="center"><span class="style14 style17" style="font-size: 13px">批 阅</span></div></td>
- <td width="929" class="style3" style="text-align: left" ><%=wl.w_readcontent%></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td> </td>
- <td><div align="right" class="style8 style15">
- <div align="left" style="text-align: right"><strong><strong><span class="style17"> <img src="../../img/write.gif" width="7" height="13"></span></strong><span class="style17"> <span class="style15"> </span></span></strong><span class="style17 style15" style="font-size: 13px">批阅人</span><span class="style14 style17 style15">:</span><span class="style17 style15" style="font-size: 13px"><%=uss.u_username%> 批阅时间:<%=wl.w_readtime%></span> </div>
- </div></td>
- </tr>
- <tr>
- <td></td>
- <td>
- <a href="piyuexiu.aspx?w_id=<%=wl.w_id %>">修改批阅</a>
- <a href="piyuedelete.aspx?w_id=<%=wl.w_id %>">删除批阅</a>
- </td>
- </tr>
- <%} %><%else if(wl.w_readcontent.Equals(""))%><%{%>
- <tr>
- <td></td>
- <td>
- <a href="peiyueadd.aspx?w_id=<%=wl.w_id %>">撰写批阅</a>
- </td>
- </tr>
- <% }%>
- <%} %>
- </table>
- <br/>
- 总共 <%=list.Count%> 记录<br/>
- <br/>
- <table width="13%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><a href="javascript:history.go(-1)">返 回</a></td>
- </tr>
- </table>
- <p><br/>
- </p>
- <p> </p>
- </div>
- </form>
- </body>
- </html>