mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
fix
This commit is contained in:
@@ -916,7 +916,8 @@ export class AgendaPage implements OnInit {
|
||||
let taskParticipants = [{
|
||||
EmailAddress: SessionStore.user.Email,
|
||||
IsRequired: true,
|
||||
Name: SessionStore.user.FullName
|
||||
Name: SessionStore.user.FullName,
|
||||
UserType: "GD"
|
||||
}]
|
||||
const modal = await this.modalCtrl.create({
|
||||
component: NewEventPage,
|
||||
@@ -944,7 +945,8 @@ export class AgendaPage implements OnInit {
|
||||
this.taskParticipants = [{
|
||||
EmailAddress: SessionStore.user.Email,
|
||||
IsRequired: true,
|
||||
Name: SessionStore.user.FullName
|
||||
Name: SessionStore.user.FullName,
|
||||
UserType: "GD"
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,10 +82,6 @@ export class DespachoPrPage implements OnInit {
|
||||
|
||||
this.LoadTaskDetail(this.serialNumber);
|
||||
// this.LoadRelatedEvents(this.serialNumber);
|
||||
|
||||
this.backgroundservice.registerBackService('Online', () => {
|
||||
this.LoadTaskDetail(this.serialNumber);
|
||||
});
|
||||
}
|
||||
|
||||
close() {
|
||||
|
||||
+1
-5
@@ -17,11 +17,7 @@
|
||||
|
||||
<div *ngIf="task" class="aside-right flex-column height-100 overflow-y-auto">
|
||||
<div class="buttons">
|
||||
<button (click)="Assinar()" class="btn-cancel" shape="round" >Assinado</button>
|
||||
<div class="solid"></div>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
<button (click)="AssinarNew()" class="btn-cancel" shape="round" >Assinar</button>
|
||||
<button (click)="AssinarDraft()" class="btn-cancel" shape="round" >Assinado</button>
|
||||
<div class="solid"></div>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
|
||||
+4
-10
@@ -231,10 +231,6 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
|
||||
try {
|
||||
await this.processes.CompleteTask(body).toPromise()
|
||||
|
||||
this.httpErroHandle.httpsSucessMessagge('Assinado')
|
||||
this.TaskService.loadDiplomas()
|
||||
this.goBack();
|
||||
} catch (error) {
|
||||
this.httpErroHandle.httpStatusHandle(error)
|
||||
}
|
||||
@@ -244,7 +240,7 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
async AssinarNew() {
|
||||
async AssinarDraft() {
|
||||
let body = {
|
||||
"InstanceId": this.task.InstanceID,
|
||||
"FolderId": this.task.FolderID,
|
||||
@@ -252,22 +248,20 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
"OriginalFileName": this.DraftNames
|
||||
}
|
||||
|
||||
console.log(body)
|
||||
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
try {
|
||||
await this.processes.presidentialActionsSignature(body).toPromise()
|
||||
|
||||
this.httpErroHandle.httpsSucessMessagge('Assinado')
|
||||
this.TaskService.loadDiplomas()
|
||||
await this.Assinar();
|
||||
this.TaskService.loadDiplomas();
|
||||
this.goBack();
|
||||
} catch (error) {
|
||||
this.httpErroHandle.httpStatusHandle(error)
|
||||
}
|
||||
finally {
|
||||
loader.remove()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
async openAddNoteModal(actionName: string) {
|
||||
|
||||
+2
-1
@@ -157,7 +157,8 @@ export class BookMeetingModalPage implements OnInit {
|
||||
this.taskParticipants = [{
|
||||
EmailAddress: SessionStore.user.Email,
|
||||
IsRequired: true,
|
||||
Name: SessionStore.user.FullName
|
||||
Name: SessionStore.user.FullName,
|
||||
UserType: "GD"
|
||||
}]
|
||||
}
|
||||
|
||||
|
||||
@@ -290,7 +290,7 @@ export class GabineteDigitalPage implements OnInit {
|
||||
if(currentFilter != this.filterName) {
|
||||
this.dynamicSearch()
|
||||
}
|
||||
console.log('this.filterName', this.filterName)
|
||||
// console.log('this.filterName', this.filterName)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user