呼出成功弹出沟通记录
This commit is contained in:
parent
fbffd2b886
commit
d530d50aeb
@ -456,6 +456,10 @@ export default {
|
|||||||
this.getmediate_record(1)
|
this.getmediate_record(1)
|
||||||
});
|
});
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
|
},
|
||||||
|
openRecordDialog(obj) {
|
||||||
|
this.visiblemediatRecord = true;
|
||||||
|
this.visiblemediatRecordObj = obj;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -109,7 +109,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 中间数据 -->
|
<!-- 中间数据 -->
|
||||||
<LayoutContentNew :caseId="caseId" />
|
<LayoutContentNew ref="layoutContent" :caseId="caseId" />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -399,7 +399,7 @@ export default {
|
|||||||
console.log('监听挂断事件', options)
|
console.log('监听挂断事件', options)
|
||||||
that.calling = false
|
that.calling = false
|
||||||
that.resetTimer()
|
that.resetTimer()
|
||||||
const that = that.nextCall()
|
that.nextCall()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
@ -576,6 +576,8 @@ export default {
|
|||||||
try {
|
try {
|
||||||
let res = await api.callingSuccess({caseId: this.caseId})
|
let res = await api.callingSuccess({caseId: this.caseId})
|
||||||
console.log('呼叫成功请求接口==callingSuccess:', res)
|
console.log('呼叫成功请求接口==callingSuccess:', res)
|
||||||
|
this.getmediate_record()
|
||||||
|
this.$refs.layoutContent.openRecordDialog(res.data);
|
||||||
} catch (err) { }
|
} catch (err) { }
|
||||||
},
|
},
|
||||||
// 呼叫失败
|
// 呼叫失败
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user