Files
SGGL_SHJ/SGGL/FineUIPro.Web/TaskScheduling/InterFace/InterFaceEdit.aspx
T
lpf e30bb4b1b7 feat(i18n): 支持系统中英文切换
为页面、菜单及提示接入中英文资源,保留业务值和导出中文标题,以支持用户切换界面语言。
2026-11-02 11:16:43 +08:00

97 lines
5.7 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InterFaceEdit.aspx.cs" Inherits="FineUIPro.Web.InterFace.InterFaceEdit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><asp:Literal runat="server" Mode="Encode" Text="<%$ Resources:UiText, T_编辑接口设置 %>" /></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</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:TextBox ID="txtFaceName" runat="server" Label="<%$ Resources:UiText, T_接口名称 %>" Required="true" ShowRedStar="true" MaxLength="50"
FocusOnPageLoad="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpUnit" runat="server" Label="<%$ Resources:UiText, T_源单位 %>" EnableEdit="true" ForceSelection="false"
Required="true" ShowRedStar="true">
</f:DropDownList>
<f:TextBox ID="txtFaceUrl" runat="server" Label="<%$ Resources:UiText, T_来源地址 %>" Required="true" ShowRedStar="true" >
</f:TextBox>
<f:DropDownList ID="DrpUrlReqMethod" runat="server" Label="<%$ Resources:UiText, T_请求类型 %>" EnableEdit="false" ForceSelection="false"
Required="true" ShowRedStar="true">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownBox runat="server" ID="drpAuthUnit" DataControlID="rbAuthUnits"
Label="<%$ Resources:UiText, T_目标单位 %>" MaxLength="4000">
<PopPanel>
<f:SimpleForm ID="SimpleForm2" BodyPadding="10px" runat="server" AutoScroll="true"
ShowBorder="True" ShowHeader="false" Hidden="true">
<Items>
<f:Label ID="Label1" runat="server" Text="<%$ Resources:UiText, T_请选择目标单位 %>"></f:Label>
<f:CheckBoxList ID="rbAuthUnits" ColumnNumber="3" runat="server">
</f:CheckBoxList>
</Items>
</f:SimpleForm>
</PopPanel>
</f:DropDownBox>
<f:TextBox ID="txtFaceForUrl" runat="server" Label="<%$ Resources:UiText, T_目标地址 %>" Required="true" ShowRedStar="true">
</f:TextBox>
<f:DropDownList ID="DrpForUrlReqMethod" runat="server" Label="<%$ Resources:UiText, T_请求类型 %>" EnableEdit="false" ForceSelection="false"
Required="true" ShowRedStar="true">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:CheckBox ID="IsCallBack" Label="<%$ Resources:UiText, T_是否回调 %>" runat="server" DisplayType="Switch" OnCheckedChanged="IsCallBack_CheckedChanged"
Checked="true" AutoPostBack="true">
</f:CheckBox>
<f:TextBox ID="txtCallBackUrl" runat="server" Label="<%$ Resources:UiText, T_回调地址 %>" Hidden="false" >
</f:TextBox>
<f:DropDownList ID="DrpCallBackUrlReqMethod" runat="server" Label="<%$ Resources:UiText, T_请求类型 %>" EnableEdit="false" ForceSelection="false"
Required="true" ShowRedStar="true">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpIsOpen" runat="server" Label="<%$ Resources:UiText, T_是否启用 %>" EnableEdit="false" ForceSelection="false"
Required="true" ShowRedStar="true">
</f:DropDownList>
<f:TextBox ID="txtRemarks" runat="server" Label="<%$ Resources:UiText, T_描述 %>" MaxLength="500">
</f:TextBox>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="<%$ Resources:UiText, T_保存 %>" ToolTip="<%$ Resources:UiText, T_保存 %>" ValidateForms="SimpleForm1" Hidden="true"
OnClick="btnSave_Click">
</f:Button>
<f:Button ID="btnClose" EnablePostBack="false" Text="<%$ Resources:UiText, T_关闭 %>" ToolTip="<%$ Resources:UiText, T_关闭 %>" runat="server" Icon="SystemClose">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
</form>
</body>
</html>