代码提交
This commit is contained in:
parent
c411d90373
commit
cb0ab5cc93
|
|
@ -143,8 +143,12 @@
|
|||
{
|
||||
field: 'phone', title: '联系电话', width: '15%', align: "center",
|
||||
templet: function (d) {
|
||||
if (d.phone) {
|
||||
let phone = decryptCBC(d.phone);
|
||||
return maskSensitiveInfo(phone, "phone");
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
},
|
||||
{field: 'address', title: '单位地址', align: "center"},
|
||||
|
|
@ -158,7 +162,7 @@
|
|||
if (d.preSalesPhone) {
|
||||
let preSalesPhone = decryptCBC(d.preSalesPhone);
|
||||
return maskSensitiveInfo(preSalesPhone, "phone");
|
||||
}else {
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue