mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
Add search model icons
This commit is contained in:
@@ -48,6 +48,8 @@ export class SearchPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
loadedAttachments:any;
|
||||
|
||||
list = []
|
||||
|
||||
constructor(private modalController: ModalController,
|
||||
@@ -61,8 +63,13 @@ export class SearchPage implements OnInit {
|
||||
}
|
||||
|
||||
wordCloud(){
|
||||
|
||||
this.search.mostSeachWord("10").subscribe(res=>{
|
||||
|
||||
const container = document.querySelector('.most-searched-word-container');
|
||||
|
||||
container.setAttribute('style',`height: ${window.innerWidth}px`);
|
||||
|
||||
let list = []
|
||||
|
||||
res.forEach(element => {
|
||||
@@ -338,4 +345,17 @@ export class SearchPage implements OnInit {
|
||||
|
||||
this.showCategory = categoryName;
|
||||
}
|
||||
|
||||
|
||||
itemIcons(): string{
|
||||
return window.location.pathname
|
||||
}
|
||||
|
||||
viewDocument(){
|
||||
const url: string = this.loadedAttachments.DocumentURL.replace("webTRIX.Viewer","webTRIX.Viewer.Branch1");
|
||||
// const browser = this.iab.create(url,"_blank");
|
||||
// browser.show();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user