| 
									
										
										
										
											2023-08-10 11:40:02 +08:00
										 |  |  | <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InterFaceTaskEdit.aspx.cs" Inherits="FineUIPro.Web.InterFace.InterFaceTaskEdit" %> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <!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> | 
					
						
							|  |  |  | </head> | 
					
						
							|  |  |  | <body> | 
					
						
							|  |  |  |     <form id="form1" runat="server"> | 
					
						
							|  |  |  |         <f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="SimpleForm1" /> | 
					
						
							|  |  |  |         <f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" Title="接口任务添加" AutoScroll="true" | 
					
						
							|  |  |  |             BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right"> | 
					
						
							|  |  |  |             <Rows> | 
					
						
							|  |  |  |                 <f:FormRow> | 
					
						
							|  |  |  |                     <Items> | 
					
						
							|  |  |  |                         <f:TextBox ID="txtInterFaceName" runat="server" Label="任务名称" LabelAlign="Right" AutoPostBack="true" LabelWidth="140px"></f:TextBox> | 
					
						
							| 
									
										
										
										
											2025-03-13 10:52:32 +08:00
										 |  |  |                        <%-- <f:NumberBox ID="txtFrequency" runat="server" NoDecimal="true" NoNegative="false" Label="频率(小时)" MinValue="0" MaxValue="12"> | 
					
						
							|  |  |  |                         </f:NumberBox>--%> | 
					
						
							|  |  |  |                         <f:TextBox ID="txtFrequency" runat="server"   Label="频率(表达式)"  LabelAlign="Right"   LabelWidth="140px" > | 
					
						
							|  |  |  |                         </f:TextBox> | 
					
						
							| 
									
										
										
										
											2023-08-10 11:40:02 +08:00
										 |  |  |                        <f:CheckBox ID="IsEnable" Label="是否启用" runat="server" DisplayType="Switch"  Checked="true"> | 
					
						
							|  |  |  |                 </f:CheckBox> | 
					
						
							|  |  |  |                     </Items> | 
					
						
							|  |  |  |                 </f:FormRow> | 
					
						
							|  |  |  |                 <f:FormRow> | 
					
						
							|  |  |  |                     <Items> | 
					
						
							|  |  |  |                         <f:Grid ID="Grid1" CssClass="blockpanel" ShowBorder="true" ShowHeader="true" Title=""  Margin="24px" | 
					
						
							|  |  |  |                             runat="server" DataKeyNames="id" AllowCellEditing="true" ClicksToEdit="1"    ForceFit="true" | 
					
						
							|  |  |  |                                     EnableCollapse="false"  DataIDField="id"> | 
					
						
							|  |  |  |                             <Toolbars> | 
					
						
							|  |  |  |                                 <f:Toolbar ID="Toolbar2" runat="server" Position="Top" ToolbarAlign="Left"> | 
					
						
							|  |  |  |                                     <Items> | 
					
						
							|  |  |  |                                         <f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill> | 
					
						
							|  |  |  |                                         <f:Button ID="btnNew" ToolTip="增加" Icon="Add" EnablePostBack="false" runat="server"> | 
					
						
							|  |  |  |                                         </f:Button> | 
					
						
							|  |  |  |                                         <f:Button ID="btnDelete" ToolTip="删除" Icon="Delete" EnablePostBack="false" runat="server"> | 
					
						
							|  |  |  |                                         </f:Button> | 
					
						
							|  |  |  |                                     </Items> | 
					
						
							|  |  |  |                                 </f:Toolbar> | 
					
						
							|  |  |  |                             </Toolbars> | 
					
						
							|  |  |  |                             <Columns> | 
					
						
							|  |  |  |                                 <f:RowNumberField HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center" Width="60px"></f:RowNumberField> | 
					
						
							|  |  |  |                                 <f:RenderField ColumnID="InterFaceSetId" DataField="InterFaceSetId" FieldType="String" RendererFunction="render_user"  | 
					
						
							|  |  |  |                                     HeaderText="接口名称" HeaderTextAlign="Center"> | 
					
						
							|  |  |  |                                     <Editor> | 
					
						
							|  |  |  |                                         <f:DropDownList ID="DropInterFaceSet" runat="server" Required="true" ForceSelection="false" EnableEdit="true"></f:DropDownList> | 
					
						
							|  |  |  |                                     </Editor> | 
					
						
							|  |  |  |                                 </f:RenderField> | 
					
						
							|  |  |  |                                  | 
					
						
							|  |  |  |                             </Columns> | 
					
						
							|  |  |  |                         </f:Grid> | 
					
						
							|  |  |  |                     </Items> | 
					
						
							|  |  |  |                 </f:FormRow> | 
					
						
							|  |  |  |             </Rows> | 
					
						
							|  |  |  |             <Toolbars> | 
					
						
							|  |  |  |                 <f:Toolbar ID="Toolbar1" Position="Top" ToolbarAlign="Right" runat="server"> | 
					
						
							|  |  |  |                     <Items> | 
					
						
							|  |  |  |                         <f:ToolbarFill runat="server"> | 
					
						
							|  |  |  |                         </f:ToolbarFill> | 
					
						
							|  |  |  |                         <f:Button ID="btnSave" Icon="SystemSave" runat="server" ToolTip="保存" Text="保存" ValidateForms="SimpleForm1" Size="Medium" | 
					
						
							|  |  |  |                             OnClick="btnSave_Click"> | 
					
						
							|  |  |  |                         </f:Button> | 
					
						
							|  |  |  |                         <f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" Text="关闭" runat="server" Icon="SystemClose" Size="Medium"> | 
					
						
							|  |  |  |                         </f:Button> | 
					
						
							|  |  |  |                     </Items> | 
					
						
							|  |  |  |                 </f:Toolbar> | 
					
						
							|  |  |  |             </Toolbars> | 
					
						
							|  |  |  |         </f:Form> | 
					
						
							|  |  |  |     </form> | 
					
						
							|  |  |  |     <script> | 
					
						
							|  |  |  |         //function onGridDataLoad(event) { | 
					
						
							|  |  |  |         //    this.mergeColumns(['txtPlanningContent']); | 
					
						
							|  |  |  |         //} | 
					
						
							|  |  |  |         var DropProgress_userID = '<%= DropInterFaceSet.ClientID %>'; | 
					
						
							|  |  |  |         function render_user(value) { | 
					
						
							|  |  |  |             return F(DropProgress_userID).getTextByValue(value); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |     </script> | 
					
						
							|  |  |  | </body> | 
					
						
							|  |  |  | </html> |