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}} + 切换 + + +