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

Merge branch 'dev-phase1-0111' of...

Merge branch 'dev-phase1-0111' of http://192.168.110.53/com.pica.cloud.education.frontend/pica-admin-IM into dev-phase1-0111
...@@ -357,7 +357,7 @@ ...@@ -357,7 +357,7 @@
} }
&.no-content { &.no-content {
display: flex; display: flex;
flex-direction: row; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
img { img {
...@@ -366,6 +366,7 @@ ...@@ -366,6 +366,7 @@
height: 100px; height: 100px;
} }
p { p {
margin-top: 10px;
text-align: center; text-align: center;
font-size: 14px; font-size: 14px;
color: #000000; color: #000000;
......
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
<UserInfo :userInfo="doctorInfo" :taskLogId="currentTaskLogId"></UserInfo> <UserInfo :userInfo="doctorInfo" :taskLogId="currentTaskLogId"></UserInfo>
</article> </article>
<article v-show="!sessionListData.sessionList.length" class="center no-content"> <article v-show="!sessionListData.sessionList.length" class="center no-content">
<img src="" alt=""> <img src="../../../assets/image/IM/no-search-list.png" alt="">
<p>任务都做完啦!休息一下吧~</p> <p>任务都做完啦!休息一下吧~</p>
</article> </article>
</section> </section>
...@@ -686,6 +686,15 @@ export default { ...@@ -686,6 +686,15 @@ export default {
this.getDoctorInfo(this.currentToAccId); this.getDoctorInfo(this.currentToAccId);
this.getMSGHistory(this.currentSession); this.getMSGHistory(this.currentSession);
this.readAllMsg(); this.readAllMsg();
// 如果是点击“再来一个”或“给我一个任务吧”按钮分配的任务,则要滚动到最后
if(this.isFromAssignTask) {
this.$nextTick( () => {
let element = this.getElmByID("sessionListId");
if(element) {
element.scrollTop = element.scrollHeight;
}
})
}
} }
if (sLength) { if (sLength) {
this.convertSessions(this.sessionListData.sessionList); this.convertSessions(this.sessionListData.sessionList);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册