修改bug
This commit is contained in:
parent
8e6600ade6
commit
c6fda38b2d
@ -84,7 +84,7 @@
|
||||
</div>
|
||||
|
||||
<div class="case-debt-info-call flex-row justify-content-between align-items-center">
|
||||
<div class="flex-row align-items-center cursor-pointer" @click="startOutboundCall">
|
||||
<div class="flex-row align-items-center cursor-pointer" @click="startOutboundCall({phone:baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR' && item.type == '本人').phone,contactId:baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR' && item.type == '本人').id})">
|
||||
<div class="f32 color-1960F4 mr-8"><i class="el-icon-phone"></i></div>
|
||||
<div>呼叫被申请人</div>
|
||||
</div>
|
||||
@ -582,7 +582,9 @@ export default {
|
||||
},
|
||||
openRecordDialog(obj) {
|
||||
this.visiblemediatRecord = true;
|
||||
this.visiblemediatRecordObj = obj;
|
||||
let jsonobj = obj
|
||||
jsonobj.linkedPerson = JSON.parse(obj.linkedPerson)
|
||||
this.visiblemediatRecordObj = jsonobj;
|
||||
},
|
||||
startOutboundCall(params, contactId) {
|
||||
// let params = {
|
||||
|
||||
@ -669,9 +669,8 @@ export default {
|
||||
if (this.queue) {
|
||||
for (let i=0; i < this.queueList.length; i++) {
|
||||
if (this.queueList[i].status.code === 1) {
|
||||
console.log('定位到可拨打的案件',i,this.queueList[i])
|
||||
this.index = i
|
||||
this.startOutboundCall()
|
||||
this.startOutboundCall({phone:this.queueList[i].phone,contactId:this.queueList[i].contactId})
|
||||
return
|
||||
}
|
||||
}
|
||||
@ -688,7 +687,6 @@ export default {
|
||||
if (this.calling) return
|
||||
this.phoneNumber = params.phone
|
||||
this.contactId= params.contactId
|
||||
|
||||
// console.log('进入呼叫电话:', this.phoneNumber)
|
||||
try {
|
||||
let res = await window.tccc.Call.startOutboundCall({phoneNumber: this.phoneNumber})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user