mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
improve
This commit is contained in:
@@ -11,10 +11,7 @@
|
||||
<ion-progress-bar type="indeterminate" class="loader" *ngIf="showLoader"></ion-progress-bar>
|
||||
|
||||
|
||||
|
||||
<div class="top-box d-flex ion-justify-content-between">
|
||||
|
||||
|
||||
<!-- search -->
|
||||
<div *ngIf="!showAdvanceSearch" class="icon-z icon-most-searched-word-open cursor-pointer" (click)="showHideAdvanceSearch(true)">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " src="assets/images/theme/blue/icons-most-searched-words-open.svg" class="icon" slot="end"></ion-icon>
|
||||
|
||||
@@ -242,6 +242,9 @@ export class SearchPage implements OnInit {
|
||||
*/
|
||||
basicSearch() {
|
||||
|
||||
|
||||
alert('shear')
|
||||
|
||||
if(this.type == "Agenda" ){
|
||||
|
||||
|
||||
@@ -640,7 +643,7 @@ export class SearchPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async openOrganicEntitySelection(){
|
||||
async openOrganicEntitySelection() {
|
||||
|
||||
let classs;
|
||||
if( window.innerWidth <= 1024){
|
||||
@@ -694,13 +697,16 @@ export class SearchPage implements OnInit {
|
||||
|
||||
const ApplicationType = searchDocument.ApplicationType.toString()
|
||||
const Id = searchDocument.Id
|
||||
const CalendarId = searchDocument.ApplicationName.split(':')[1]
|
||||
|
||||
if(this.select == false) {
|
||||
if(this.type == "Agenda") {
|
||||
|
||||
const modal = await this.modalCtrl.create({
|
||||
component: ViewEventPage,
|
||||
componentProps:{
|
||||
componentProps: {
|
||||
eventId: Id,
|
||||
CalendarId: CalendarId,
|
||||
isModal: true,
|
||||
header: false
|
||||
},
|
||||
@@ -717,7 +723,6 @@ export class SearchPage implements OnInit {
|
||||
|
||||
if(ApplicationType == '8' || ApplicationType == '361') {
|
||||
|
||||
// alert('view!!')
|
||||
this.viewDocumentDetail(Id, ApplicationType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user