天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

77 lines
2.6 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" Inherits="System.Web.Mvc.ViewPage<QMAPP.Web.Models.Sys.SIParamSetModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
支持交互参数设置
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.HiddenFor(p => p.ID) %>
<table style="width: 360px;overflow: auto">
<tr>
<td align="right">超时时间1</td>
<td><%=Html.QC(p => p.OverTime1)%>(小时)</td>
</tr>
<tr>
<td align="right">超时时间2</td>
<td><%=Html.QC(p => p.OverTime2)%>(小时)</td>
</tr>
<tr>
<td align="right">邮件服务</td>
<td><%=Html.QC(p => p.SmtpServer)%></td>
</tr>
<tr>
<td align="right">登陆用户名</td>
<td><%=Html.QC(p => p.SmtpUser)%></td>
</tr>
<tr>
<td align="right">登陆密码</td>
<td><%=Html.QC(p => p.SmtpPassword)%></td>
</tr>
<tr>
<td align="right">邮件服务器</td>
<td><%=Html.QC(p => p.DoMain)%></td>
</tr>
<tr>
<td align="right">发件人邮箱</td>
<td><%=Html.QC(p => p.FromUserMail)%></td>
</tr>
</table>
<script language="javascript" type="text/javascript">
//保存选择的用户
function SaveSIParamSet(strUserID, strUserName) {
//校验基本信息合法性
if (isValidate() == false) {
return false;
}
$.ajax({
type: "POST",
url: "/SIParamSet/SaveSIParamSet",
async: false,
data: $("#Mainform").serialize(),
success: function (msg) {
if (msg) {
alert("保存成功!");
} else {
alert("保存失败!");
}
}
});
}
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td>
<%=Html.QTButton("save", "SaveSIParamSet", QMFrameWork.WebUI.IconCls.save, "SaveSIParamSet();", QMAPP.Common.Web.SystemLimit.isLimt)%>
<%=Html.QTButton("help", "", "help", "SysHelp('Support050000','SIFlowSetList')", (s, f) => { return true; })%>
</td>
</tr>
</table>
</asp:Content>