From c7bd1a3fd46b5d5f887ce4f674387294ee1e8ccd Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Tue, 31 Oct 2023 17:09:29 +0800
Subject: [PATCH] 添加手机校验
---
src/views/Admin/components/msgDetailMod.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/Admin/components/msgDetailMod.vue b/src/views/Admin/components/msgDetailMod.vue
index e7ce9e3..ca3c942 100644
--- a/src/views/Admin/components/msgDetailMod.vue
+++ b/src/views/Admin/components/msgDetailMod.vue
@@ -35,14 +35,14 @@
<a-col :span="4">接收人</a-col>
<a-col :span="20">
<b>本次共发送信息给 {{details.recipients.length}}人:</b><br/><br/>
- {{details.recipients.map(i=>i.realName + '(' + i.phone + ')').join(',')}}
+ {{details.recipients.map(i=>i.realName + '(' + i.phone.replace(/(\d{3})\d{4}(\d+)/, "$1****$2") + ')').join(',')}}
</a-col>
</a-row>
<a-row :gutter="24" v-if="details.acceptingUnitIds && details.acceptingUnitIds.length>0">
<a-col :span="4">接收人</a-col>
<a-col :span="20">
<b>本次共发送信息给 {{details.acceptingUnitIds.length}}人:</b><br/><br/>
- {{details.recipients.map(i=>i.realName + '(' + i.phone.replace(/(\d{3})\d{4}(\d+)/, "$1****$2") + ')').join(',')}}
+ {{details.acceptingUnitIds.map(i=>i.recipienterName + '(' + i.recipienterPhone.replace(/(\d{3})\d{4}(\d+)/, "$1****$2") + ')').join(',')}}
</a-col>
</a-row>
<a-row :gutter="24" v-if="details.attachments && details.attachments.length > 0"><a-col :span="4">附件内容</a-col>
--
Gitblit v1.9.2