diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue index ef6836e..d2a6df0 100644 --- a/src/pages/mediation-page/components/MediationRoom.vue +++ b/src/pages/mediation-page/components/MediationRoom.vue @@ -6,7 +6,7 @@
- +
{{ baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR').name }}
@@ -16,7 +16,7 @@
- +
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) { } }, // 挂断会话