From a54e3695ae029692258ee2b47e169407261c626c Mon Sep 17 00:00:00 2001 From: lik Date: Thu, 5 Nov 2026 20:16:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(escort):=20=E8=AE=A2=E5=8D=95=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=8D=A1=E6=98=BE=E7=A4=BA=E5=B0=B1=E8=AF=8A=E4=BA=BA?= =?UTF-8?q?=E7=94=B5=E8=AF=9D=E4=B8=8E=E7=A7=91=E5=AE=A4=E5=B9=B6=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E4=B8=80=E9=94=AE=E6=8B=A8=E6=89=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/escort/recorddetail.js | 7 +++ pages/escort/recorddetail.wxml | 89 ++++++++++++++++++++++------------ pages/escort/recorddetail.wxss | 51 ++++++++++++++++--- 3 files changed, 108 insertions(+), 39 deletions(-) diff --git a/pages/escort/recorddetail.js b/pages/escort/recorddetail.js index 0217a8b..1dd4014 100644 --- a/pages/escort/recorddetail.js +++ b/pages/escort/recorddetail.js @@ -344,6 +344,13 @@ Page({ this.setData({ showAllDetails: !this.data.showAllDetails }) }, + // 一键拨打就诊人电话:家属代订时号码在自己手机通讯录之外的情况靠它 + onCallPatient() { + const mobile = this.data.record.patientMobile + if (!mobile) return + wx.makePhoneCall({ phoneNumber: mobile }) + }, + // 一键拨打陪诊师电话:就诊当天最高频动作,不做二次确认 onCallAttendant() { const mobile = this.data.record.attendantMobile diff --git a/pages/escort/recorddetail.wxml b/pages/escort/recorddetail.wxml index 85cddc9..117f046 100644 --- a/pages/escort/recorddetail.wxml +++ b/pages/escort/recorddetail.wxml @@ -60,7 +60,6 @@ 医院 {{record.hospitalName || '就诊医院待补充'}} - · {{record.hospitalDepartment}} {{record.hospitalAddress}} + + + 科室 + + {{record.hospitalDepartment}} + + @@ -93,6 +99,20 @@ + + + 电话 + + {{record.patientMobile}} + + 拨打 + 服务 @@ -100,39 +120,16 @@ · 性别要求{{record.sexRequirementText}} - - - - - 费用 - ¥{{record.totalFee}} - - {{record.paymentStatusText}} + + + 备注 + + {{record.patientNote}} + - - - - - 支付方式 - {{record.payChannelText}} - 切换 - - - 取消原因 {{record.cancelReason}} @@ -178,6 +175,36 @@ + + + + + + 费用 + ¥{{record.totalFee}} + + {{record.paymentStatusText}} + + + + + + 支付方式 + {{record.payChannelText}} + 切换 + + +