mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix viewer options
This commit is contained in:
@@ -42,6 +42,8 @@ export class ViewDocumentPage implements OnInit {
|
|||||||
this.file.title = 'Sem Título'
|
this.file.title = 'Sem Título'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(this.task)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
@@ -72,13 +74,17 @@ export class ViewDocumentPage implements OnInit {
|
|||||||
await modal.present();
|
await modal.present();
|
||||||
|
|
||||||
modal.onDidDismiss().then((res)=>{
|
modal.onDidDismiss().then((res)=>{
|
||||||
if(res.data.component == 'openBookMeetingModal') {
|
|
||||||
this.openBookMeetingModal()
|
if(res.data) {
|
||||||
} else if(res.data.component == 'openExpedientActionsModal') {
|
if(res.data.component == 'openBookMeetingModal') {
|
||||||
this.openExpedientActionsModal(res.data.taskAction)
|
this.openBookMeetingModal()
|
||||||
} else {
|
} else if(res.data.component == 'openExpedientActionsModal') {
|
||||||
console.log('component not found')
|
this.openExpedientActionsModal(res.data.taskAction)
|
||||||
|
} else {
|
||||||
|
console.log('component not found')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -160,7 +160,8 @@ export class DespachoPrPage implements OnInit {
|
|||||||
Document,
|
Document,
|
||||||
applicationId: Document.ApplicationId,
|
applicationId: Document.ApplicationId,
|
||||||
docId: Document.DocId || Document.SourceId,
|
docId: Document.DocId || Document.SourceId,
|
||||||
folderId: this.task.FolderId
|
folderId: this.task.FolderId,
|
||||||
|
task: this.fulltask
|
||||||
},
|
},
|
||||||
cssClass: 'modal modal-desktop'
|
cssClass: 'modal modal-desktop'
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -162,6 +162,9 @@ export class DespachoPage implements OnInit {
|
|||||||
|
|
||||||
async viewDocument(docId:string, Document) {
|
async viewDocument(docId:string, Document) {
|
||||||
|
|
||||||
|
|
||||||
|
console.log(this.fulltask)
|
||||||
|
|
||||||
const modal = await this.modalController.create({
|
const modal = await this.modalController.create({
|
||||||
component: ViewDocumentPage,
|
component: ViewDocumentPage,
|
||||||
componentProps: {
|
componentProps: {
|
||||||
|
|||||||
+2
-1
@@ -149,7 +149,8 @@ export class DiplomaAssinarPage implements OnInit {
|
|||||||
Document,
|
Document,
|
||||||
applicationId: Document.ApplicationId,
|
applicationId: Document.ApplicationId,
|
||||||
docId: Document.DocId || Document.SourceId,
|
docId: Document.DocId || Document.SourceId,
|
||||||
folderId: this.task.FolderId
|
folderId: this.task.FolderId,
|
||||||
|
task: this.fulltask
|
||||||
},
|
},
|
||||||
cssClass: 'modal modal-desktop'
|
cssClass: 'modal modal-desktop'
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -170,7 +170,8 @@ export class DiplomaPage implements OnInit {
|
|||||||
Document,
|
Document,
|
||||||
applicationId: Document.ApplicationId,
|
applicationId: Document.ApplicationId,
|
||||||
docId: Document.DocId || Document.SourceId,
|
docId: Document.DocId || Document.SourceId,
|
||||||
folderId: this.task.FolderId
|
folderId: this.task.FolderId,
|
||||||
|
task: this.fulltask
|
||||||
},
|
},
|
||||||
cssClass: 'modal modal-desktop'
|
cssClass: 'modal modal-desktop'
|
||||||
});
|
});
|
||||||
|
|||||||
+2
-1
@@ -320,7 +320,8 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
Document,
|
Document,
|
||||||
applicationId: Document.ApplicationId,
|
applicationId: Document.ApplicationId,
|
||||||
docId: Document.DocId || Document.SourceId,
|
docId: Document.DocId || Document.SourceId,
|
||||||
folderId: this.task.FolderId
|
folderId: this.task.FolderId,
|
||||||
|
task: this.fulltask
|
||||||
},
|
},
|
||||||
cssClass: 'modal modal-desktop'
|
cssClass: 'modal modal-desktop'
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -210,7 +210,8 @@ export class ExpedientePrPage implements OnInit {
|
|||||||
Document,
|
Document,
|
||||||
applicationId: Document.ApplicationId,
|
applicationId: Document.ApplicationId,
|
||||||
docId: Document.DocId || Document.SourceId,
|
docId: Document.DocId || Document.SourceId,
|
||||||
folderId: this.task.FolderId
|
folderId: this.task.FolderId,
|
||||||
|
task: this.fulltask
|
||||||
},
|
},
|
||||||
cssClass: 'modal modal-desktop'
|
cssClass: 'modal modal-desktop'
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -193,7 +193,8 @@ export class PedidoPage implements OnInit {
|
|||||||
Document,
|
Document,
|
||||||
applicationId: Document.ApplicationId,
|
applicationId: Document.ApplicationId,
|
||||||
docId: Document.DocId || Document.SourceId,
|
docId: Document.DocId || Document.SourceId,
|
||||||
folderId: this.task.FolderId
|
folderId: this.task.FolderId,
|
||||||
|
task: this.fulltask
|
||||||
},
|
},
|
||||||
cssClass: 'modal modal-desktop'
|
cssClass: 'modal modal-desktop'
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button (click)="takePicture()" full class="btn-ok" shape="round" >Tirar Fotografia</button>
|
<button hidden (click)="takePicture()" full class="btn-ok" shape="round" >Tirar Fotografia</button>
|
||||||
<button (click)="addFile()" class="btn-ok" shape="round" >Anexar Documento</button>
|
<button (click)="addFile()" class="btn-ok" shape="round" >Anexar Documento</button>
|
||||||
<button hidden (click)="anexarFoto()" full class="btn-ok" shape="round" >Anexar Fotografia</button>
|
<button hidden (click)="anexarFoto()" full class="btn-ok" shape="round" >Anexar Fotografia</button>
|
||||||
<button (click)="addDocGestaoDocumental()" class="btn-ok" shape="round" >Gestão Documental</button>
|
<button (click)="addDocGestaoDocumental()" class="btn-ok" shape="round" >Gestão Documental</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user