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

save

上级 ab6a4507
...@@ -389,12 +389,17 @@ ...@@ -389,12 +389,17 @@
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
} }
/deep/.el-textarea{ ::v-deep.el-textarea{
width: 75%;
.el-textarea__inner{ .el-textarea__inner{
border: none; border: none;
} }
} }
::v-deep.c-bottom-input{
//border: 4px solid #0d9078 !important;
::v-deep textarea{
border: none!important ;
}
}
} }
&.no-content { &.no-content {
display: flex; display: flex;
...@@ -444,3 +449,6 @@ ...@@ -444,3 +449,6 @@
} }
} }
} }
.shrink64{
height: 64px;
}
<template> <template>
<div class="chat-wrap" v-show="showChat"> <div class="chat-wrap" :class="toggleChatSize ? 'shrink64' : ''" v-show="showChat">
<section class="component-content" id="screenSet"> <section class="component-content" id="screenSet">
<article <article
class="center" class="center"
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<span class="edit-img" @click="closeChat"> <span class="edit-img" @click="closeChat">
<img src="../../assets/image/IM/im_close2.png" alt /> <img src="../../assets/image/IM/im_close2.png" alt />
</span> </span>
<span class="edit-img"> <span class="edit-img" @click="toggleChatModal">
<img src="../../assets/image/IM/im_small.png" alt /> <img src="../../assets/image/IM/im_small.png" alt />
</span> </span>
</div> </div>
...@@ -267,7 +267,8 @@ export default { ...@@ -267,7 +267,8 @@ export default {
tid: '', tid: '',
teamMemberList: [], teamMemberList: [],
doctorName: '', doctorName: '',
doctorImg: '' doctorImg: '',
toggleChatSize: false
}; };
}, },
computed: { computed: {
...@@ -926,6 +927,7 @@ export default { ...@@ -926,6 +927,7 @@ export default {
}) })
.catch((err) => {}); .catch((err) => {});
}, },
out() { out() {
const {diagnoseLogId} = this.currentChat; const {diagnoseLogId} = this.currentChat;
let url = `/diagnose/admin/diagnose/endCall/${diagnoseLogId}`; let url = `/diagnose/admin/diagnose/endCall/${diagnoseLogId}`;
...@@ -955,6 +957,10 @@ export default { ...@@ -955,6 +957,10 @@ export default {
}); });
}, },
toggleChatModal () {
this.toggleChatSize = !this.toggleChatSize;
}
}, },
beforeDestroy() { beforeDestroy() {
......
...@@ -116,8 +116,9 @@ export default { ...@@ -116,8 +116,9 @@ export default {
}; };
}, },
created() { created() {
this.tid = this.$route.query.tid || "3854284100"; const {imTeamId, diagnoseLogId} = this.currentChat;
this.diagnoseLogId = this.$route.query.diagnoseLogId || "38"; this.tid = imTeamId|| "3854284100";
this.diagnoseLogId = diagnoseLogId || "38";
// openLoading(this); // openLoading(this);
this.init(); this.init();
}, },
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</div> </div>
</div> </div>
<div class="inquiryroom"> <div class="inquiryroom">
<div class="goroom"><span v-if="nomor" @click="openChat">进入诊室</span><span v-else>正在呼叫医助,进入诊室</span> </div> <div class="goroom" @click="openChat"><span v-if="nomor">进入诊室</span><span v-else>正在呼叫医助,进入诊室</span> </div>
<div class="suggest" @click="openAdvice">诊断建议 <div class="writesuggest" v-if="inquiry.write">未写</div></div> <div class="suggest" @click="openAdvice">诊断建议 <div class="writesuggest" v-if="inquiry.write">未写</div></div>
</div> </div>
</el-card> </el-card>
...@@ -331,10 +331,12 @@ export default { ...@@ -331,10 +331,12 @@ export default {
} }
} }
.inquiryroom{ .inquiryroom{
user-select: none;
height: 45px; height: 45px;
display: flex; //display: flex;
font-size: 14px; font-size: 14px;
.goroom{ .goroom{
display: inline-block;
cursor:pointer; cursor:pointer;
width: 238px; width: 238px;
height: 37px; height: 37px;
...@@ -349,6 +351,7 @@ export default { ...@@ -349,6 +351,7 @@ export default {
} }
} }
.suggest{ .suggest{
display: inline-block;
cursor:pointer; cursor:pointer;
width: 238px; width: 238px;
color: #449284; color: #449284;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册