From 318922bddc2868a67f58618a78d971197ae6f172 Mon Sep 17 00:00:00 2001 From: zhoulinf <2507241354@qq.com> Date: Fri, 27 Feb 2026 15:49:20 +0800 Subject: [PATCH] =?UTF-8?q?CRM=5F26-03-03#story#8210,=E8=B0=83=E5=BA=A6app?= =?UTF-8?q?=E5=92=8C=E5=8F=B8=E6=9C=BAapp=E5=AE=A2=E6=88=B7=E8=81=94?= =?UTF-8?q?=E7=B3=BB=E6=96=B9=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index/workOrderDetail.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/index/workOrderDetail.vue b/src/views/index/workOrderDetail.vue index 6636885f..e54c4b57 100644 --- a/src/views/index/workOrderDetail.vue +++ b/src/views/index/workOrderDetail.vue @@ -31,7 +31,7 @@
{{ orderDetailInfo.contractSettleType?.label }}
{{ orderDetailInfo.userName }}
-
{{ orderDetailInfo.userPhone }}
+
{{ maskPhone(orderDetailInfo.userPhone) }}
{{ orderDetailInfo.plateNumber }}
{{orderDetailInfo.model}}{{ orderDetailInfo.brand }}
@@ -266,6 +266,12 @@ export default { this.map.add(marker2); this.map.setFitView([marker,marker1,marker2]) }, + maskPhone(phone) { + if (!phone) return ''; + const str = String(phone); + if (str.length <= 7) return str; + return str.slice(0, 3) + '*'.repeat(str.length - 7) + str.slice(-4); + }, async getDriverPoi(){ let res=await showVehiclePositionInfo({ userOrderId:this.userOrderId,