📄 gw_urge.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="gw_urge.aspx.cs" Inherits="gw_gw_urge" 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">
<style type="text/css">
div.RoundedCorner{background: #5AAE18}
b.rtop, b.rbottom{display:block;background: #FFF}
b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #5AAE18}
b.r1{margin: 0 4px}
b.r2{margin: 0 3px}
b.r3{margin: 0 2px}
b.rtop b.r4, {margin: 0 1px;height: 1px}
.style1 {
font-size: 13px;
color: #FFFFFF;
font-weight: bold;
}
</style>
<script type="text/javascript" language="JavaScript">
<!--
function check() {
if (document.getElementById("sendto").value=="") {
window.alert ("请您添加接收人!")
document.getElementById("sendto").focus()
return false;
}
}
//-->
</script>
<script type="text/javascript" language="JavaScript">
function Button1_onclick() {
var name = document.getElementById("ddlname").value;
document.getElementById("sendto").value=name;
}
function Button2_onclick() {
document.getElementById("sendto").value=" ";
}
function Reset1_onclick() {
}
function focus(){
this.FreeTextBox1.text.selected();
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<title>短消息发送</title>
<style type="text/css">
<!--
.style2 {color: #FF0000}
.style5 {color: 12; font-size: 12px; }
.style36 {
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.style37 {font-size: 12px}
.style38 {font-size: 13px;
color: #FFFFFF;
font-weight: bold;
}
.style7 { color: #FFFFFF;
font-size: 12px;
}
-->
</style>
</head>
<body>
<div align="center">
<table width="760" border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2" style="height: 15px; width: 836px;" >
<div class="RoundedCorner"><div align="center">
<b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
<span class="style1">公 文 催 办 提 醒</span></div>
</div></td></tr>
</table>
<table width="760" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
<tr>
<td bgcolor="#FFFFFF"><table width="99%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="785">
<form action="" method="post" name="form1" runat="server" >
<table width="99%" border="0" cellpadding="3" cellspacing="0" bgcolor="#AFDBFF">
<tr bgcolor="#FFFFFF">
<td height="12"></td>
<td height="12"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="82"><div align="left" class="style5" style="text-align: center">选择接收人:</div></td>
<td width="649"><div align="left">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:DropDownList ID="ddldepartment" runat="server" AutoPostBack="True" DataSourceID="ObjectDataSource1"
DataTextField="dept_department" DataValueField="dept_id" OnSelectedIndexChanged="ddldepartment_SelectedIndexChanged">
<asp:ListItem Value="0">请选择部门</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="ddlname" runat="server" AutoPostBack="True">
<asp:ListItem Value="0">请选择对象</asp:ListItem>
</asp:DropDownList>
<input type="button" value="增加" id="Button1" onclick="return Button1_onclick()"/>
</ContentTemplate>
</asp:UpdatePanel>
</div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td style="height: 51px; text-align: center;"><span class="style5">接收人:</span></td>
<td style="height: 51px"><input name="sendto" type="text" id="sendto" value="" readonly="true" style="width: 542px"/>
<input type="button" name="Submit" value="清除" id="Button2" onclick="return Button2_onclick()"/></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><div align="left" class="style5" style="text-align: center">标题:</div></td>
<%string mtitle = this.Request.QueryString["mtitle"]; %>
<td><input name="mtitle" type="text" id="mtitle" value="关于公文"<%=mtitle %>"的办理提醒" size="30" maxlength="50"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><p align="center" style="text-align: center"><img alt="" src="../images/sj/pic4.gif"width="43" height="50"/><br/>
</p></td>
<td>
<ftb:freetextbox id="FreeTextBox1" runat="server" Text="你好,请办理公文!点击查看"></ftb:freetextbox>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="12" colspan="2"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td>
<%
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 name="username" type="hidden" id="username" value="<%=username %>"/>
<% string d = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); %>
<input id="txtsendtime" name="txtsendtime" type="hidden" value="<%=d %>" /></td>
<td> <asp:Button ID="btnSend" runat="server" Height="26px" OnClick="btnSend_Click"
Text="发送" Width="59px" />
<input name="重置" type="reset" style="FONT-SIZE: 12px; HEIGHT: 27px" value= " 重 写 " id="Reset1" onclick="return Reset1_onclick()" />
<input name="按钮" type="button" style="FONT-SIZE: 12px; HEIGHT: 27px" onclick="javascript:history.go(-1)" value= " 取 消 " />
</td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table>
<p>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="Select"
TypeName="COM.OA.BLL.departmentBLL"></asp:ObjectDataSource>
</p>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -