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

Merge branch 'feat/zl' into 'develop'

save

See merge request !52
......@@ -31,7 +31,7 @@
<span class="text-name">{{ item.name }}</span>
<span class="text-dep">{{ item.role == 1 ? "问诊医生" : "接诊医生" }}</span>
</p>
<p class="text-num">123123123</p>
<p class="text-num">{{item.role == 1 ? currentChat.doctorMobile : currentChat.userMobile}}</p>
</div>
</div>
<div class="viedo">
......@@ -117,6 +117,7 @@ export default {
},
created() {
const {imTeamId, diagnoseLogId} = this.currentChat;
console.log('---currentChat', this.currentChat);
this.tid = imTeamId|| "3854284100";
this.diagnoseLogId = diagnoseLogId || "38";
// openLoading(this);
......
......@@ -156,8 +156,22 @@ export default {
}
const i = this.item;
if(i.imTeamId){
this.$store.commit('updateShowChat', true);
this.$store.commit('updateCurrentChat', i);
const params = {
teamIdList: [i.imTeamId]
}
this.POST(`/im/team/call/op/ack/`,params).then(res=>{
if(res.code == '000000'){
this.$store.commit('updateShowChat', true);
this.$store.commit('updateCurrentChat', i);
}
}).catch(err=>{
this.$message({
message: err.message,
type: "warning",
duration:1000
});
})
}
},
openAdvice() {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册