提交 571c44e4 编写于 作者: 张磊's avatar 张磊

Merge branch 'feat/zl' into 'develop'

add call status

See merge request com.pica.cloud.education.frontend/pica-admin-consultation!103
......@@ -70,7 +70,7 @@
class="call-status"
v-if="
diagnoseTypeIcon== 'voice' &&
doctorTrtcEntryStatus != 1
doctorTrtcEntryStatus == 2
"
>
<img
......@@ -126,7 +126,7 @@
<div
class="call-status"
v-if="diagnoseTypeIcon== 'voice' &&userTrtcEntryStatus != 1"
v-if="diagnoseTypeIcon== 'voice' && userTrtcEntryStatus == 2"
>
<img
v-if="isCall"
......@@ -174,6 +174,18 @@ export default {
default: {},
},
},
watch: {
item(newVal, oldVal) {
if(newVal !== oldVal){
if(newVal.doctorTrtcEntryStatus == 2){
this.isDoctorChat = false;
}
if(newVal.userTrtcEntryStatus == 2){
this.isUserChat = false;
}
}
}
},
created() {},
mounted() {
console.log("this.item", this.item);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册