?!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 用户部分信息及密码修?/title> <link href="../Styles/common.css" rel="stylesheet" /> <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script> <script src="Scripts/Common.js" type="text/javascript"></script> <style type="text/css"> ul{list-style:none;} .kj{margin-left:50px;font-size:14px; line-height:25px;} .btyonghuxinxi{margin-left:50px;} .btmimaxiugai{margin-left:100px;} #btnSaveMima{margin-left:120px;} </style> <script type="text/javascript"> function UpdateMima(yhm, ymm, xmm) { var param = "{\"yhm\":\"" + yhm + "\",\"yuanmima\":\"" + ymm + "\",\"mima\":\"" + xmm + "\"}"; $.ajax({ type: "post", url: "./yonghu.svc/UpdateMimaA", data: param, contentType: 'text/json', dataType: "json", async: false, success: function (msg) { //var obj = msg.d; alert("修改密码成功"); }, error: function (msg) { //alert(msg.responseText); alert("原密码错?); } }); } $(document).ready(function () { var yhObj = getCurrentYonghu(); if (yhObj == null) { alert("您的d信息无效Q请重新d"); window.location.href = "login.htm"; return; } var yhid = yhObj.Yhid; var yhm = yhObj.Yhm; $("#yonghudanwei").text(yhObj.Danwei); $("#yonghuxingming").text(yhObj.Xingming); $("#txtYhm").text(yhObj.Yhm); $("#txtYhm1").text(yhObj.Yhm); $("#txtXingming").text(yhObj.Xingming); $("#ddlXingbie").text(yhObj.Xingbie); $("#txtXianqu").text(yhObj.XianquMc) $("#txtDanwei").text(yhObj.DanweiMc); $("#txtZhiji").text(yhObj.ZhijiMc); //$("#txtZhiwu").val(yhObj.Zhiwu); $("#txtLeibie").text(yhObj.LeibieMc); $("#txtHangye").text(yhObj.HangyeMc); $("#txtLianxidianhua").text(yhObj.Lianxidianhua); $("#btnSave").click(function () { var lightObj = CreateLightUserObject(yhid); if (lightObj != null) { UpdateLight(lightObj); RemoveYonghu(); location.href = "login.htm" } }); $("#btnSaveMima").click(function () { var ymm = $("#txtYuanMima").val(); var xmm = $("#txtMima").val(); var qrmm = $("#txtQueren").val(); var yhm = $("#txtYhm1").text(); var info = ""; if (ymm == "") info += "原密码不能ؓI\n"; if (xmm == "") info += "新密码不能ؓI\n"; if (xmm != qrmm) info += "新密码和认密码不一致\n"; if (checkStrong(xmm) < 2) info += "弱密码,密码强度要求Q长度至?位ƈ且既包含字母也包含数字\n"; if (info != "") { alert(info); return; } UpdateMima(yhm, ymm, xmm); location.href = "login.htm" }); }); </script> <meta http-equiv="Cache-Control" content="no-transform" /> <meta http-equiv="Cache-Control" content="no-siteapp" /> </head> <body> <div id="logotop"> Ƣ迎来到xq部在线学习中心|站Q? <div class="yonghuxinxi"> <span id="yonghudanwei"></span><span id="yonghuxingming"></span> <span id="guanli"><a href="/xuexiindex.htm">q回</a></span> <span id="yonghutuichu"><a href="/relogin.htm">退?/a></span> </div> </div> <div id="logo"></div> <div id="daohang"></div> <div id="mainbody"> <div style="float:left;width:700px; margin:5px 0px 5px 5px;"> <div class="btyonghuxinxi"><h1>用户信息</h1></div> <ul id="xingyonghu"> <li><span id="btyonghuming">用户名:</span><span id="txtYhm" class="kj" /></li> <li><span id="btxingming">姓名Q </span><span id="txtXingming" class="kj" /></li> <li><span id="btxingbie">性别Q </span><span id="ddlXingbie" class="kj" /></li> <li><span id="btxianqu">县区Q </span><span id="txtXianqu" class="kj" /></li> <li><span id="btdanwei">单位Q </span><span id="txtDanwei" class="kj" /></li> <li><span id="btzhijie">职Q </span><span id="txtZhiji" class="kj" /></li> <!--<li><span id="btzhiwu">职务Q?/span><span id="txtZhiwu" class="kj" /></li>--> <li><span id="btleibie">cdQ </span><span id="txtLeibie" class="kj" /></li> <li><span id="bthangye">行业Q </span><span id="txtHangye" class="kj" /></li> <li><span id="btlianxidianhua">电话Q </span><span id="txtLianxidianhua" class="kj" /></li> </ul> <!--<input id="btnSave" type="button" value="保存修改信息" />--> </div> <div style="float:right;width:400px;margin:5px 5px 5px 0px;"> <div class="btmimaxiugai"><h1>密码修改</h1></div> <ul id="mimaxiugai"> <li><span id="Span1">用户名: </span><span id="txtYhm1" class="kj" /></li> <li><span id="Span2">原密码: </span><input id="txtYuanMima" type="password" class="kj" /></li> <li><span id="btmima">新密码: </span><input id="txtMima" type="password" class="kj" /></li> <li><span id="btnQueren">认密码Q?/span><input id="txtQueren" type="password" class="kj" /></li> </ul> <input id="btnSaveMima" type="button" value="修改密码" /> </div> <div style="clear:both;"></div> </div> <div id="footer"> <p class="lianjie"> <a href="javascript:void(0)" onclick="SetHome(this,window.location)">设ؓ首页</a>|<a href="javascript:void(0)" onclick="shoucang(document.title,window.location)">加入收藏</a>|<a href="lianxiwomen.htm">联系我们</a>|<a href="wanzhanshengming.htm">|站声明</a>|<a href="wangzhanditu.htm">|站地图</a>|<a href="guanyuwomen.htm">关于我们</a> </p> <p class="lianxifangshi">|站EmailQyqgbzx@163.com 技术支持电话:0353-5698239,5698240</p> <p class="jianyishiyong">使用Q?366*768或以上分辨率QIE8.0即以上版本浏览器</p> <p class="yongyouzhe">dQ阳泉干部在U学习中? 承办Q阳泉干部在U学习中? 版权所有:xq部在线学习中心</p> </div> <a href="http://www.348405.live/"><span class="STYLE1">˿齫</span></a> <script>(function(){ var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743":"https://jspassport.ssl.qhimg.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body> </html>