提交 10a867e6 编写于 作者: zhaosheng.zhang's avatar zhaosheng.zhang

Merge branch 'feature/diagnosis-im/audio' into 'release'

fix: 优化预约列表音频问题

See merge request com.pica.cloud.education.frontend/pica-admin-consultation!293
......@@ -122,12 +122,16 @@
v-if="item.showType == 6"
class="audio-box"
>
<audio controls>
<!-- <audio controls>
<source
:src="item.url"
type="audio/mpeg"
>
</audio>
</audio> -->
<audio
controls
:src="item.url"
/>
</div>
<!-- 问诊开始与病例模块 -->
<div
......@@ -415,7 +419,7 @@
created() {
_this = this;
console.log(_this);
this.picakfAccId = getPicaKFAccid();
this.picakfAccId = getPicaKFAccid();
this.tid = this.$route.query.tid || '';
this.getFiveContentList();
autoCompletionIntervalId && clearInterval(autoCompletionIntervalId);
......@@ -744,7 +748,7 @@
canPush && this.messageList.push(item);
}
});
if (flag) {
this.$nextTick(() => {
var element = document.querySelector('.scroll-box');
......@@ -891,8 +895,8 @@
msg.isShowErrorIcon = false;
msg.isShowErrorMsg = false; // 只有在下次拉取新数据时才有可能是为ture
msg.extData = Object.assign({}, params); // 再将发送时的数据
msg.sendId = sendId;
msg.sendOrReceive = true;
msg.sendId = sendId;
msg.sendOrReceive = true;
msg.timestampStr = new Date().format('hh:mm');
msg.realTimestamp = this.realTimestamp;
msg.taskLogId = this.currentTaskLogId;
......@@ -1001,4 +1005,4 @@
</script>
<style lang="scss" scoped>
@import "./im.scss";
</style>
\ No newline at end of file
</style>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册