mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
create event from gabinete
This commit is contained in:
@@ -192,6 +192,7 @@
|
||||
<div class="calendar-border"></div>
|
||||
|
||||
|
||||
<!-- {{ eventSource$ | async | json }} -->
|
||||
|
||||
<div class="calendar-title-container px-20 d-flex">
|
||||
|
||||
|
||||
@@ -42,6 +42,8 @@ import { EEventFilterStatus } from 'src/app/services/Repositorys/Agenda/model/en
|
||||
import { TracingType, XTracerAsync } from 'src/app/services/monitoring/opentelemetry/tracer';
|
||||
import { isHttpError } from 'src/app/services/http.service';
|
||||
import { ToastService } from 'src/app/services/toast.service';
|
||||
import { CalendarState, selectEventSource } from 'src/app/services/Repositorys/Agenda/agenda-memory-source.service';
|
||||
import { Store } from '@ngrx/store';
|
||||
@Component({
|
||||
selector: 'app-agenda',
|
||||
templateUrl: './agenda.page.html',
|
||||
@@ -185,6 +187,8 @@ export class AgendaPage implements OnInit {
|
||||
showCalendarField = false
|
||||
hasChangeCalendar = false
|
||||
|
||||
eventSource$ = this.store.select(selectEventSource);
|
||||
|
||||
constructor(
|
||||
@Inject(LOCALE_ID) private locale: string,
|
||||
private modalCtrl: ModalController,
|
||||
@@ -199,6 +203,7 @@ export class AgendaPage implements OnInit {
|
||||
public RoleIdService: RoleIdService,
|
||||
public AgendaDataRepositoryService: AgendaDataRepositoryService,
|
||||
private toastService: ToastService,
|
||||
private store: Store<CalendarState>
|
||||
) {
|
||||
|
||||
this.selectedUserCalendar = SessionStore.user.UserId
|
||||
|
||||
@@ -410,7 +410,11 @@
|
||||
<ion-label>
|
||||
<p class="d-flex ion-justify-content-between">
|
||||
<span class="attach-title-item">{{document.subject}}</span>
|
||||
<span class="app-name">{{document.appName}}</span>
|
||||
<span class="app-name">
|
||||
<span class="app-name" *ngIf="document.applicationId == 8 || document.ApplicationId == 8"> Correspondência </span>
|
||||
<span class="app-name" *ngIf="document.applicationId == 386 || document.ApplicationId == 386"> Acções Presidenciais </span>
|
||||
<span class="app-name" *ngIf="document.applicationId == 361 || document.ApplicationId == 361 "> Arquivo Despacho Electrónico </span>
|
||||
</span>
|
||||
<span class="close-button text-black cursor-pointer" (click)="removeAttachment(i)" >
|
||||
<ion-icon class="font-20" src="assets/images/icons-delete-25.svg"></ion-icon>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user