员工管理手机号加密

This commit is contained in:
zzyuan 2025-07-04 14:05:38 +08:00
parent f00f3f5016
commit 9ecb2eb3ae
1 changed files with 2 additions and 0 deletions

View File

@ -786,6 +786,7 @@ export default {
}
console.log(this.form)
this.$set(this.form,"password",decryptWithSM4(this.form.password))
this.$set(this.form,"mobile",decryptWithSM4(this.form.mobile))
if(this.form.accessAuthorityList&&this.form.accessAuthorityList.length>0){
console.log(this.form.accessAuthorityList)
let index = this.form.accessAuthorityList.findIndex(v=>v.deviceType==3)
@ -1018,6 +1019,7 @@ export default {
...this.form
}
param.password = encryptWithSM4(this.form.password)
param.mobile = encryptWithSM4(this.form.mobile)
if (this.form.staffId != undefined) {
editKitchenStaffApi(param).then(response => {
this.$modal.msgSuccess("修改成功");