rc_read.aspx
资源名称:OASystem.rar [点击查看]
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:4k
源码类别:
OA系统
开发平台:
C#
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="rc_read.aspx.cs" Inherits="rc_rc_read" validateRequest="false"%>
- <%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
- <!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">
- <!--
- .style1 {color: #FFFFFF}
- -->
- </style>
- <link href="../css/link.css" rel="stylesheet" type="text/css"/>
- <style type="text/css">
- <!--
- .style5 {color: #5AAE18; font-weight: bold; }
- -->
- </style>
- <script>
- function check()
- {
- var content=document.getElementById("ftbReadContent").value;
- if(content==""||content==null){
- alert("请输入批阅内容!!");
- return false;
- }
- }
- </script>
- </head>
- <body>
- <table width="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="#5AAE18">
- <tr>
- <td width="6" height="21"><img alt="" src="../images/sj/leftlin1.gif" width="6" height="21"/></td>
- <td width="936" bgcolor="#5AAE18"><div align="center">
- <div align="center" class="style1"><strong>日 程 批 阅</strong></div>
- </div></td>
- <td width="6" height="21"><img alt="" src="../images/sj/rightlin1.gif" width="6" height="21"></td>
- </tr>
- </table>
- <table width="95%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
- <tr>
- <td bgcolor="#FFFFFF" style="height: 610px">
- <form name="form1" method="post" action="" runat="server" onsubmit="return check()">
- <table width="100%" border="0" cellpadding="0" cellspacing="1">
- <tr>
- <td height="12"></td>
- <td height="12">
- <asp:Label ID="lbltoid" runat="server" Text="" Visible="false"></asp:Label></td>
- </tr>
- <tr>
- <td width="94" align="right"><div align="right" style="text-align: right">批 阅:</div></td>
- <td width="452">
- <FTB:FreeTextBox ID="ftbReadContent" runat="server">
- </FTB:FreeTextBox>
- </td>
- </tr>
- <tr>
- <td><div align="right"></div></td>
- <td> </td>
- </tr>
- <tr>
- <td style="height: 24px"><div align="right">日程主题:</div></td>
- <td style="height: 24px"><asp:Label ID="lbltitle" runat="server"></asp:Label> 日程日期:<asp:Label ID="lblnotetime" runat="server"></asp:Label><span class="style5"></span></td>
- </tr>
- <tr>
- <td><div align="right">
- <%
- COM.OA.Entity.users loginuser =Session["loginuser"] as COM.OA.Entity.users;
- if (loginuser == null)
- {
- Response.Write("<script language='javascript'>parent.document.location.href='../login.aspx'</script>");
- return;
- }
- string username = loginuser.u_username;
- %>
- <input id="txtreadrname" name="txtreadname" type="hidden" value="<%=username %>" />
- <% string d = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); %>
- <input name="txtreadtime" type="hidden" id="id" value="<%=d %>"/>
- 日志内容:</div></td>
- <td>
- <asp:TextBox ID="txtcontent" runat="server" Height="83px" TextMode="MultiLine" Width="100%" ReadOnly="True"></asp:TextBox></td>
- </tr>
- <tr>
- <td style="height: 24px"><div align="right">姓名:</div></td>
- <td style="height: 24px">
- <asp:Label ID="lblusername" runat="server"></asp:Label>
- 部门:<asp:Label ID="lbldept" runat="server"></asp:Label>
- 提交时间:<asp:Label ID="lblsendtime" runat="server" Text="Label"></asp:Label>
- </td>
- </tr>
- <tr>
- <td style="height: 27px"> </td>
- <td style="height: 27px">
- <asp:Button ID="btnSubmit" runat="server" Height="27px" Text="提 交" Width="63px" OnClick="btnSubmit_Click" />
- <input name="重置" type="reset" style="FONT-SIZE: 12px; HEIGHT: 27px" value= " 重 填 " />
- <input name="按钮" type="button" style="FONT-SIZE: 12px; HEIGHT: 27px" onclick="javascript:history.go(-1)" value= " 返 回 " />
- </tr>
- </table>
- </form></td>
- </tr>
- </table>
- <p> </p>
- </body>
- </html>