mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
fix messsage
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
</div>
|
||||
<div class="flex-1">
|
||||
<div *ngIf="p.userPermission([p.permissionList.Gabinete.access])" class="schedule schedule-1 height-100">
|
||||
<ion-progress-bar type="indeterminate" *ngIf="loadingAllTask || TaskService.showLoaderNum != 0"></ion-progress-bar>
|
||||
<ion-progress-bar type="indeterminate" *ngIf="loadingAllTask"></ion-progress-bar>
|
||||
<div class="schedule-header">
|
||||
<div class="title">
|
||||
<ion-icon class="icon" slot="end" src="assets/images/icons-correspondencias.svg"></ion-icon>
|
||||
|
||||
+5
-5
@@ -271,7 +271,7 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
|
||||
async AssinarDraft() {
|
||||
|
||||
if (this.asDraft) {
|
||||
//if (this.asDraft) {
|
||||
const modal = await this.modalController.create({
|
||||
component: PopupQuestionPage,
|
||||
componentProps: {
|
||||
@@ -299,7 +299,7 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
try {
|
||||
await this.processes.createSignatureV2(body);
|
||||
|
||||
//await this.Assinar();
|
||||
await this.Assinar();
|
||||
this.TaskService.loadDiplomas();
|
||||
this.goBack();
|
||||
} catch (error) {
|
||||
@@ -315,9 +315,9 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
} else {
|
||||
//} else {
|
||||
this.httpErroHandle.validationMessagge("diplomaAsDraft");
|
||||
}
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
@@ -566,7 +566,7 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
this.mergedArray.push(file);
|
||||
}
|
||||
|
||||
this.task.DraftIds = draftList.value.data.map(e => e.id).join(',')
|
||||
this.task.DraftIds = draftList.value.data.map(e => e.id).join(';')
|
||||
this.DraftIds = this.task.DraftIds
|
||||
|
||||
if (draftList.value.data.length == 0) {
|
||||
|
||||
@@ -486,9 +486,9 @@ export class DiplomaPage implements OnInit {
|
||||
|
||||
this.TaskService.loadDiplomas()
|
||||
|
||||
if(taskAction != '0') {
|
||||
//if(taskAction != '0') {
|
||||
this.goBack();
|
||||
}
|
||||
//}
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
|
||||
Reference in New Issue
Block a user