platform/Project/WorkReport.aspx

97 lines
5.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Page Language="C#" MasterPageFile="~/masterPage.master" AutoEventWireup="true" CodeFile="WorkReport.aspx.cs" Inherits="Project_WorkReport" %>
<%@ MasterType VirtualPath="~/masterPage.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="Table_Border" width="800px" border="0">
<tr>
<td>
<asp:Label ID="Label1" runat="server" CssClass="Label" Text="所属部门"></asp:Label></td>
<td>
<asp:DropDownList id="drplstProjDept" runat="server" CssClass="DropDownList">
</asp:DropDownList></td>
<td>
</td>
<td style="width: 13px">
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label11" runat="server" CssClass="Label" Text="上传类型"></asp:Label></td>
<td>
<asp:DropDownList id="drplstFileType" runat="server" CssClass="DropDownList">
</asp:DropDownList>
&nbsp;&nbsp;
<asp:Button ID="btnQuery" runat="server" CssClass="Button" Text="查询" OnClick="btnQuery_Click" /></td>
<td>
</td>
<td style="width: 13px">
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label5" runat="server" CssClass="Label" Text="上传工作总结"></asp:Label></td>
<td align="left">
<asp:FileUpload ID="fileUpload" runat="server" /></td>
<td>
&nbsp;</td>
<td style="width: 13px">
&nbsp;</td>
</tr>
<tr>
<td>
<asp:Label ID="Label6" runat="server" CssClass="Label" Text="附件说明"></asp:Label></td>
<td align="left">
<asp:TextBox ID="txtFileDesc" runat="server" CssClass="TextBox" MaxLength="25">
</asp:TextBox>&nbsp;
<asp:Button ID="btnFileUpload" runat="server" CssClass="Button" Text="上传" OnClick="btnFileUpload_Click" ValidationGroup="1" />
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtFileDesc"
ErrorMessage="*" ValidationGroup="1"></asp:RequiredFieldValidator>
<asp:Label id="lbuploadmessage" runat="server" CssClass="Label"></asp:Label></td>
<td align="left">
</td>
<td style="width: 13px">
&nbsp;</td>
</tr>
<tr>
<td colspan="4" class="ALine">
<br />
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label7" runat="server" CssClass="Label" Text="相关附件"></asp:Label>&nbsp;</td>
<td colspan="3" align="left">
&nbsp;
<asp:GridView id="GVFiles" runat="server" AllowPaging="True" AutoGenerateColumns="False"
CssClass="DataGrid" DataKeyNames="ID" OnRowDeleting="GVFiles_RowDeleting"
OnSelectedIndexChanged="GVFiles_SelectedIndexChanged" PagerStyle-HorizontalAlign="Right"
ShowFooter="True" Width="70%">
<columns>
<asp:BoundField ReadOnly="True" DataField="ID" SortExpression="ID"
HeaderText="文件id" Visible="false"></asp:BoundField>
<asp:BoundField ReadOnly="True" DataField="em_name" SortExpression="emp_name"
HeaderText="上传人" ></asp:BoundField>
<asp:BoundField DataField="File_Desc" SortExpression="File_Desc" HeaderText="文件说明"></asp:BoundField>
<asp:BoundField DataField="create_time" SortExpression="create_time" HeaderText="上传时间"
DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="False"></asp:BoundField>
<asp:BoundField DataField="dr" Visible="False" SortExpression="dr" HeaderText="可用"></asp:BoundField>
<asp:CommandField SelectText="&lt;img src=../Images/detail.gif border=0 title=查看 &gt;"
ShowDeleteButton="True" ShowHeader="True" DeleteText="&lt;img src=../Images/Delete.gif border=0 title=删除 onclick='return delete_click()'&gt;"
ShowSelectButton="True" HeaderText="编 辑">
<HeaderStyle Width="15%" HorizontalAlign="Center"></HeaderStyle>
<ItemStyle Width="15%" HorizontalAlign="Center"></ItemStyle>
</asp:CommandField>
</columns>
<rowstyle cssclass="ItemStyle" horizontalalign="Center" />
<emptydatatemplate>
没有数据</emptydatatemplate>
<selectedrowstyle cssclass="SelectedItemStyle" />
<pagerstyle horizontalalign="Right" />
<headerstyle cssclass="HeaderStyle" horizontalalign="Center" />
<alternatingrowstyle cssclass="AlternatingItemStyle" />
</asp:GridView></td>
</tr>
</table>
</asp:Content>