97 lines
		
	
	
		
			5.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			97 lines
		
	
	
		
			5.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| 
								 | 
							
								<%@ 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>
							 | 
						|||
| 
								 | 
							
								                  
							 | 
						|||
| 
								 | 
							
								                <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>
							 | 
						|||
| 
								 | 
							
								                 </td>
							 | 
						|||
| 
								 | 
							
								            <td style="width: 13px">
							 | 
						|||
| 
								 | 
							
								                 </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> 
							 | 
						|||
| 
								 | 
							
								                <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">
							 | 
						|||
| 
								 | 
							
								                 </td>
							 | 
						|||
| 
								 | 
							
								        </tr>
							 | 
						|||
| 
								 | 
							
								        <tr>
							 | 
						|||
| 
								 | 
							
								            <td colspan="4" class="ALine">
							 | 
						|||
| 
								 | 
							
								                <br />
							 | 
						|||
| 
								 | 
							
								            </td>
							 | 
						|||
| 
								 | 
							
								        </tr>
							 | 
						|||
| 
								 | 
							
								        <tr>
							 | 
						|||
| 
								 | 
							
								            <td>
							 | 
						|||
| 
								 | 
							
								                <asp:Label ID="Label7" runat="server" CssClass="Label" Text="相关附件"></asp:Label> </td>
							 | 
						|||
| 
								 | 
							
								            <td colspan="3" align="left">
							 | 
						|||
| 
								 | 
							
								                 
							 | 
						|||
| 
								 | 
							
								                <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="<img src=../Images/detail.gif border=0 title=查看  >"
							 | 
						|||
| 
								 | 
							
								                                                                        ShowDeleteButton="True" ShowHeader="True" DeleteText="<img src=../Images/Delete.gif border=0 title=删除 onclick='return delete_click()'>"
							 | 
						|||
| 
								 | 
							
								                                                                        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>
							 | 
						|||
| 
								 | 
							
								
							 |