You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
2.3 KiB
54 lines
2.3 KiB
5 years ago
|
<table width="50%" border="0" align="center" cellpadding="3" cellspacing="1" class="table" style="margin-top:200px;">
|
||
|
<form id="theFrm">
|
||
|
<input type="hidden" name="id" value="<?= $user_info->id ?>">
|
||
|
<tr>
|
||
|
<td width="100" height="25" align="center" class="td_bg">工号</td>
|
||
|
<td height="25" class="td_bg" align="center"><?=$user_info->username?></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="100" height="25" align="center" class="td_bg">姓名</td>
|
||
|
<td height="25" class="td_bg" align="center"><?=$user_info->name?></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="100" height="25" align="center" class="td_bg">电话</td>
|
||
|
<td height="25" class="td_bg" align="center"><?=$user_info->phone?></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="100" height="25" align="center" class="td_bg">修改密码</td>
|
||
|
<td height="25" class="td_bg" align="center">
|
||
|
<input type="Password" name="pwd" placeholder="在这里输入新密码" />
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="100" height="25" align="center" class="td_bg">确认密码</td>
|
||
|
<td height="25" class="td_bg" align="center">
|
||
|
<input type="Password" name="re_pwd" placeholder="在这里确认新密码" />
|
||
|
</td>
|
||
|
</tr>
|
||
|
</form>
|
||
|
<tr>
|
||
|
<td height="22" colspan="2" align="center" class="td_bg">
|
||
|
<input id="submit-btn" type=button class="ACT_btn" name=Submit1 value=" 提交 "/>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<script type="text/javascript" language="javascript" src="/js/jquery-1.8.3.js"></script>
|
||
|
<script type="text/javascript" language="javascript" src="/js/ajax.js"></script>
|
||
|
<script type="text/javascript" language="javascript" src="/js/func.js"></script>
|
||
|
<script type="text/javascript" language="javascript">
|
||
|
$(function () {
|
||
|
//提交按钮
|
||
|
$("#submit-btn").click(function(){
|
||
|
if(confirm('是否确认提交?')) {
|
||
|
var params = $("#theFrm").serialize();
|
||
|
$.post('/common/update-pwd-save',params,function(obj){
|
||
|
alert(obj.msg);
|
||
|
if(obj.success){
|
||
|
window.top.location.href = "/common/logout";
|
||
|
}
|
||
|
},'json');
|
||
|
}
|
||
|
});
|
||
|
})
|
||
|
</script>
|