添加虚拟号码
This commit is contained in:
@ -502,6 +502,7 @@
|
||||
import { getTeaTypeList } from '@/api/tea'
|
||||
import { getTeaSpecialistFeeDetails, createTeaSpecialistRenewOrder } from '@/api/tea-specialist'
|
||||
import type { ITeaTypeListResult } from '@/api/types/tea'
|
||||
import { callVirtualNumber } from '@/api/user'
|
||||
|
||||
const OSS = inject('OSS')
|
||||
const toast = useToast()
|
||||
@ -815,9 +816,11 @@
|
||||
/**
|
||||
* 拨打电话
|
||||
*/
|
||||
handleCall: () => {
|
||||
handleCall: async () => {
|
||||
const res = await callVirtualNumber(order.value.order_sn)
|
||||
console.log("🚀 ~ res:", res)
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: order.value.team_mobile
|
||||
phoneNumber: res.mobile
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user