1:1 대화방명 디폴트 초기 생성시
"이름 직급 팀명 내선 전화번호 핸드폰 전화번호" 로 생성
This commit is contained in:
parent
dbb19f9234
commit
8bc952d3be
|
@ -98,6 +98,9 @@
|
|||
<span>
|
||||
{{ getSingleRoomUserInfosGrade(_roomUserInfos) }}
|
||||
</span>
|
||||
<span>
|
||||
/ {{ getSingleRoomUserInfosDeptName(_roomUserInfos) }}
|
||||
</span>
|
||||
<span
|
||||
*ngIf="
|
||||
_roomUserInfos.length > 0 &&
|
||||
|
|
|
@ -602,6 +602,15 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
|
|||
return roomName;
|
||||
}
|
||||
|
||||
getSingleRoomUserInfosDeptName(roomUserInfos: any[]) {
|
||||
if (roomUserInfos.length > 0) {
|
||||
return new UiTranslatePipe(
|
||||
this.uiTranslateService,
|
||||
this.changeDetectorRef
|
||||
).transform(roomUserInfos, 'deptName', ',');
|
||||
}
|
||||
return '';
|
||||
}
|
||||
getSingleRoomUserInfosGrade(roomUserInfos: any[]) {
|
||||
if (roomUserInfos.length > 0) {
|
||||
return new UiTranslatePipe(
|
||||
|
|
Loading…
Reference in New Issue
Block a user