var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); /// /* * * *鎻忚堪:鐢ㄦ埛鐧诲綍鐨勫熀鏈柟寮?* **/ $(document).ready(function () { //cookie var username = $.cookie('userName'); var password = $.cookie('password'); if (username != null && password != null) { $("#txtUserName").val(username); $("#txtPassword").val(password); $("#cbRemember").attr("checked", true); } else { $("#txtUserName")[0].focus(); } $("#txtPassword").keypress(function (e) { if (e.which == 13) { $("#txtPassword").blur(); $("#btnLogin").click(); return false; } }); //杩欓噷鏄偣鍑荤殑鐧诲綍鎸夐挳 $("#btnLogin").click(function () { var userName = ""; var password = ""; var remember = ""; //绗竴姝ュ緱鍒扮敤鎴疯緭鍏ョ殑鐧诲綍淇℃伅 userName = $("#txtUserName").val().replace(/\'/g, "鈥?); password = $("#txtPassword").val().replace(/\'/g, "鈥?); remember = $("#cbRemember").attr("checked"); //绗簩姝ュ寰楀埌鐨勭敤鎴蜂俊鎭繘琛岀浉搴旂殑楠岃瘉 if (userName == "") { $.messager.alert("閿欒", "璇疯緭鍏ョ敤鎴峰悕", "error"); //$("#txtUserName")[0].focus(); return; } if (password == "") { $.messager.alert("閿欒", "璇疯緭鍏ュ瘑鐮?, "error"); //$("#txtPassword")[0].focus(); return; } //鍚庡彴楠岃瘉鐢ㄦ埛鍚嶅拰瀵嗙爜 $.ajax({ type: "GET", cache: false, dataType: "json", url: "index.aspx", data: "type=Login&userName=" + encodeURIComponent(userName) + "&password=" + encodeURIComponent(password) + "&rem=" + encodeURIComponent(remember) + "&second=" + encodeURIComponent(new Date().getSeconds()), error: function () { $.messager.alert("閿欒", "鐢ㄦ埛鐧诲綍澶辫触锛?, "error"); }, success: function (data) { if (data == "-1") { $.messager.alert("閿欒", "鐢ㄦ埛鍚嶄笌瀵嗙爜涓嶅尮閰?", "error"); } else if (data == "0") { $.messager.alert("閿欒", "鐢ㄦ埛鐧诲綍澶辫触!", "error"); } else if (data == "1") { // location.href = "pt/main/index.aspx"; //鐜板湪鐨勯」鐩? location.href = "index.aspx"; //鍘熸湁鐨勯」鐩? //location.href = "main.aspx"; } else if (data == "2") { $.messager.alert("閿欒", "鍖哄煙鐢ㄦ埛涓嶈兘鐧诲綍璇ョ郴缁?", "error"); } } }); }); }); } /* FILE ARCHIVED ON 13:37:40 Dec 03, 2018 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 11:02:20 Jul 29, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.712 exclusion.robots: 0.035 exclusion.robots.policy: 0.021 esindex: 0.012 cdx.remote: 1331.827 LoadShardBlock: 175.021 (3) PetaboxLoader3.datanode: 178.544 (5) load_resource: 210.79 (2) PetaboxLoader3.resolve: 98.268 (2) */