fix gerar diploma

This commit is contained in:
Peter Maquiran
2024-11-06 14:17:14 +01:00
parent 7e8dc49d5b
commit f0b4ada550
7 changed files with 13 additions and 13 deletions
@@ -6,6 +6,7 @@
[task]=task
[intervenientes]=intervenientes
[cc]=cc
[fulltask]="fulltask"
[customDate]=customDate
[mergedArray]="mergedArray"
(openOptions)= openOptions()
@@ -88,6 +88,7 @@ export class DiplomaAssinarPage implements OnInit {
}
async openOptions(taskAction?: any) {
console.log('openOptions')
if (window.innerWidth > 500) {
this.showOptions = true
@@ -139,11 +140,12 @@ export class DiplomaAssinarPage implements OnInit {
"TaskStartDate": res.taskStartDate,
"InstanceID": res.workflowInstanceDataFields.InstanceID,
"FolderID": res.workflowInstanceDataFields.FolderID,
"DraftIds": res.workflowInstanceDataFields?.DraftIds
"DraftIds": res.workflowInstanceDataFields?.DraftIds,
}
console.log('draftidsss',res.workflowInstanceDataFields.DraftIds);
this.fulltask = res;
console.log('this.fulltask', this.fulltask )
let stringDraft = res.workflowInstanceDataFields.DraftIds;
this.DraftIds = res.workflowInstanceDataFields.DraftIds
console.log('draftidsss 111',this.DraftIds);
@@ -175,7 +175,7 @@ export class TaskDetailsPage implements OnInit {
classs = 'modal modal-desktop showAsideOptions'
}
// check passing
console.log('this.Document----------openExpedientActionsModal', Document)
console.log('this.Document----------openExpedientActionsModal', Document, this.fulltask)
const modal = await this.modalController.create({
component: ExpedientTaskModalPage,
componentProps: {
@@ -115,7 +115,7 @@
<ion-icon *ngIf="attachment.mimeType == 'application/meeting'" src="assets/icon/webtrix.svg">
</ion-icon>
<ion-label>{{ attachment?.fileName || attachment?.description }}</ion-label>
<ion-label class="pl-2">{{ attachment?.fileName || attachment?.description }}</ion-label>
</div>
</div>
@@ -132,7 +132,7 @@
<ion-icon *ngIf="attachment.mimeType == 'application/meeting'" src="assets/icon/webtrix.svg">
</ion-icon>
<ion-label>{{ attachment?.fileName || attachment?.description }}</ion-label>
<ion-label class="pl-2">{{ attachment?.fileName || attachment?.description }}</ion-label>
</div>
</div>