Commit c55b67d5 by fengshuonan

修改重置密码对话框

parent 9238cdac
......@@ -136,9 +136,11 @@ var Feng = {
$.ajaxSetup({
contentType: "application/x-www-form-urlencoded;charset=utf-8",
complete: function (XMLHttpRequest, textStatus) {
//通过XMLHttpRequest取得响应头,sessionstatus,
var sessionstatus = XMLHttpRequest.getResponseHeader("sessionstatus");
if (sessionstatus === "timeout") {
//如果超时就处理 ,指定要跳转的页面
window.location = Feng.ctxPath + "/global/sessionError";
}
......
......@@ -150,10 +150,7 @@ MgrUser.unfreeze = function () {
MgrUser.resetPwd = function () {
if (this.check()) {
var userId = this.seItem.id;
parent.layer.confirm('是否重置密码为111111?', {
btn: ['确定', '取消'],
shade: false //不显示遮罩
}, function () {
Feng.confirm("是否重置密码为111111 ?", function(){
var ajax = new $ax(Feng.ctxPath + "/mgr/reset", function (data) {
Feng.success("重置密码成功!");
}, function (data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment