提交 e7a5c729 编写于 作者: huangwensu's avatar huangwensu

功能联调

上级 5261c00e
...@@ -100,8 +100,8 @@ ...@@ -100,8 +100,8 @@
</div> </div>
<!-- 医生建议模块 --> <!-- 医生建议模块 -->
<div v-if="item.showType == 11" class="suggession-box"> <div v-if="item.showType == 11" class="suggession-box">
<div class="title">医生建议</div> <div class="title">{{item.title}}</div>
<div class="suggession-text">{{item.content}}</div> <div class="suggession-text">{{item.text}}</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -531,6 +531,11 @@ export default { ...@@ -531,6 +531,11 @@ export default {
} else if(content.bizType == 25){ // 本次问诊结束 } else if(content.bizType == 25){ // 本次问诊结束
showType = 10; showType = 10;
text = content.content; text = content.content;
} else if(content.bizType == 26){ // 医生建议
showType = 11;
title = content.title;
text = content.content;
text = content.content;
}else { }else {
showType = 5; showType = 5;
} }
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</div> </div>
<div style="margin-top: 10px;"> <div style="margin-top: 10px;">
<el-button v-if="scope.row.status == 3 && scope.row.imStatus == 1" type="primary" size="small" @click="callAll(scope.row)">呼叫双方</el-button> <el-button v-if="scope.row.status == 3 && scope.row.imStatus == 1" type="primary" size="small" @click="callAll(scope.row)">呼叫双方</el-button>
<el-button v-if="scope.row.status == 3 && scope.row.imStatus == 2" type="primary" size="small" @click="callAll(scope.row)">加入问诊</el-button> <el-button v-if="scope.row.status == 3 && scope.row.imStatus == 2" type="primary" size="small" @click="jionCommunicate(scope.row)">加入问诊</el-button>
<el-button type="primary" size="small" @click="sendMessage(scope.row)">发送消息</el-button> <el-button type="primary" size="small" @click="sendMessage(scope.row)">发送消息</el-button>
</div> </div>
</template> </template>
...@@ -324,8 +324,16 @@ export default { ...@@ -324,8 +324,16 @@ export default {
}) })
}, },
// 呼叫双方 // 呼叫双方
callAll() { callAll(row) {
this.$router.push('/diagnosis-live') this.POST(`/diagnose/admin/diagnose/call/${row.diagnoseLogId}`, '').then(res => {
if (res.code == "000000") {
}
});
},
// 加入问诊
jionCommunicate(row) {
this.$router.push({path: '/diagnosis-live', query: {tid: row.imTeamId}})
}, },
// 发送消息 // 发送消息
sendMessage(row) { sendMessage(row) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册