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

Merge branch 'feat/zl' into 'develop'

Feat/zl

See merge request !69
...@@ -66,9 +66,8 @@ export default { ...@@ -66,9 +66,8 @@ export default {
}, },
mounted() { mounted() {
setTimeout( function () { setTimeout( function () {
bindDragHeader('.c-header', '.chat-wrap','.wenzenbox'); bindDragHeader('.c-header', '.chat-wrap');
}, 1000) }, 1000)
}, },
methods: { methods: {
// 修改token // 修改token
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
min-height: 700px; min-height: 700px;
background: #ffffff; background: #ffffff;
box-shadow: 10px 10px 50px 0px #d9d9d9; box-shadow: 10px 10px 50px 0px #d9d9d9;
overflow: hidden; overflow: visible;
border-radius: 18px; border-radius: 18px;
.component-content { .component-content {
...@@ -485,11 +485,14 @@ ...@@ -485,11 +485,14 @@
} }
} }
.wenzenbox { .wenzenbox {
position: absolute;
top: 20px;
right: 20px;
width: 120px; width: 120px;
height: 120px; height: 120px;
img{ img{
width: 120px; width: 100%;
height: 120px; height: 100%;
} }
} }
.shrink64 { .shrink64 {
...@@ -497,6 +500,6 @@ ...@@ -497,6 +500,6 @@
width: 120px; width: 120px;
background-color: transparent; background-color: transparent;
box-shadow:none; box-shadow:none;
overflow: hidden; overflow: visible;
border-radius: 18px; border-radius: 18px;
} }
...@@ -183,9 +183,12 @@ ...@@ -183,9 +183,12 @@
</section> </section>
</article> </article>
</section> </section>
<div v-show="!toggleChatSize" class="wenzenbox" @click="toggleChatModal"> <div v-show="!toggleChatSize" class="wenzenbox" @click="toggleChatModal">
<div class="wenzenbox-header">
<img src="../../assets/image/IM/wenzhenicon.png" alt="" /> <img src="../../assets/image/IM/wenzhenicon.png" alt="" />
</div> </div>
</div>
<!-- 选择链接弹窗 --> <!-- 选择链接弹窗 -->
<el-dialog <el-dialog
title="选择链接" title="选择链接"
...@@ -265,7 +268,6 @@ let forwardMsgIntervalId = null, ...@@ -265,7 +268,6 @@ let forwardMsgIntervalId = null,
continueIntervalId = null, continueIntervalId = null,
autoCompletionIntervalId = null, autoCompletionIntervalId = null,
cacheMap = {}; cacheMap = {};
let _this = null; let _this = null;
export default { export default {
components: { components: {
...@@ -320,7 +322,7 @@ export default { ...@@ -320,7 +322,7 @@ export default {
teamMemberList: [], teamMemberList: [],
doctorName: "", doctorName: "",
doctorImg: "", doctorImg: "",
toggleChatSize: false, toggleChatSize: true,
}; };
}, },
computed: { computed: {
......
...@@ -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">{{item.role == 1 ? currentChat.doctorMobile : currentChat.userMobile}}</p> <p class="text-num">{{item.role == 1 ? currentChat.userMobile : currentChat.doctorMobile}}</p>
</div> </div>
</div> </div>
<div :class="{viedowrap:currentChat.diagnoseType == 2}" :id="rtc.viewslist[index] ? rtc.viewslist[index].id : ''"> <div :class="{viedowrap:currentChat.diagnoseType == 2}" :id="rtc.viewslist[index] ? rtc.viewslist[index].id : ''">
...@@ -417,6 +417,12 @@ export default { ...@@ -417,6 +417,12 @@ export default {
this.memberList.forEach((item) => { this.memberList.forEach((item) => {
if (item.liveUserId == id) { if (item.liveUserId == id) {
item.status = 3; item.status = 3;
if(item.role == 1){
this.doctorTrtcEntryStatus = 2;
}
if(item.role == 2){
this.userTrtcEntryStatus = 2;
}
} }
}); });
console.log('---this.removeMember', this.memberList, id); console.log('---this.removeMember', this.memberList, id);
......
...@@ -50,8 +50,13 @@ export default { ...@@ -50,8 +50,13 @@ export default {
if(newVal !== oldVal && newVal){ if(newVal !== oldVal && newVal){
const c = this.currentAdvice && this.currentAdvice.content; const c = this.currentAdvice && this.currentAdvice.content;
console.log('ccc=cc=c=c=', c) console.log('ccc=cc=c=c=', c)
if(c == null){
this.diagnoseAdvice = '';
}else{
this.diagnoseAdvice = c; this.diagnoseAdvice = c;
} }
}
} }
}, },
created() { created() {
...@@ -66,7 +71,7 @@ export default { ...@@ -66,7 +71,7 @@ export default {
}, },
methods:{ methods:{
SaveAdvice() { SaveAdvice() {
if(this.diagnoseAdvice.trim() === ''){ if( String(this.diagnoseAdvice).trim() === ''){
this.$message({ this.$message({
message: "请填写诊断建议", message: "请填写诊断建议",
type: "success", type: "success",
......
...@@ -190,9 +190,9 @@ export default { ...@@ -190,9 +190,9 @@ export default {
case 1: case 1:
return '待处理' return '待处理'
case 2: case 2:
return '问诊进行中' return '待问诊'
case 3: case 3:
return '未开始' return '问诊进行中'
case 4: case 4:
return '问诊已完成' return '问诊已完成'
case 5: case 5:
......
...@@ -80,6 +80,7 @@ export default { ...@@ -80,6 +80,7 @@ export default {
style: `float:right;margin-top:${30}px;`, style: `float:right;margin-top:${30}px;`,
on: { on: {
click: function () { click: function () {
console.log('----state', state)
if(state.showChat){ if(state.showChat){
_VM.$message({ _VM.$message({
message: '不可同时进入多个诊室,请先退出已进入的诊室,再试。', message: '不可同时进入多个诊室,请先退出已进入的诊室,再试。',
......
...@@ -269,7 +269,7 @@ export default { ...@@ -269,7 +269,7 @@ export default {
} }
} }
</style> </style>
<style lang="scss" scoped> <style lang="scss">
::v-deep { ::v-deep {
.el-date-editor { .el-date-editor {
.el-input__inner { .el-input__inner {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册