天津投入产出系统后端
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.

69 lines
2.6 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" Inherits="System.Web.Mvc.ViewPage<QMAPP.Web.Models.Sys.UserModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPEdit()%>
<table id="editTable">
<tr>
<td align="center">
<table>
<tr>
<th align=right>
<%=Html.Label("用户名")%></th>
<td align=left>
<%=Html.QReadOnlyTextboxFor(p => p.LoginUserID)%>
</td>
</tr>
<tr>
<th align=right>
<%=Html.Label("员工姓名")%></th>
<td align=left>
<%=Html.QReadOnlyTextboxFor(p => p.UserName)%></td>
</tr>
<tr>
<th align=right><%=Html.QV(p => p.PassWord)%></th><td align=left><%=Html.QC(p => p.PassWord)%> </td>
</tr>
<tr>
<th align=right><%=Html.QV(p => p.RepartPassWord)%></th><td align=left><%=Html.QC(p => p.RepartPassWord)%> </td>
</tr>
</table>
</td>
</tr>
</table>
<%=Html.HiddenFor(p=>p.UserID) %>
<%=Html.QPEnd() %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table width="100%" cellpadding=0 cellspacing=0>
<tr>
<td>
<%=Html.QTButtonSave("User", "SetPassWord", "SetPassWord()")%>
<%=Html.QTButton("close", "close","close", "parent.closeAppWindow1();return false;", (s, f) => { return true; })%>
</td>
</tr>
</table>
<script language=javascript>
//设置密码
function SetPassWord() {
//校验基本信息合法性
if (isValidate() == false) {
return false;
}
if (document.getElementById("PassWord") != null) {
//判断密码输入是否一致
if (document.getElementById("PassWord").value != document.getElementById("RepartPassWord").value) {
MSI("提示", "两次输入的密码不一致!");
return false;
}
}
submitByButton("SetPassWord");
}
</script>
</asp:Content>