Browse Source

屏蔽“患者进入咨询”信息在IM中的显示

raolu 6 years ago
parent
commit
802efff9b4
1 changed files with 4 additions and 1 deletions
  1. 4 1
      html/message/js/chatRoom.js

+ 4 - 1
html/message/js/chatRoom.js

@ -359,7 +359,10 @@ function showMsg(msgList, isClear, isPre, appendImg, scrollToTop) {
		    if(typeMsg == 7 && msg.sender_id == 'system'){
		        contentMsg = "居民24小时内未回复,系统自动结束咨询";
		    }
			html += '<div class="time-tips"><div>'+ contentMsg +' </div></div>';
		    if(typeMsg != 14){ //14标记患者进入咨询
		        html += '<div class="time-tips"><div>'+ contentMsg +' </div></div>';
		    }
			
			continue;
		} else if(typeMsg == 5){
			var con = JSON.parse(msg.content);