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.
DS7/DSWebMobile/Scripts/validate.min.js

1 line
1.4 KiB
JavaScript

3 years ago
$(function(){$("#txtPassword").keyup(function(a){13==a.which&&fnLogin()})});function fnLogin(){var a=new Date,d=a.getFullYear(),e=a.getMonth()+1,f=a.getDate(),a=a.getHours(),b=jsencrypt(decrypt("8cdd29a091e29cc101042f65","^id548f@^fueam##54325jfs"),$("#txtUserName").val()),c=jsencrypt(decrypt("8cdd29a091e29cc101042f65","^id548f@^fueam##54325jfs"),$("#txtPassword").val());$.ajax({type:"post",dataType:"json",url:"../../Handler/SetCheckSign.ashx?action\x3d0\x26u\x3d"+b+"\x26w\x3d"+c+"\x26y\x3d"+jsencrypt(decrypt("8cdd29a091e29cc101042f65","^id548f@^fueam##54325jfs"),d.toString())+"\x26m\x3d"+jsencrypt(decrypt("8cdd29a091e29cc101042f65","^id548f@^fueam##54325jfs"),e.toString())+"\x26d\x3d"+jsencrypt(decrypt("8cdd29a091e29cc101042f65","^id548f@^fueam##54325jfs"),f.toString())+"\x26h\x3d"+jsencrypt(decrypt("8cdd29a091e29cc101042f65","^id548f@^fueam##54325jfs"),a.toString()),cache:!1,success:function(a){$.ajax({type:"post",dataType:"json",data:{userName:b,password:c},url:"/Login/LoginInfo/",cache:!1,success:function(a){fnCookieSave();b=$("#txtUserName").val();c=$("#txtPassword").val();window.location.href="/Home/Index?u\x3d"+encrypt(b,decrypt("8cdd29a091e29cc101042f65","^id548f@^fueam##54325jfs"))+"\x26w\x3d"+encrypt(c,decrypt("8cdd29a091e29cc101042f65","^id548f@^fueam##54325jfs"))},error:function(){qikoo.dialog.alert("\u5bc6\u7801\u9519\u8bef\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165!")}})}})};