|
|
|
@ -112,6 +112,7 @@
|
|
|
|
|
this.form.validateFields((err, values) => { |
|
|
|
|
if (!err) { |
|
|
|
|
that.confirmLoading = true; |
|
|
|
|
values.oldpassword = signMd5Utils.md5password(values.oldpassword); |
|
|
|
|
values.password = signMd5Utils.md5password(values.password); |
|
|
|
|
values.confirmpassword = signMd5Utils.md5password(values.confirmpassword); |
|
|
|
|
// console.log(values.password); |
|
|
|
@ -119,7 +120,6 @@
|
|
|
|
|
console.log("修改密码提交数据",params) |
|
|
|
|
putAction(this.url,params).then((res)=>{ |
|
|
|
|
if(res.success){ |
|
|
|
|
console.log(res) |
|
|
|
|
that.$message.success(res.message); |
|
|
|
|
that.close(); |
|
|
|
|
}else{ |
|
|
|
|