Basf_FCL/FCL/FineUIPro.Web/Evaluation/EvaluationUpload.aspx

81 lines
4.5 KiB
Plaintext
Raw 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#" AutoEventWireup="true" CodeBehind="EvaluationUpload.aspx.cs" Inherits="FineUIPro.Web.Evaluation.EvaluationUpload" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style>
.result img {
border: 1px solid #CCCCCC;
max-width: 550px;
padding: 3px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<f:Panel ID="Panel1" BodyPadding="10px" Margin="0 5px 0 0" AutoScroll="true" runat="server" EnableCollapse="true" Title="" ShowHeader="true">
<Items>
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:FileUpload runat="server" ID="foFile" EmptyText="Please select the file" Label="File" LabelAlign="Right" ButtonIcon="Add">
</f:FileUpload>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList runat="server" ID="ddlType" Label="Type" LabelAlign="Right">
<f:ListItem Text="MOM" Value="MOM" />
<f:ListItem Text="图片" Value="图片" />
<f:ListItem Text="违章记录/罚款记录" Value="违章记录/罚款记录" />
<f:ListItem Text="投诉信" Value="投诉信" />
<f:ListItem Text="NCR" Value="NCR" />
<f:ListItem Text="事故分析报告" Value="事故分析报告" />
<f:ListItem Text="年审报告" Value="年审报告" />
<f:ListItem Text="其他" Value="其他" />
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox runat="server" Label="Remark" ID="txtRemark" LabelAlign="Right">
</f:TextBox>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill>
<f:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" ValidateForms="SimpleForm1"
Text="Submit">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
</Items>
<Items>
<f:Grid ID="Grid1" IsFluid="true" CssClass="blockpanel" ShowBorder="true" ShowHeader="false" Title="附件列表" runat="server" AllowPaging="true" IsDatabasePaging="true" PageSize="5" OnPageIndexChange="Grid1_PageIndexChange" SortDirection="DESC" SortField="UploadDate" OnSort="Grid1_Sort" EnableColumnLines="true"
DataKeyNames="FileId" OnRowCommand="Grid1_RowCommand">
<Columns>
<f:BoundField Width="300px" DataField="FileName" HeaderText="File Name" HeaderTextAlign="Center" ExpandUnusedSpace="true" />
<f:BoundField Width="150px" DataField="FO" HeaderText="Fo No" HeaderTextAlign="Center" />
<f:BoundField Width="100px" DataField="UploadDate" DataFormatString="{0:yyyy-MM-dd}" HeaderText="Data" HeaderTextAlign="Center" />
<f:LinkButtonField Width="80px" ConfirmText="Confirm to delete" ConfirmTarget="Top" CommandName="Delete" Icon="Delete" />
</Columns>
</f:Grid>
<f:HiddenField runat="server" ID="hidFo"></f:HiddenField>
<f:HiddenField runat="server" ID="hidIsEvaluateType"></f:HiddenField>
</Items>
</f:Panel>
</form>
</body>
</html>