diff --git a/src/pages/mediation-page/components/LayoutContentNew.vue b/src/pages/mediation-page/components/LayoutContentNew.vue
index 52b7f8c..c785c97 100644
--- a/src/pages/mediation-page/components/LayoutContentNew.vue
+++ b/src/pages/mediation-page/components/LayoutContentNew.vue
@@ -456,6 +456,10 @@ export default {
this.getmediate_record(1)
});
}).catch(() => {});
+ },
+ openRecordDialog(obj) {
+ this.visiblemediatRecord = true;
+ this.visiblemediatRecordObj = obj;
}
}
};
diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue
index c17073c..2f155fc 100644
--- a/src/pages/mediation-page/components/MediationRoom.vue
+++ b/src/pages/mediation-page/components/MediationRoom.vue
@@ -109,7 +109,7 @@
-
+
@@ -399,7 +399,7 @@ export default {
console.log('监听挂断事件', options)
that.calling = false
that.resetTimer()
- const that = that.nextCall()
+ that.nextCall()
})
},
beforeDestroy() {
@@ -576,6 +576,8 @@ export default {
try {
let res = await api.callingSuccess({caseId: this.caseId})
console.log('呼叫成功请求接口==callingSuccess:', res)
+ this.getmediate_record()
+ this.$refs.layoutContent.openRecordDialog(res.data);
} catch (err) { }
},
// 呼叫失败