You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
4.3 KiB
Plaintext
129 lines
4.3 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en" class="no-js">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>驰骋BPM云平台 - 找回密码</title>
|
|
<script type="text/javascript" src="/WF/Scripts/jquery-1.7.2.min.js"></script>
|
|
<script src="/WF/Scripts/QueryString.js" type="text/javascript"></script>
|
|
<script src="/WF/Scripts/config.js" type="text/javascript"></script>
|
|
<script src="/WF/Comm/Gener.js" type="text/javascript"></script>
|
|
<script src="GenerScript.js"></script>
|
|
<script src="/WF/Scripts/layui/layui/layui.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
function Save() {
|
|
|
|
var val = $("#TB_Email").val();
|
|
|
|
var handler = new HttpHandler("BP.Cloud.HttpHandler.App_Portal");
|
|
handler.AddPara("Email", val);
|
|
var data = handler.DoMethodReturnString("PasswordReq_Save");
|
|
alert(data);
|
|
|
|
|
|
SetHref( "Login.html");
|
|
}
|
|
function Back() {
|
|
SetHref("Login.html");
|
|
}
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<!--注册页面-->
|
|
<form id="zhou">
|
|
|
|
<center>
|
|
|
|
<table style="width:90%;border:1px;">
|
|
<tr>
|
|
<td colspan="4">
|
|
<div id="toolbar"></div>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td valign="top">
|
|
<ul>
|
|
<li> 提供您注册时候用的邮件。 </li>
|
|
<li> 系统就会把重置密码的连接发到您的邮件里。 </li>
|
|
<li> 登录您的邮件后,点击重置密码连接就可以。 </li>
|
|
<li> <font color="red">如果您没有在收件箱里收到邮件,可能在垃圾箱里。</font> </li>
|
|
<li> 如果您忘记了注册邮件,请打电话给我们的工作人员。 </li>
|
|
</ul>
|
|
</td>
|
|
<td style="text-align:left; width:50%; " valign="top">
|
|
<br />
|
|
<fieldset>
|
|
<legend>根据注册邮箱或者帐号找回密码</legend>
|
|
<br />
|
|
<br />
|
|
<label> 邮箱</label>
|
|
|
|
<input type="text" value="" id="TB_Email" name="TB_Email" onblur="CheckEmail()"
|
|
placeholder="请输入邮箱Or帐号" />
|
|
|
|
|
|
<input type="button" value="确定" id="Btn_Submit" onclick="Save()" />
|
|
<input type="button" value="返回登录" id="Btn_Back" onclick="Back();" />
|
|
<br />
|
|
|
|
</fieldset>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</center>
|
|
|
|
<center>
|
|
<div id="FrmEnd">
|
|
</div>
|
|
</center>
|
|
|
|
<div id="WeiXin"></div>
|
|
|
|
</form>
|
|
<script type="text/javascript">
|
|
var code = "qfjkjnfjkdjfk";
|
|
//检验邮箱格式是否正确
|
|
function CheckEmail() {
|
|
var email = $("#TB_Email").val();
|
|
var reg = /^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/;
|
|
if (reg.test(email)) {
|
|
|
|
$('#BT_SendCode').attr("disabled", false);
|
|
|
|
|
|
} else {
|
|
alert("邮箱格式不正确");
|
|
// $('#BT_SendCode').attr("disabled",true);
|
|
return;
|
|
}
|
|
|
|
|
|
}
|
|
//发送邮箱验证码
|
|
function SendCode() {
|
|
var handler = new HttpHandler("BP.Cloud.HttpHandler.Root");
|
|
var ceshi = $("#TB_Email").val()
|
|
handler.AddPara("TB_Email", $("#TB_Email").val());
|
|
var data = handler.DoMethodReturnString("ReqPass_SendCode");
|
|
if (data.indexOf('err@') == 0) {
|
|
alert(data);
|
|
return;
|
|
}
|
|
code = data.substring(4);
|
|
alert("发送成功");
|
|
|
|
// SetHref( "/Admin/Portal/Default";
|
|
};
|
|
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|
|
|