diff --git a/src/app/pages/gabinete-digital/gabinete-digital.page.scss b/src/app/pages/gabinete-digital/gabinete-digital.page.scss index 47d34a555..fc5c8be7b 100644 --- a/src/app/pages/gabinete-digital/gabinete-digital.page.scss +++ b/src/app/pages/gabinete-digital/gabinete-digital.page.scss @@ -339,9 +339,42 @@ ion-content{ .active { + color: white !important; + fill: white !important; background: #42b9fe !important; box-sizing: border-box; .exp-card-title { - color: white !important; + color: rgb(255, 255, 255) !important; } -} \ No newline at end of file + + svg path::part(native) { + color: white !important; + fill: white !important; + } + + svg path::part(button):hover { + color: white !important; + fill: rgb(255, 255, 255) !important; + } + + svg{ + path{ + fill: rgb(255, 255, 255) !important + } + } +} + +.active ion-icon::part(button) { + color: white !important; + fill: rgb(255, 255, 255) !important; +} + +.active ion-icon::part(native) { + color: white !important; + fill: rgb(255, 255, 255) !important; +} + +.active ion-icon{ + color: white !important; + fill: red !important; +} diff --git a/src/app/shared/agenda/view-event/view-event.page.html b/src/app/shared/agenda/view-event/view-event.page.html index 580be3e54..17fc8286e 100644 --- a/src/app/shared/agenda/view-event/view-event.page.html +++ b/src/app/shared/agenda/view-event/view-event.page.html @@ -6,34 +6,26 @@ - + Efectuar Despacho - + Pedido de Parecer - + Pedido de Deferimento - + Marcar reunião - + @@ -54,7 +46,7 @@ {{loadedEvent.Subject}} -
+
@@ -64,10 +56,6 @@
- - - -
@@ -112,10 +100,21 @@
Documentos Anexados
- - -

{{attach.SourceName}}

-

{{attach.Stakeholders}}{{ attach.CreateDate | date: 'dd-MM-yy' }}

+ + +
+

{{attach.SourceName}}

+ {{attach.Stakeholders}} +
+ +
+ {{ attach.CreateDate | date: 'dd-MM-yy' }} +
+ + + + +
diff --git a/src/app/shared/agenda/view-event/view-event.page.ts b/src/app/shared/agenda/view-event/view-event.page.ts index 58070b702..f85e9a9d6 100644 --- a/src/app/shared/agenda/view-event/view-event.page.ts +++ b/src/app/shared/agenda/view-event/view-event.page.ts @@ -35,6 +35,7 @@ export class ViewEventPage implements OnInit { days = ["Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"]; documents: Attachment[] = []; + dicIndex = 0; @Input() profile:string; @Input() eventId: string; @@ -68,6 +69,10 @@ export class ViewEventPage implements OnInit { this.loadEvent(); } + docIndex(index: number) { + this.dicIndex = index; + } + close(){ console.log(this.isEventEdited); @@ -135,19 +140,19 @@ export class ViewEventPage implements OnInit { classs = 'modal modal-desktop showAsideOptions' } - this.loadedAttachments.forEach((attachment)=>{ - task = { - serialNumber: attachment.SourceId, - taskStartDate: attachment.CreateDate, - isEvent: true, - workflowInstanceDataFields: { - FsId: attachment.ApplicationId, - FolderID: null, - DocId: attachment.SourceId, - Subject: attachment.SourceName - }, - } - }); + const doc = this.loadedAttachments[ this.dicIndex]; + + task = { + serialNumber: doc.SourceId, + taskStartDate: doc.CreateDate, + isEvent: true, + workflowInstanceDataFields: { + FsId: doc.ApplicationId, + FolderID: null, + DocId: doc.SourceId, + Subject: doc.SourceName + }, + } const modal = await this.modalController.create({ component: ExpedientTaskModalPage, @@ -171,22 +176,21 @@ export class ViewEventPage implements OnInit { }); } - async openBookMeetingModal(task: any) { - this.loadedAttachments.forEach((attachment)=>{ - task = { - serialNumber: attachment.SourceId, - taskStartDate: attachment.CreateDate, - isEvent: true, - workflowInstanceDataFields: { - FsId: attachment.ApplicationId, - FolderID: null, - DocId: attachment.SourceId, - Subject: attachment.SourceName - }, - } - }); + const doc = this.loadedAttachments[ this.dicIndex]; + + task = { + serialNumber: doc.SourceId, + taskStartDate: doc.CreateDate, + isEvent: true, + workflowInstanceDataFields: { + FsId: doc.ApplicationId, + FolderID: null, + DocId: doc.SourceId, + Subject: doc.SourceName + }, + } let classs; if( window.innerWidth <= 800){