add search

This commit is contained in:
Peter Maquiran
2021-08-10 16:24:14 +01:00
parent 1cc3b41227
commit dcbe98df94
8 changed files with 93 additions and 17 deletions
@@ -56,7 +56,7 @@
<button *ngIf="p.userRole(['PR'])" (click)="openExpedientActionsModal('0')" class="btn-ok" shape="round" >Marcar para Despacho</button>
<button *ngIf="!p.userRole(['PR'])" (click)="openExpedientActionsModal('0')" class="btn-ok" shape="round" >Efetuar Despacho</button>
<div class="solid"></div>
<button (click)="openExpedientActionsModal('0')" class="btn-cancel" shape="round" >Solicitar Parecer</button>
<button (click)="openExpedientActionsModal('1')" class="btn-cancel" shape="round" >Solicitar Parecer</button>
<button *ngIf="!p.userRole(['PR'])" (click)="openExpedientActionsModal('2')" class="btn-cancel" shape="round" >Pedido de Deferimento</button>
<button (click)="openBookMeetingModal()" class="btn-cancel" shape="round" >Marcar Reunião</button>
</div>
@@ -39,7 +39,7 @@ export class DocumentDetailPage implements OnInit {
private menu: MenuController,
private iab: InAppBrowser,
public p: PermissionService,
private popoverController: PopoverController,
private popoverController: PopoverController
) {
this.docId = this.navParams.get('docId');
this.applicationId = this.navParams.get('applicationId');
@@ -135,6 +135,7 @@ export class DocumentDetailPage implements OnInit {
componentProps: {
taskAction: taskAction,
task: this.task,
seachDocuments: this.LoadedDocument
},
cssClass: classs,
});
@@ -20,6 +20,7 @@ import { DiscartExpedientModalPage } from 'src/app/pages/gabinete-digital/discar
import { DocumentService } from 'src/app/Rules/document.service';
import { DocumentSetUpMeeting, Attachments } from 'src/app/models/CallMeeting';
import { EventsService } from 'src/app/services/events.service';
import { SearchDocumentPipe } from 'src/app/pipes/search-document.pipe';
const moment = _rollupMoment || _moment;
@@ -115,6 +116,8 @@ export class DocumentSetUpMeetingPage implements OnInit {
document: any;
private searchDocumentPipe = SearchDocumentPipe
constructor(
private modalController: ModalController,
private router:Router,
@@ -123,7 +126,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
authService: AuthService,
private toastService: ToastService,
private documentService: DocumentService,
private calendarService: EventsService
private calendarService: EventsService,
) {
this.loggeduser = authService.ValidatedUser;