|
|
@@ -161,28 +161,28 @@ |
|
|
|
success: function (res) { |
|
|
|
if (res.code == 200) { |
|
|
|
if (source == "noLogin") { |
|
|
|
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index"; |
|
|
|
//window.location.href = "/SSOSystem/Index"; |
|
|
|
//window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/Index"; |
|
|
|
window.location.href = "/SSOSystem/Index"; |
|
|
|
} else if (source == "NoLogin") { |
|
|
|
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/DragModelOne"; |
|
|
|
//window.location.href = "/SSOSystem/DragModelOne"; |
|
|
|
//window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/SSOSystem/DragModelOne"; |
|
|
|
window.location.href = "/SSOSystem/DragModelOne"; |
|
|
|
} else { |
|
|
|
if (res.data.pwd == true) { |
|
|
|
if (res.data.pwdtip == true) { |
|
|
|
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index?pwdpwdtip=true"; |
|
|
|
//window.location.href = "/Home/Index?pwdpwdtip=true"; |
|
|
|
//window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index?pwdpwdtip=true"; |
|
|
|
window.location.href = "/Home/Index?pwdpwdtip=true"; |
|
|
|
} else { |
|
|
|
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index?pwd=true"; |
|
|
|
//window.location.href ="/Home/Index?pwd=true"; |
|
|
|
//window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index?pwd=true"; |
|
|
|
window.location.href ="/Home/Index?pwd=true"; |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
if (res.data.pwdtip == true) { |
|
|
|
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index?pwdtip=true"; |
|
|
|
//window.location.href ="/Home/Index?pwdtip=true"; |
|
|
|
//window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index?pwdtip=true"; |
|
|
|
window.location.href ="/Home/Index?pwdtip=true"; |
|
|
|
} else { |
|
|
|
window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index"; |
|
|
|
//window.location.href = "/Home/Index"; |
|
|
|
//window.location.href = DigitalschoolMisLoginurl + "?F_Account=" + username + "&returnurl=" + Returnurl + "/Home/Index"; |
|
|
|
window.location.href = "/Home/Index"; |
|
|
|
} |
|
|
|
//window.location.href = "/Home/Index"; |
|
|
|
} |
|
|
|