...
|
...
|
@@ -868,14 +868,15 @@ layui.define(['table', 'form', 'admin', 'layer', 'upload', 'common', 'sessions', |
|
|
//重置密码
|
|
|
function resetPassword(id, username) {
|
|
|
//根据王凤要求,调整重置密码,不弹窗,直接后台设置为123456
|
|
|
//lsq 弹框高度调小,文本框垂直居中 2022-08-27
|
|
|
layer.open({
|
|
|
title: "重置密码",
|
|
|
content: '<div>' +
|
|
|
content: '<div style="height:100%;display: flex;align-items: center;justify-content: space-between;">' +
|
|
|
'<input id="userReSetPwd" style="float:left;width:80%;line-height:38px" type="password" placeholder="' + patternTips.replace('密码格式为:', '') + '">' +
|
|
|
'<button style="float:right;height:40px;width: 15%;line-height:40px;background-color: #1e9fff;" class="layui-btn layui-btn-sm layui-btn-normal showPwd" >显示密码</button>' +
|
|
|
'</div>' +
|
|
|
'<span class="deptTips" style="color: red"></span>',
|
|
|
area: ['30%', '350px'],
|
|
|
area: ['30%', '220px'],
|
|
|
btns: ['确认', '取消'],
|
|
|
success: function (index) {
|
|
|
$('.showPwd').unbind().on('click', function () {
|
...
|
...
|
|