feat(escort): 订单详情卡显示就诊人电话与科室并支持一键拨打
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user