diff --git a/src/app/models/draft.ts b/src/app/models/draft.ts new file mode 100644 index 000000000..12ff41945 --- /dev/null +++ b/src/app/models/draft.ts @@ -0,0 +1,14 @@ +interface Document { + ApplicationId: string; + Assunto: string; + DocDate: string; + DocId: string; + DocNumber: string; + FolderId: string; + Sender: string; + SourceDocId: string; + content: string; + path: string; + ownerId: string; + status: string; +} diff --git a/src/app/pages/gabinete-digital/despachos/despacho/despacho.page.ts b/src/app/pages/gabinete-digital/despachos/despacho/despacho.page.ts index afd0b0aba..80c86a4b8 100644 --- a/src/app/pages/gabinete-digital/despachos/despacho/despacho.page.ts +++ b/src/app/pages/gabinete-digital/despachos/despacho/despacho.page.ts @@ -217,7 +217,7 @@ export class DespachoPage implements OnInit { let object = { "ApplicationId": "", "Assunto": resd.data.description, - "DocDate": "", + "DocDate":resd?.createdAt, "DocId": resd.data.id, "DocNumber": "", "FolderId": "", diff --git a/src/app/pages/gabinete-digital/viewer-attachment/viewer-attachment.module.ts b/src/app/pages/gabinete-digital/viewer-attachment/viewer-attachment.module.ts index e589b38f1..0137e24b9 100644 --- a/src/app/pages/gabinete-digital/viewer-attachment/viewer-attachment.module.ts +++ b/src/app/pages/gabinete-digital/viewer-attachment/viewer-attachment.module.ts @@ -7,15 +7,17 @@ import { IonicModule } from '@ionic/angular'; import { ViewerAttachmentPageRoutingModule } from './viewer-attachment-routing.module'; import { ViewerAttachmentPage } from './viewer-attachment.page'; +import { EditorModule } from '@tinymce/tinymce-angular'; @NgModule({ imports: [ CommonModule, FormsModule, IonicModule, - ViewerAttachmentPageRoutingModule + ViewerAttachmentPageRoutingModule, + EditorModule ], - declarations: [ViewerAttachmentPage], + declarations: [ViewerAttachmentPage, ], exports: [ViewerAttachmentPage], schemas: [CUSTOM_ELEMENTS_SCHEMA] }) diff --git a/src/app/pages/gabinete-digital/viewer-attachment/viewer-attachment.page.html b/src/app/pages/gabinete-digital/viewer-attachment/viewer-attachment.page.html index fd89a6c21..8785650ca 100644 --- a/src/app/pages/gabinete-digital/viewer-attachment/viewer-attachment.page.html +++ b/src/app/pages/gabinete-digital/viewer-attachment/viewer-attachment.page.html @@ -1,10 +1,10 @@