mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
Merge branch 'developer' of https://bitbucket.org/equilibriumito/gabinete-digital into developer
This commit is contained in:
@@ -172,70 +172,6 @@ export class ViewEventPage implements OnInit {
|
||||
|
||||
const docId = this.loadedEvent.Attachments[ this.dicIndex].SourceId
|
||||
const applicationId: any = this.loadedEvent.Attachments[ this.dicIndex].ApplicationId
|
||||
|
||||
// this.processes.GetDocumentDetails(docId, applicationId).subscribe( async(res)=> {
|
||||
|
||||
// this.LoadedDocument = res;
|
||||
// this.LoadedDocument.Subject = this.LoadedDocument.Assunto
|
||||
|
||||
// let thedate = new Date(this.LoadedDocument.DateDispatch || this.LoadedDocument.DocDate);
|
||||
// this.customDate = this.days[thedate.getDay()]+ ", " + thedate.getDate() +" de " + ( this.months[thedate.getMonth()]);
|
||||
|
||||
// let task: ExpedientTaskModalPageNavParamsTask
|
||||
// let document: SearchDocumentDetails = this.LoadedDocument
|
||||
// let folder: SearchFolderDetails = this.LoadedDocument
|
||||
|
||||
// if(this.LoadedDocument.ApplicationID == 361 || this.LoadedDocument.ApplicationId == 361) {
|
||||
// task = {
|
||||
// serialNumber: folder.DispatchNumber,
|
||||
// taskStartDate: folder.DateDispatch,
|
||||
// isEvent: true,
|
||||
// workflowInstanceDataFields: {
|
||||
// FolderID: folder['FolderId'] || folder['FolderID'] || folder.folderId,
|
||||
// Subject: folder.Assunto,
|
||||
// SourceSecFsID: folder.ApplicationID || folder['ApplicationId'],
|
||||
// SourceType: 'FOLDER',
|
||||
// SourceID: folder.folderId,
|
||||
// DispatchNumber: folder.DispatchNumber
|
||||
// },
|
||||
// }
|
||||
// } else if (document.ApplicationID == 8 || document.ApplicationId == 8) {
|
||||
// task = {
|
||||
// serialNumber: document.DocId,
|
||||
// taskStartDate: document.DocDate,
|
||||
// isEvent: true,
|
||||
// workflowInstanceDataFields: {
|
||||
// FolderID: null,
|
||||
// Subject: document.Assunto,
|
||||
// DispatchNumber: null,
|
||||
// SourceSecFsID: document.ApplicationID || document.ApplicationId,
|
||||
// SourceType: 'DOC',
|
||||
// SourceID: document.DocId,
|
||||
// }
|
||||
// }
|
||||
// } else {
|
||||
// console.log('unexpected ApplicationID')
|
||||
// }
|
||||
|
||||
// const modal = await this.modalController.create({
|
||||
// component: ViewDocumentPage,
|
||||
// componentProps: {
|
||||
// trustedUrl: '',
|
||||
// file: {
|
||||
// title: task.workflowInstanceDataFields.Subject,
|
||||
// url: '',
|
||||
// title_link: '',
|
||||
// },
|
||||
// Document: this.LoadedDocument,
|
||||
// applicationId: task.workflowInstanceDataFields.SourceSecFsID,
|
||||
// docId: this.LoadedDocument.DocId || this.LoadedDocument.DocID,
|
||||
// folderId: folder['FolderId'] || folder['FolderID'] || folder.folderId
|
||||
// },
|
||||
// cssClass: 'modal modal-desktop'
|
||||
// });
|
||||
// await modal.present();
|
||||
// });
|
||||
|
||||
const selectedDoc = this.loadedEvent.Attachments[ this.dicIndex]
|
||||
|
||||
console.log('selectedDoc', selectedDoc)
|
||||
@@ -254,7 +190,6 @@ export class ViewEventPage implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const modal = await this.modalController.create({
|
||||
component: ViewDocumentPage,
|
||||
componentProps: {
|
||||
|
||||
Reference in New Issue
Block a user