mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
52 lines
1.7 KiB
TypeScript
52 lines
1.7 KiB
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
import { ModalController, NavParams, PopoverController } from '@ionic/angular';
|
|
import { DocumentSetUpMeetingPage } from 'src/app/modals/document-set-up-meeting/document-set-up-meeting.page';
|
|
import { ExpedientTaskModalPageNavParamsTask } from 'src/app/models/ExpedientTaskModalPage';
|
|
import { PermissionService } from 'src/app/OtherService/permission.service';
|
|
import { ExpedientTaskModalPage } from 'src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page';
|
|
import { ProcessesService } from 'src/app/services/processes.service';
|
|
import { ToastService } from 'src/app/services/toast.service';
|
|
|
|
@Component({
|
|
selector: 'app-searched-document-options',
|
|
templateUrl: './searched-document-options.page.html',
|
|
styleUrls: ['./searched-document-options.page.scss'],
|
|
})
|
|
export class SearchedDocumentOptionsPage implements OnInit {
|
|
|
|
task: any
|
|
LoadedDocument: any
|
|
|
|
constructor(
|
|
private popoverController: PopoverController,
|
|
private modalController: ModalController,
|
|
private navParams: NavParams,
|
|
public p: PermissionService
|
|
) { }
|
|
|
|
ngOnInit() {
|
|
this.task = this.navParams.get('task');
|
|
this.LoadedDocument = this.navParams.get('LoadedDocument')
|
|
}
|
|
|
|
close() {
|
|
this.popoverController.dismiss();
|
|
}
|
|
|
|
goBack() {
|
|
this.popoverController.dismiss();
|
|
}
|
|
|
|
async openBookMeetingModal() {
|
|
this.popoverController.dismiss({component:'openBookMeetingModal', taskAction: ''});
|
|
}
|
|
|
|
async openExpedientActionsModal( taskAction: any) {
|
|
this.popoverController.dismiss({component:'openExpedientActionsModal', taskAction});
|
|
}
|
|
|
|
async distartExpedientModal(body:any) {}
|
|
|
|
}
|