+
{{ element.lineNumber | ucapStringFormatterPhone }}
diff --git a/projects/ucap-webmessenger-ui-organization/src/lib/components/detail-table.component.scss b/projects/ucap-webmessenger-ui-organization/src/lib/components/detail-table.component.scss
index 9fa4e3e1..e0967bb7 100644
--- a/projects/ucap-webmessenger-ui-organization/src/lib/components/detail-table.component.scss
+++ b/projects/ucap-webmessenger-ui-organization/src/lib/components/detail-table.component.scss
@@ -90,6 +90,8 @@ td.mat-cell {
}
&.profileInfo {
+ cursor: pointer;
+
.baseInfo {
display: flex;
width: 200px;
@@ -103,6 +105,13 @@ td.mat-cell {
}
}
}
+
+ .hpNumber {
+ cursor: pointer;
+ }
+ .lineNumber {
+ cursor: pointer;
+ }
}
.work-status {
@@ -127,3 +136,11 @@ td.mat-cell {
justify-items: center;
font-size: 1.1em;
}
+
+::ng-deep .integrate-search-org {
+ td.mat-cell {
+ &.profileInfo {
+ cursor: initial !important;
+ }
+ }
+}
diff --git a/projects/ucap-webmessenger-ui-organization/src/lib/components/detail-table.component.ts b/projects/ucap-webmessenger-ui-organization/src/lib/components/detail-table.component.ts
index 4ee94b96..262e81db 100644
--- a/projects/ucap-webmessenger-ui-organization/src/lib/components/detail-table.component.ts
+++ b/projects/ucap-webmessenger-ui-organization/src/lib/components/detail-table.component.ts
@@ -43,6 +43,10 @@ export class DetailTableComponent implements OnInit, OnDestroy {
@Output()
gotoDeptTree = new EventEmitter
();
@Output()
+ sendCall = new EventEmitter();
+ @Output()
+ sendSms = new EventEmitter();
+ @Output()
toggleAllUser = new EventEmitter<{
isChecked: boolean;
userInfos: UserInfoSS[];
@@ -287,4 +291,17 @@ export class DetailTableComponent implements OnInit, OnDestroy {
event.stopPropagation();
this.gotoDeptTree.emit(Number(deptSeq));
}
+ onClickCall(type: string, userInfo: UserInfoSS) {
+ let calleeNumber = '';
+
+ if (type === 'LINE') {
+ calleeNumber = userInfo.lineNumber;
+ } else {
+ calleeNumber = userInfo.hpNumber;
+ }
+ this.sendCall.emit(calleeNumber);
+ }
+ onClickSMS(userInfo: UserInfoSS) {
+ this.sendSms.emit(userInfo.employeeNum);
+ }
}
diff --git a/projects/ucap-webmessenger-ui/src/lib/components/integrated-search-form.component.html b/projects/ucap-webmessenger-ui/src/lib/components/integrated-search-form.component.html
index 1ef80a41..c9f7afa9 100644
--- a/projects/ucap-webmessenger-ui/src/lib/components/integrated-search-form.component.html
+++ b/projects/ucap-webmessenger-ui/src/lib/components/integrated-search-form.component.html
@@ -15,6 +15,7 @@
class="icon-img"
*ngIf="isShowOpenIcon"
matSuffix
+ matTooltip="{{ 'search.unfold' | translate }}"
(click)="onClickShowDialog()"
>