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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="rc_read.aspx.cs" Inherits="rc_rc_read" validateRequest="false"%>
  2. <%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" >
  5. <head runat="server">
  6.    <title>日 程 批 阅</title> 
  7. <style type="text/css">
  8. <!--
  9. .style1 {color: #FFFFFF}
  10. -->
  11. </style>
  12. <link href="../css/link.css" rel="stylesheet" type="text/css"/>
  13. <style type="text/css">
  14. <!--
  15. .style5 {color: #5AAE18; font-weight: bold; }
  16. -->
  17. </style>
  18. <script>
  19. function check()
  20. {
  21.     var content=document.getElementById("ftbReadContent").value;
  22.     if(content==""||content==null){
  23.         alert("请输入批阅内容!!");
  24.         return false;
  25.     }
  26. }
  27. </script>
  28. </head>
  29. <body>
  30. <table width="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="#5AAE18">
  31.   <tr>
  32.     <td width="6" height="21"><img alt="" src="../images/sj/leftlin1.gif" width="6" height="21"/></td>
  33.     <td width="936" bgcolor="#5AAE18"><div align="center">
  34.         <div align="center" class="style1"><strong>日 程 批 阅</strong></div>
  35.         </div></td>
  36.     <td width="6" height="21"><img alt="" src="../images/sj/rightlin1.gif" width="6" height="21"></td>
  37.   </tr>
  38. </table>
  39. <table width="95%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
  40.   <tr>
  41.     <td bgcolor="#FFFFFF" style="height: 610px">
  42.     <form name="form1" method="post" action="" runat="server" onsubmit="return check()">
  43.       <table width="100%" border="0" cellpadding="0" cellspacing="1">
  44.         <tr>
  45.           <td height="12"></td>
  46.           <td height="12">
  47.               <asp:Label ID="lbltoid" runat="server" Text="" Visible="false"></asp:Label></td>
  48.         </tr>
  49.         <tr>
  50.           <td width="94" align="right"><div align="right" style="text-align: right">批 阅:</div></td>
  51.           <td width="452">
  52.               &nbsp;<FTB:FreeTextBox ID="ftbReadContent" runat="server">
  53.               </FTB:FreeTextBox>
  54.           </td>
  55.         </tr>
  56.         <tr>
  57.           <td><div align="right"></div></td>
  58.           <td>&nbsp;</td>
  59.         </tr>
  60.         <tr>
  61.           <td style="height: 24px"><div align="right">日程主题:</div></td>
  62.           <td style="height: 24px"><asp:Label ID="lbltitle" runat="server"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;日程日期:<asp:Label ID="lblnotetime" runat="server"></asp:Label><span class="style5"></span></td>
  63.         </tr>
  64.         <tr>
  65.           <td><div align="right">
  66.               <%
  67.                 COM.OA.Entity.users loginuser =Session["loginuser"] as COM.OA.Entity.users;
  68.                 
  69.                 if (loginuser == null)
  70.                 {
  71.                     Response.Write("<script language='javascript'>parent.document.location.href='../login.aspx'</script>");  
  72.                     return;
  73.                 }
  74.                 string username = loginuser.u_username;
  75.          %>
  76.           <input id="txtreadrname" name="txtreadname" type="hidden" value="<%=username %>" />
  77.           <% string d = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); %>
  78.             <input name="txtreadtime" type="hidden" id="id" value="<%=d %>"/>
  79.             日志内容:</div></td>
  80.           <td>
  81.               <asp:TextBox ID="txtcontent" runat="server" Height="83px" TextMode="MultiLine" Width="100%" ReadOnly="True"></asp:TextBox></td>
  82.         </tr>
  83.         <tr>
  84.           <td style="height: 24px"><div align="right">姓名:</div></td>
  85.           <td style="height: 24px">
  86.               <asp:Label ID="lblusername" runat="server"></asp:Label>
  87.               &nbsp;&nbsp; 部门:<asp:Label ID="lbldept" runat="server"></asp:Label>
  88.               &nbsp; &nbsp; 提交时间:<asp:Label ID="lblsendtime" runat="server" Text="Label"></asp:Label>
  89.           </td>
  90.         </tr>
  91.         <tr>
  92.           <td style="height: 27px">&nbsp;</td>
  93.           <td style="height: 27px">
  94.               &nbsp;<asp:Button ID="btnSubmit" runat="server" Height="27px" Text="提 交" Width="63px" OnClick="btnSubmit_Click" />
  95.             <input name="重置" type="reset" style="FONT-SIZE: 12px; HEIGHT: 27px"  value= " 重 填 " />
  96.             <input name="按钮" type="button" style="FONT-SIZE: 12px; HEIGHT: 27px"   onclick="javascript:history.go(-1)" value= " 返 回 " />             
  97.         </tr>
  98.       </table>
  99.     </form></td>
  100.   </tr>
  101. </table>
  102. <p>&nbsp;</p>
  103. </body>
  104. </html>