问题修复
This commit is contained in:
parent
699fe7a49a
commit
24d777675f
|
|
@ -30,6 +30,7 @@
|
||||||
WHERE
|
WHERE
|
||||||
is_hg=0
|
is_hg=0
|
||||||
and tsd.dev_type_name is not null
|
and tsd.dev_type_name is not null
|
||||||
|
and te.`status`=4
|
||||||
<if test="sampleTools != null and sampleTools != ''">
|
<if test="sampleTools != null and sampleTools != ''">
|
||||||
and tsd.dev_type_name like concat('%',#{sampleTools}, '%')
|
and tsd.dev_type_name like concat('%',#{sampleTools}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
|
|
@ -171,11 +171,6 @@
|
||||||
passwordError.textContent = passwordTip;
|
passwordError.textContent = passwordTip;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// formdata.oldPassword = encryptCBC(formdata.oldPassword);
|
|
||||||
// formdata.loginName = encryptCBC(formdata.loginName);
|
|
||||||
// formdata.username = encryptCBC(formdata.username);
|
|
||||||
// formdata.password = encryptCBC(formdata.newPassword);
|
|
||||||
console.log(formdata)
|
console.log(formdata)
|
||||||
var params={
|
var params={
|
||||||
encryptedData:encryptCBC(JSON.stringify(formdata))
|
encryptedData:encryptCBC(JSON.stringify(formdata))
|
||||||
|
|
@ -194,19 +189,6 @@
|
||||||
}, function (xhr) {
|
}, function (xhr) {
|
||||||
error(xhr)
|
error(xhr)
|
||||||
});
|
});
|
||||||
|
|
||||||
// $.ajax({
|
|
||||||
// type : 'put',
|
|
||||||
// url : ctxPath + '/users/password',
|
|
||||||
// contentType: "application/json; charset=utf-8",
|
|
||||||
// data: JSON.stringify(formdata),
|
|
||||||
// success : function(data) {
|
|
||||||
// layer.msg("修改成功", {shift: -1, time: 1000}, function(){
|
|
||||||
// location.href = ctxPath + "/pages/user/userList.html";
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue