This commit is contained in:
liuxi 2025-01-20 14:43:37 +08:00
commit 8b86844237

View File

@ -6,7 +6,7 @@
<div class="top-wrap-title flex-row justify-content-between"></div>
<div class="top-wrap-btn-left flex-row justify-content-between">
<div class="flex-row justify-content-between align-items-center mr-16">
<el-button class="bg-F2F3F5" icon="el-icon-arrow-left" circle></el-button>
<el-button class="bg-F2F3F5" icon="el-icon-arrow-left" circle :disabled="queue" ></el-button>
<div class="ml-16 mr-16 flex-row justify-content-between align-items-center">
<div class="mr-8 f16">{{ baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR').name }}</div>
<div class="mr-8">
@ -16,7 +16,7 @@
<div class="f16 color-165DFF"><i class="el-icon-success"></i></div>
</div>
<el-button class="bg-F2F3F5" icon="el-icon-arrow-right" circle></el-button>
<el-button class="bg-F2F3F5" icon="el-icon-arrow-right" circle :disabled="queue"></el-button>
</div>
<el-popover
@ -367,7 +367,7 @@ export default {
elapsedTime: 0,
timerInterval: null,
isRunning: false,
contactId: '',
//
missedCallVisible: false,
missedCallData: {
@ -475,11 +475,11 @@ export default {
if (!res.code) {
this.baseInfo = res
this.phoneNumber = res.debtorEntityList.find(item => item.role == 'DEBTOR').phone
this.contactId = res.debtorEntityList.find(item => item.role == 'DEBTOR').id
if(res.jointDebt == 1){
// mainCaseId
this.caseId = res.mainCaseId.toString()
}
else
} else
{
this.caseId = res.id.toString()
}
@ -620,7 +620,7 @@ export default {
//
async callingSuccess () {
try {
let res = await api.callingSuccess({caseId: this.caseId})
let res = await api.callingSuccess({caseId: this.caseId,contactId: this.contactId})
console.log('呼叫成功请求接口==callingSuccess', res)
this.getmediate_record()
this.$refs.layoutContent.openRecordDialog(res.data);
@ -629,7 +629,7 @@ export default {
//
async callingFail () {
try {
let res = await api.callingSuccess({caseId: this.caseId})
let res = await api.callingSuccess({caseId: this.caseId,contactId: this.contactId})
} catch (err) { }
},
//