mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
improve
This commit is contained in:
@@ -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