
var cst=2276;var oxe="DefaultF_";$(window).load(function(){$("button").unbind("click").bind("click",function(){qbf()})});function qbf(){if(mxx(cst,oxe)!=1){art.VLdialog.alert("邮箱地址已修改。",function(){},4,"提示");return null}
var c=yci(cst,oxe);var d=null;var e=col(cst,oxe);d=e.$form;if(d==null){art.VLdialog.alert("获取表单的HTML对象失败。请确认代码正确。",function(){},4,"提示");return null}
var f=sme(d,false,cst,oxe,true,cst,c,true);if(ymr(f)||f==false){return null}
if(f==null)return;var g="/WebServices/System/User.asmx/qbf";$.ajax({type:"POST",contentType:"application/json; charset=utf-8",url:g,data:"{OldEmail:\""+f.oldEmail+"\",NewEmail:\""+f.newEmail+"\",Password:\""+f.dcxPwd+"\"}",dataType:'json',beforeSend:function(a){},complete:function(a,b){},error:function(a){var b=JSON2.stringify(a);if(b.length>600)b=b.substr(0,600);alert("修改邮箱地址失败。详情："+b);return false},success:function(a){a=hmy(a);if(a==null||ymr(a)){art.VLdialog.Succeed("修改成功！",function(){},2,"提示");return false}else{art.VLdialog.alert("修改失败。原因："+a,function(){},8,"提示")}}});return}