# 시험결과분석 81
This commit is contained in:
parent
2a05ada4c5
commit
729379d0f8
@ -6,6 +6,7 @@
|
|||||||
<div class="btn-area">
|
<div class="btn-area">
|
||||||
<ucap-integrated-search-form
|
<ucap-integrated-search-form
|
||||||
*ngIf="!!loginRes"
|
*ngIf="!!loginRes"
|
||||||
|
[searchWord]="integratedSearchWord"
|
||||||
(search)="onIntegratedSearch($event)"
|
(search)="onIntegratedSearch($event)"
|
||||||
class="input-lineless integrated-search"
|
class="input-lineless integrated-search"
|
||||||
>
|
>
|
||||||
|
@ -125,6 +125,8 @@ export class TopBarComponent implements OnInit, OnDestroy {
|
|||||||
@ViewChild('profileMenu', { static: true })
|
@ViewChild('profileMenu', { static: true })
|
||||||
profileMenu: MatMenu;
|
profileMenu: MatMenu;
|
||||||
|
|
||||||
|
integratedSearchWord = '';
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private store: Store<any>,
|
private store: Store<any>,
|
||||||
@Inject(UCAP_NATIVE_SERVICE) private nativeService: NativeService,
|
@Inject(UCAP_NATIVE_SERVICE) private nativeService: NativeService,
|
||||||
@ -567,19 +569,24 @@ export class TopBarComponent implements OnInit, OnDestroy {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
onIntegratedSearch(keyword: string) {
|
async onIntegratedSearch(keyword: string) {
|
||||||
if (!keyword || keyword.trim().length === 0) {
|
if (!keyword || keyword.trim().length === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.dialogService.open<
|
this.integratedSearchWord = keyword;
|
||||||
|
|
||||||
|
const result = await this.dialogService.open<
|
||||||
IntegratedSearchDialogComponent,
|
IntegratedSearchDialogComponent,
|
||||||
IntegratedSearchDialogData,
|
IntegratedSearchDialogData,
|
||||||
IntegratedSearchDialogResult
|
IntegratedSearchDialogResult
|
||||||
>(IntegratedSearchDialogComponent, {
|
>(IntegratedSearchDialogComponent, {
|
||||||
data: {
|
data: {
|
||||||
keyword
|
keyword
|
||||||
}
|
},
|
||||||
|
restoreFocus: false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.integratedSearchWord = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user