fix input filter

This commit is contained in:
Peter Maquiran
2024-07-15 12:52:21 +01:00
parent 0c024beb77
commit 57ee7dd7cf
7 changed files with 36 additions and 15 deletions
@@ -8,7 +8,7 @@
<!-- *ngIf="p.userRole('PR')" -->
<!-- *ngIf="p.role(['PR','MD']).permissionAnyOf(['view','edit'])" -->
<label >Convocar Reunião ..</label><br>
<label >Convocar Reunião</label><br>
<i style="margin-top: -3px; font-size: 15px;" > Campos marcados com * são obrigatórios</i>
</div>
</div>
@@ -95,7 +95,7 @@ export class NativeNotificationService {
.filter(e => new Date().getTime() <= new Date(e.start).getTime())
.filter(e => this.didEventHappenToday(e.start))
console.log('notify', events)
// console.log('notify', events)
await this.cancelAllNotification();
@@ -1,8 +1,7 @@
import { Injectable, NgZone } from '@angular/core';
import { AlertController, Platform } from '@ionic/angular';
import { Platform } from '@ionic/angular';
import { Capacitor } from '@capacitor/core';
import { ActionPerformed, PushNotificationSchema, PushNotifications, Token, } from '@capacitor/push-notifications';
import { environment } from 'src/environments/environment';
import { NotificationsEndsPointsService } from './notifications-ends-points.service'
import { AngularFireMessaging } from '@angular/fire/messaging';
import { NavigationExtras, Router } from '@angular/router';
@@ -191,6 +191,7 @@ export class NotificationsService {
tracing.setAttribute('outcome','success')
tracing.finish()
}, (error) => {
tracing.setAttribute('postToken','failed')
tracing.setAttribute('outcome','failed')
tracing.finish()
})
+25 -4
View File
@@ -47,7 +47,6 @@ export class TaskService {
SessionStore = SessionStore
AllProcess = []
showLoader: boolean = false
showLoaderNum: number = 0
loadCount = false
loadNum = 0
@@ -202,7 +201,6 @@ export class TaskService {
async LoadTask() {
this.showLoader = true
try {
await this.loadExpedientes()
@@ -225,7 +223,6 @@ export class TaskService {
await this.loadEventosParaAprovacao()
this.loadCount = true
this.showLoader = false;
}
async loadDespachos() {
@@ -267,7 +264,6 @@ export class TaskService {
}
async loadPedidos() {
this.showLoader = true
this.showLoaderNum++
try {
@@ -499,4 +495,29 @@ export class TaskService {
}
}
taskCleaner(serialNumber: string) {
const taskData = {
serialNumber: serialNumber,
action: "Conhecimento",
ActionTypeId: 104,
dataFields: {
ReviewUserComment: "ii"
},
AttachmentList: {
ProcessInstanceID: "",
Attachments: []
}
};
this.processesbackend.CompleteTask(taskData).subscribe(
response => {
console.log('Task completed successfully:', response);
},
error => {
console.error('Error completing task:', error);
}
);
}
}
@@ -243,7 +243,7 @@ export class AttendeePage implements OnInit {
let result
if(this.hideExternalDomain) {
result = _result.filter( e => e.UserType == 'GD' && e.Name.includes(filter))
result = _result.filter( e => e.UserType == 'GD' && e.EmailAddress.toLocaleLowerCase().includes(filter.toLocaleLowerCase()))
} else {
result = _result
}