From cb0ab5cc934c7b4a030350edc5049b68894bf6b2 Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Fri, 18 Jul 2025 17:49:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../outsourceEnterprise/outsourceEnterpriseList.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/resources/static/pages/evaluate/outsourceEnterprise/outsourceEnterpriseList.html b/src/main/resources/static/pages/evaluate/outsourceEnterprise/outsourceEnterpriseList.html index 6d271f7..b8075d0 100644 --- a/src/main/resources/static/pages/evaluate/outsourceEnterprise/outsourceEnterpriseList.html +++ b/src/main/resources/static/pages/evaluate/outsourceEnterprise/outsourceEnterpriseList.html @@ -143,8 +143,12 @@ { field: 'phone', title: '联系电话', width: '15%', align: "center", templet: function (d) { - let phone = decryptCBC(d.phone); - return maskSensitiveInfo(phone, "phone"); + 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 ""; } }