feat(escort): 订单详情卡显示就诊人电话与科室并支持一键拨打

This commit is contained in:
lik
2026-11-05 20:16:23 +08:00
parent 1de3f0cde6
commit a54e3695ae
3 changed files with 108 additions and 39 deletions
+7
View File
@@ -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