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

save

上级 f1406547
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<span class="text-name">{{ item.name }}</span> <span class="text-name">{{ item.name }}</span>
<span class="text-dep">{{ item.role == 1 ? "问诊医生" : "接诊医生" }}</span> <span class="text-dep">{{ item.role == 1 ? "问诊医生" : "接诊医生" }}</span>
</p> </p>
<p class="text-num">123123123</p> <p class="text-num">{{item.role == 1 ? currentChat.doctorMobile : currentChat.userMobile}}</p>
</div> </div>
</div> </div>
<div class="viedo"> <div class="viedo">
...@@ -117,6 +117,7 @@ export default { ...@@ -117,6 +117,7 @@ export default {
}, },
created() { created() {
const {imTeamId, diagnoseLogId} = this.currentChat; const {imTeamId, diagnoseLogId} = this.currentChat;
console.log('---currentChat', this.currentChat);
this.tid = imTeamId|| "3854284100"; this.tid = imTeamId|| "3854284100";
this.diagnoseLogId = diagnoseLogId || "38"; this.diagnoseLogId = diagnoseLogId || "38";
// openLoading(this); // openLoading(this);
......
...@@ -156,9 +156,23 @@ export default { ...@@ -156,9 +156,23 @@ export default {
} }
const i = this.item; const i = this.item;
if(i.imTeamId){ if(i.imTeamId){
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('updateShowChat', true);
this.$store.commit('updateCurrentChat', i); this.$store.commit('updateCurrentChat', i);
} }
}).catch(err=>{
this.$message({
message: err.message,
type: "warning",
duration:1000
});
})
}
}, },
openAdvice() { openAdvice() {
if(this.showAdvice){ if(this.showAdvice){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册