add_report.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:6k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="add_report.aspx.cs" Inherits="web_report_add_report" %>
- <!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 id="Head1" runat="server">
- <title>无标题页</title>
- <script type="text/javascript" language="javascript">
- function selectEmployee()
- {
- var url = "../personnel/curricula_vitae/employee_select_index.aspx";
- var features = "width=1010,height=710,top=0,left=0,location=no,toolbar=no,status=no,resizable=yes,scrollbars=yes";
- var employee = open(url, 'selectDepartment', features);
- employee.focus();
- }
- </script>
- <link href="../../css/style.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <center>
- <asp:Panel ID="Panel1" runat="server">
- <table id="Table1" runat="server" border="0" style="width: 700px; position: relative">
- <tr>
- <td align="center" colspan="3" style="height: 22px">
- <br />
- <asp:Label ID="Label5" runat="server" Font-Bold="True" Font-Size="Medium" Style="left: 0px;
- position: relative" Text="寫報告"></asp:Label><br />
- </td>
- </tr>
- <tr>
- <td align="center" style="width: 150px; height: 26px">
- <asp:Label ID="Label1" runat="server" Style="position: relative" Text="標題"></asp:Label></td>
- <td align="left" style="height: 26px">
- <asp:TextBox ID="TxtTitle" runat="server" Style="position: relative" Width="300px"></asp:TextBox></td>
- <td>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtTitle"
- ErrorMessage="標題不能為空"></asp:RequiredFieldValidator></td>
- </tr>
- <tr>
- <td align="center" style="width: 150px">
- <asp:Label ID="Label2" runat="server" Style="position: relative" Text="內容"></asp:Label></td>
- <td align="left">
- <asp:TextBox ID="TxtContent" runat="server" Rows="10" Style="position: relative"
- TextMode="MultiLine" Width="350px"></asp:TextBox></td>
- <td>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxtContent"
- ErrorMessage="內容不能為空"></asp:RequiredFieldValidator></td>
- </tr>
- <tr>
- <td>
- <asp:Label ID="Label6" runat="server" Style="position: relative" Text="建議"></asp:Label></td>
- <td align="left">
- <asp:TextBox ID="TxtProposal" Rows="5" TextMode="MultiLine" Width="350px" runat="server" Style="position: relative"></asp:TextBox></td>
- <td></td>
- </tr>
- <tr>
- <td>
- <asp:Label ID="Label7" runat="server" Style="position: relative" Text="總結"></asp:Label></td>
- <td align="left">
- <asp:TextBox ID="TxtSummarize" Rows="5" TextMode="MultiLine" Width="350px" runat="server" Style="position: relative"></asp:TextBox></td>
- <td></td>
- </tr>
- <tr>
- <td align="center" style="width: 150px;">
- <asp:Label ID="Label3" runat="server" Style="position: relative" Text="收件人"></asp:Label></td>
- <td align="left">
- <asp:Button ID="BtnSelectEmployee" runat="server" OnClientClick="selectEmployee()"
- Style="position: relative" Text="選擇收件人" />
- <span id="TxtEmployees" style="position: relative"></span>
- <input id="Employee_ids" runat="server" type="hidden" />
- </td>
- <td>
- <asp:Label ID="LblReceivers" runat="server" ForeColor="Red" Style="position: relative"></asp:Label></td>
- </tr>
- <tr>
- <td align="center" style="width: 150px; height: 21px">
- <asp:Label ID="Label4" runat="server" Style="position: relative" Text="附件"></asp:Label>
- </td>
- <td align="left" style="height: 21px">
- <asp:FileUpload ID="FileUpload1" runat="server" Style="position: relative" Width="350px" />
- <input id="ContentLength" runat="server" style="position: relative" type="hidden" /></td>
- <td>
- <asp:Label ID="LblFileError" runat="server" ForeColor="Red"></asp:Label></td>
- </tr>
- <tr>
- <td align="center" colspan="3" style="height: 26px">
- <asp:Button ID="btnOK" runat="server" Style="position: relative" Text="發送" OnClick="btnOK_Click" />
- </td>
- </tr>
- </table>
- </asp:Panel>
- </center>
- </div>
- </form>
- </body>
- </html>