|  |  | 
 |  |  |                     <div class="layui-form-mid layui-word-aux">当前角色不可更改为其它角色</div> | 
 |  |  |                 </div> | 
 |  |  |                 <div class="layui-form-item"> | 
 |  |  |                     <label class="layui-form-label">账号名</label> | 
 |  |  |                     <label class="layui-form-label">名称</label> | 
 |  |  |                     <div class="layui-input-inline"> | 
 |  |  |                         <input id="username" class="layui-input" type="text" placeholder="请输入" autocomplete="off"> | 
 |  |  |                     </div> | 
 |  |  |                 </div> | 
 |  |  |                 <div class="layui-form-item"> | 
 |  |  |                     <label class="layui-form-label">手机号</label> | 
 |  |  |                     <label class="layui-form-label">账号</label> | 
 |  |  |                     <div class="layui-input-inline"> | 
 |  |  |                         <input id="mobile" class="layui-input" type="text" placeholder="请输入" autocomplete="off"> | 
 |  |  |                     </div> | 
 |  |  | 
 |  |  |                         $('#person-detail').find(":input[id='" + val + "']").val(user[val]); | 
 |  |  |                     } | 
 |  |  |                 } else if (res.code === 403){ | 
 |  |  |                     top.location.href = "/"; | 
 |  |  |                     top.location.href = baseUrl+"/"; | 
 |  |  |                 } else { | 
 |  |  |                     layer.msg(res.msg); | 
 |  |  |                 } | 
 |  |  | 
 |  |  |                 title: '修改密码', | 
 |  |  |                 maxmin: true, | 
 |  |  |                 area: ['350px', '310px'], | 
 |  |  |                 offset: ['120px', '350px'], | 
 |  |  |                 shadeClose: false, | 
 |  |  |                 content: 'password.html', | 
 |  |  |                 success: function(layero, index){ | 
 |  |  |  | 
 |  |  |                     layer.iframeAuto(index); | 
 |  |  |                 } | 
 |  |  |             }) | 
 |  |  |         }); | 
 |  |  | 
 |  |  |                             localStorage.setItem("username", user.username); | 
 |  |  |                             parent.$('#person-username').text(localStorage.getItem('username')); | 
 |  |  |                         } else if (res.code === 403){ | 
 |  |  |                             top.location.href = "/"; | 
 |  |  |                             top.location.href = baseUrl+"/"; | 
 |  |  |                         } else { | 
 |  |  |                             layer.msg(res.msg); | 
 |  |  |                         } |