tijian_tieying/web/Web/TelFile/TelFileAdd.aspx
2025-02-20 12:14:39 +08:00

127 lines
7.4 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TelFileAdd.aspx.cs" Inherits="TelFile_TelFileAdd" %>
<html>
<head>
<title>
<%=System.Configuration.ConfigurationManager.AppSettings["SYSTitle"]%></title>
<link href="../Style/Style.css" type="text/css" rel="STYLESHEET">
<script src="../UEditor/editor_config.js" type="text/javascript"></script>
<script src="../UEditor/editor_all.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../UEditor/themes/default/ueditor.css" />
<script language="javascript">
function PrintTable() {
document.getElementById("PrintHide").style.visibility = "hidden"
print();
document.getElementById("PrintHide").style.visibility = "visible"
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<table id="PrintHide" style="width: 100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;">
&nbsp;<img src="../images/BanKuaiJianTou.gif" />
<a class="hei" href="../Main/MyDesk.aspx">桌面</a>&nbsp;>>&nbsp;公文收发&nbsp;>>&nbsp;添加传阅文件
</td>
<td align="right" valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;">
&nbsp;<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/Button/Submit.jpg"
OnClick="ImageButton1_Click" />
&nbsp;&nbsp;<img src="../images/Button/JianGe.jpg" />&nbsp;
<img class="HerCss" onclick="javascript:window.history.go(-1)" src="../images/Button/BtnExit.jpg" />&nbsp;
</td>
</tr>
<tr>
<td height="3px" colspan="2" style="background-color: #ffffff">
</td>
</tr>
</table>
<table style="width: 100%" bgcolor="#999999" border="0" cellpadding="2" cellspacing="1">
<tr>
<td align="right" style="width: 170px; background-color: #D6E2F3; height: 25px;">
文件主题:
</td>
<td style="background-color: #ffffff; height: 25px; padding-left: 5px;">
<asp:TextBox ID="TextBox1" runat="server" Width="350px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
ErrorMessage="*该项不可以为空"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
接收人:
</td>
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
<asp:TextBox ID="TextBox2" runat="server" Width="350px"></asp:TextBox>
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectUser.aspx?TableName=ERPUser&LieName=UserName&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('TextBox2').value=wName;}"
src="../images/Button/search.gif" /><asp:CheckBox ID="CHKSMS" runat="server" Checked="True" /><img
src="../images/TreeImages/@sms.gif" />短消息<asp:CheckBox ID="CHKMOB" runat="server" /><img
src="../images/TreeImages/mobile_sms.gif" />短信
</td>
</tr>
<tr>
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
文件类别:
</td>
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
<asp:TextBox ID="TextBox3" runat="server" Width="350px"></asp:TextBox>
<img class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectCondition.aspx?TableName=ERPTelFile&LieName=FileType&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('TextBox3').value=wName;}"
src="../images/Button/search.gif" />
</td>
</tr>
<tr>
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
传阅后归档到:
</td>
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
<asp:DropDownList ID="DropDownList1" runat="server" Width="350px">
<asp:ListItem Value="0">不归档查看</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
附件:
</td>
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
<asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatDirection="Horizontal"
RepeatColumns="4">
</asp:CheckBoxList>
&nbsp;<asp:ImageButton ID="ImageButton3" runat="server" CausesValidation="False"
ImageAlign="AbsMiddle" ImageUrl="../images/Button/DelFile.jpg" OnClick="ImageButton3_Click" />
&nbsp; &nbsp;
<asp:ImageButton ID="ImageButton5" runat="server" CausesValidation="False" ImageAlign="AbsMiddle"
ImageUrl="~/images/Button/ReadFile.gif" OnClick="ImageButton5_Click" />
&nbsp; &nbsp;&nbsp;
<asp:ImageButton ID="ImageButton6" runat="server" CausesValidation="False" ImageAlign="AbsMiddle"
ImageUrl="~/images/Button/EditFile.gif" OnClick="ImageButton6_Click" />
</td>
</tr>
<tr>
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
上传附件:
</td>
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
<asp:FileUpload ID="FileUpload1" runat="server" Width="350px" />
<asp:ImageButton ID="ImageButton2" runat="server" ImageAlign="AbsMiddle" ImageUrl="../images/Button/UpLoad.jpg"
OnClick="ImageButton2_Click" CausesValidation="False" />
</td>
</tr>
<tr>
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
详细内容:
</td>
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
<asp:TextBox ID="TxtContent" runat="server" Width="100%" Rows="10" TextMode="MultiLine"></asp:TextBox>
<script type="text/javascript">
var editor = new baidu.editor.ui.Editor({ id: 'editor', minFrameHeight: 300 }); editor.render("TxtContent");
</script>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>