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