ChengDa_English/SGGL/FineUIPro.Web/Person/EduTrain/TrainTestRecordEdit.aspx

154 lines
9.1 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="TrainTestRecordEdit.aspx.cs" Inherits="FineUIPro.Web.Person.EduTrain.TrainTestRecordEdit" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>质量巡检</title>
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.labcenter {
text-align: center;
}
.f-grid-row .f-grid-cell-inner {
white-space: normal;
word-break: break-all;
}
.f-grid-row.red {
background-color: #FF7575;
background-image: none;
}
.fontred {
color: #FF7575;
background-image: none;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtTrainingName" runat="server" Required="true" ShowRedStar="true" Label="<%$ Resources:Lan,P_TrainTestRecordEdit_txtTrainingName_Label%>" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:DropDownList ID="drpUnit" AutoPostBack="true" ShowRedStar="true" runat="server" Required="true" Label="<%$ Resources:Lan,P_TrainTestRecordEdit_drpUnit_Label%>" LabelAlign="Right" EmptyText="--请选择--" AutoSelectFirstItem="false" EnableEdit="true">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DatePicker ID="txtDateA" ShowRedStar="true" runat="server" Label="<%$ Resources:Lan,P_PersonTrainingView_txtStartTime_Label%>" Required="true" LabelAlign="Right" ShowTime="true" DateFormatString="yyyy-MM-dd HH:mm:ss"
EnableEdit="true">
</f:DatePicker>
<f:DatePicker ID="txtDateZ" ShowRedStar="true" runat="server" Label="<%$ Resources:Lan,P_PersonTrainingView_txtEndTime_Label%>" Required="true" LabelAlign="Right" ShowTime="true" DateFormatString="yyyy-MM-dd HH:mm:ss"
EnableEdit="true">
</f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpType" ShowRedStar="true" runat="server" EmptyText="--请选择--" AutoSelectFirstItem="false" Label="<%$ Resources:Lan,P_TrainTestRecordEdit_drpType_Label%>" Required="true" LabelAlign="Right" EnableEdit="true">
</f:DropDownList>
<f:NumberBox Label="<%$ Resources:Lan,P_TrainTestRecordEdit_txtPeopleNum_Label%>" ID="txtPeopleNum" runat="server"
NoDecimal="true" NoNegative="true" Required="true"
ShowRedStar="true" />
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Panel ID="Panel2" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
<Items>
<f:Label ID="lblAttach" CssStyle="padding-left:23px" Width="100px" runat="server" CssClass="marginr" ShowLabel="false"
Text="<%$ Resources:Lan,P_TrainTestRecordEdit_lblAttach_Text%>">
</f:Label>
<f:Button ID="btnAttach" Text="<%$ Resources:Lan,P_TrainTestRecordEdit_btnAttach_Text%>" ToolTip="<%$ Resources:Lan,P_TrainTestRecordEdit_imgBtnFile_ToolTip%>" Icon="TableCell" runat="server" OnClick="btnAttach_Click">
</f:Button>
</Items>
</f:Panel>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Panel ID="Panel1" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
<Items>
<f:Label runat="server" Text="考试记录:" CssStyle="padding-left:25px" Width="110px" CssClass="marginr" ShowLabel="false"></f:Label>
<f:Button ID="imgBtnFile" Text="<%$ Resources:Lan,P_TrainTestRecordEdit_imgBtnFile_Text%>" ToolTip="<%$ Resources:Lan,P_TrainTestRecordEdit_imgBtnFile_ToolTip%>" Icon="TableCell" runat="server"
OnClick="imgBtnFile_Click">
</f:Button>
</Items>
</f:Panel>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:HiddenField ID="hdCheckControlCode" runat="server"></f:HiddenField>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnSave" OnClick="btnSave_Click" Icon="SystemSave" runat="server" ToolTip="<%$ Resources:Lan,P_ShuntEdit_btnSave_ToolTip%>" Text="<%$ Resources:Lan,P_ShuntEdit_btnSave_ToolTip%>">
</f:Button>
<f:HiddenField ID="hdId" runat="server">
</f:HiddenField>
<f:HiddenField ID="hdAttachUrl" runat="server">
</f:HiddenField>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
<f:Window ID="Window1" Title="<%$ Resources:Lan,P_TrainTestRecordEdit_Window1_Title%>" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true"
Width="1100px" Height="520px">
</f:Window>
<f:Window ID="WindowAtt" Title="<%$ Resources:Lan,P_PersonTotalView_WindowAtt_Title%>" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" OnClose="WindowAtt_Close" runat="server" IsModal="true" Width="700px"
Height="500px">
</f:Window>
<f:Menu ID="Menu1" runat="server">
<f:MenuButton ID="btnMenuEdit" EnablePostBack="true"
Icon="Pencil" runat="server" Text="">
</f:MenuButton>
<f:MenuButton ID="btnMenuDelete" EnablePostBack="true"
Icon="Delete" ConfirmText="<%$ Resources:Lan,P_ShuntList_Menu1_btnMenuDelete_ConfirmText%>" ConfirmTarget="Parent" runat="server" Text="<%$ Resources:Lan,P_ShuntList_Menu1_btnMenuDelete_Text%>">
</f:MenuButton>
</f:Menu>
</form>
<script>
var menuID = '<%= Menu1.ClientID %>';
// 返回false来阻止浏览器右键菜单
function onRowContextMenu(event, rowId) {
F(menuID).show(); //showAt(event.pageX, event.pageY);
return false;
}
function onGridDataLoad(event) {
this.mergeColumns(['CheckItemType']);
}
</script>
</body>
</html>