|
|
@@ -198,7 +198,7 @@ var bootstrap = function ($, learun) { |
|
|
|
// area: ['500px', '300px'] |
|
|
|
// }); |
|
|
|
//} |
|
|
|
if (pwd == "true") { |
|
|
|
if (pwd == "true" || sessionStorage.getItem("pase_29d") == "hm") { |
|
|
|
top.layer.open({ |
|
|
|
id: 'pwdform', |
|
|
|
title: '密码修改', |
|
|
@@ -215,6 +215,8 @@ var bootstrap = function ($, learun) { |
|
|
|
}, |
|
|
|
yes: function (index, layero) { |
|
|
|
var flag = top['layer_pwdform'].acceptClick(function () { |
|
|
|
//删除seesion |
|
|
|
sessionStorage.removeItem("pase_29d"); |
|
|
|
top.location.href = "/Login/Index"; |
|
|
|
}); |
|
|
|
if (!!flag) { |
|
|
@@ -226,7 +228,7 @@ var bootstrap = function ($, learun) { |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
if (pwd == "first") { |
|
|
|
if (pwd == "first" || sessionStorage.getItem("pase_29d") == "fs") { |
|
|
|
top.layer.open({ |
|
|
|
id: 'pwdform', |
|
|
|
title: '密码修改', |
|
|
@@ -243,6 +245,8 @@ var bootstrap = function ($, learun) { |
|
|
|
}, |
|
|
|
yes: function (index, layero) { |
|
|
|
var flag = top['layer_pwdform'].acceptClick(function () { |
|
|
|
//删除seesion |
|
|
|
sessionStorage.removeItem("pase_29d"); |
|
|
|
top.location.href = "/Login/Index"; |
|
|
|
}); |
|
|
|
if (!!flag) { |
|
|
|