2023-08-04 17:06:50 +08:00
|
|
|
<%@ 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">
|
2026-11-02 11:16:43 +08:00
|
|
|
<title><asp:Literal runat="server" Mode="Encode" Text="<%$ Resources:UiText, T_编辑接口设置 %>" /></title>
|
2023-08-04 17:06:50 +08:00
|
|
|
<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>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:TextBox ID="txtFaceName" runat="server" Label="<%$ Resources:UiText, T_接口名称 %>" Required="true" ShowRedStar="true" MaxLength="50"
|
2023-08-04 17:06:50 +08:00
|
|
|
FocusOnPageLoad="true">
|
|
|
|
|
</f:TextBox>
|
|
|
|
|
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
|
|
|
|
|
|
|
|
|
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:DropDownList ID="drpUnit" runat="server" Label="<%$ Resources:UiText, T_源单位 %>" EnableEdit="true" ForceSelection="false"
|
2023-08-04 17:06:50 +08:00
|
|
|
Required="true" ShowRedStar="true">
|
|
|
|
|
</f:DropDownList>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:TextBox ID="txtFaceUrl" runat="server" Label="<%$ Resources:UiText, T_来源地址 %>" Required="true" ShowRedStar="true" >
|
2023-08-04 17:06:50 +08:00
|
|
|
</f:TextBox>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:DropDownList ID="DrpUrlReqMethod" runat="server" Label="<%$ Resources:UiText, T_请求类型 %>" EnableEdit="false" ForceSelection="false"
|
2023-08-04 17:06:50 +08:00
|
|
|
Required="true" ShowRedStar="true">
|
|
|
|
|
</f:DropDownList>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
|
|
|
|
<f:DropDownBox runat="server" ID="drpAuthUnit" DataControlID="rbAuthUnits"
|
2026-11-02 11:16:43 +08:00
|
|
|
Label="<%$ Resources:UiText, T_目标单位 %>" MaxLength="4000">
|
2023-08-04 17:06:50 +08:00
|
|
|
<PopPanel>
|
|
|
|
|
<f:SimpleForm ID="SimpleForm2" BodyPadding="10px" runat="server" AutoScroll="true"
|
|
|
|
|
ShowBorder="True" ShowHeader="false" Hidden="true">
|
|
|
|
|
<Items>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:Label ID="Label1" runat="server" Text="<%$ Resources:UiText, T_请选择目标单位 %>"></f:Label>
|
2023-08-04 17:06:50 +08:00
|
|
|
<f:CheckBoxList ID="rbAuthUnits" ColumnNumber="3" runat="server">
|
|
|
|
|
</f:CheckBoxList>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:SimpleForm>
|
|
|
|
|
</PopPanel>
|
|
|
|
|
</f:DropDownBox>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:TextBox ID="txtFaceForUrl" runat="server" Label="<%$ Resources:UiText, T_目标地址 %>" Required="true" ShowRedStar="true">
|
2023-08-04 17:06:50 +08:00
|
|
|
</f:TextBox>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:DropDownList ID="DrpForUrlReqMethod" runat="server" Label="<%$ Resources:UiText, T_请求类型 %>" EnableEdit="false" ForceSelection="false"
|
2023-08-04 17:06:50 +08:00
|
|
|
Required="true" ShowRedStar="true">
|
|
|
|
|
</f:DropDownList>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:CheckBox ID="IsCallBack" Label="<%$ Resources:UiText, T_是否回调 %>" runat="server" DisplayType="Switch" OnCheckedChanged="IsCallBack_CheckedChanged"
|
2023-08-04 17:06:50 +08:00
|
|
|
Checked="true" AutoPostBack="true">
|
|
|
|
|
</f:CheckBox>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:TextBox ID="txtCallBackUrl" runat="server" Label="<%$ Resources:UiText, T_回调地址 %>" Hidden="false" >
|
2023-08-04 17:06:50 +08:00
|
|
|
</f:TextBox>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:DropDownList ID="DrpCallBackUrlReqMethod" runat="server" Label="<%$ Resources:UiText, T_请求类型 %>" EnableEdit="false" ForceSelection="false"
|
2023-08-04 17:06:50 +08:00
|
|
|
Required="true" ShowRedStar="true">
|
|
|
|
|
</f:DropDownList>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:DropDownList ID="drpIsOpen" runat="server" Label="<%$ Resources:UiText, T_是否启用 %>" EnableEdit="false" ForceSelection="false"
|
2023-08-04 17:06:50 +08:00
|
|
|
Required="true" ShowRedStar="true">
|
|
|
|
|
</f:DropDownList>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:TextBox ID="txtRemarks" runat="server" Label="<%$ Resources:UiText, T_描述 %>" MaxLength="500">
|
2023-08-04 17:06:50 +08:00
|
|
|
</f:TextBox>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
</Rows>
|
|
|
|
|
<Toolbars>
|
|
|
|
|
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
|
|
|
|
<Items>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="<%$ Resources:UiText, T_保存 %>" ToolTip="<%$ Resources:UiText, T_保存 %>" ValidateForms="SimpleForm1" Hidden="true"
|
2023-08-04 17:06:50 +08:00
|
|
|
OnClick="btnSave_Click">
|
|
|
|
|
</f:Button>
|
2026-11-02 11:16:43 +08:00
|
|
|
<f:Button ID="btnClose" EnablePostBack="false" Text="<%$ Resources:UiText, T_关闭 %>" ToolTip="<%$ Resources:UiText, T_关闭 %>" runat="server" Icon="SystemClose">
|
2023-08-04 17:06:50 +08:00
|
|
|
</f:Button>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:Toolbar>
|
|
|
|
|
</Toolbars>
|
|
|
|
|
</f:Form>
|
|
|
|
|
</form>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|