mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
merge
This commit is contained in:
@@ -160,7 +160,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div *ngIf="postData" class="aside-right flex-column height-100">
|
<div *ngIf="postData && loggeduser.Profile != 'PR'" class="aside-right flex-column height-100">
|
||||||
<app-empty-container
|
<app-empty-container
|
||||||
[texto]="emptyTextDescription"
|
[texto]="emptyTextDescription"
|
||||||
*ngIf="!showAttendees"
|
*ngIf="!showAttendees"
|
||||||
|
|||||||
@@ -333,7 +333,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="aside-righ flex-grow-1">
|
<div *ngIf="loggeduser.Profile != 'PR'" class="aside-righ flex-grow-1">
|
||||||
<app-empty-container
|
<app-empty-container
|
||||||
[texto]="emptyTextDescription"
|
[texto]="emptyTextDescription"
|
||||||
*ngIf="!showAttendees"
|
*ngIf="!showAttendees"
|
||||||
|
|||||||
@@ -84,6 +84,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="buttons" *ngIf="task.activityInstanceName == 'Diploma Assinado'">
|
<div class="buttons" *ngIf="task.activityInstanceName == 'Diploma Assinado'">
|
||||||
<button (click)="openAddNoteModal('Concluir diploma')" class="btn-cancel" shape="round" >Concluir</button>
|
<button (click)="openAddNoteModal('Concluir diploma')" class="btn-cancel" shape="round" >Concluir</button>
|
||||||
|
<button (click)="openExpedientActionsModal('0',fulltask)" class="btn-cancel" shape="round" >Efectuar Despacho</button>
|
||||||
|
<button (click)="openAddNoteModal('Arquivo')" class="btn-cancel" shape="round" >Arquivar</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -293,7 +293,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="aside-righ flex-grow-1">
|
<div *ngIf="loggeduser.Profile != 'PR'" class="aside-righ flex-grow-1">
|
||||||
<app-empty-container
|
<app-empty-container
|
||||||
[texto]="emptyTextDescription"
|
[texto]="emptyTextDescription"
|
||||||
*ngIf="!showAttendees"
|
*ngIf="!showAttendees"
|
||||||
|
|||||||
+1
-1
@@ -209,7 +209,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="postData" class="aside-right flex-column height-100">
|
<div *ngIf="postData && loggeduser.Profile != 'PR'" class="aside-right flex-column height-100">
|
||||||
<app-empty-container
|
<app-empty-container
|
||||||
[texto]="emptyTextDescription"
|
[texto]="emptyTextDescription"
|
||||||
*ngIf="!showAttendees"
|
*ngIf="!showAttendees"
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export class HttpErrorHandle {
|
|||||||
this.toastService._successMessage('Despacho executado!')
|
this.toastService._successMessage('Despacho executado!')
|
||||||
break;
|
break;
|
||||||
case 'Gerar Diploma':
|
case 'Gerar Diploma':
|
||||||
this.toastService._successMessage('Diploma gerado!')
|
this.toastService._successMessage('Enviado com sucesso!')
|
||||||
break;
|
break;
|
||||||
case 'Efetuar Despacho':
|
case 'Efetuar Despacho':
|
||||||
this.toastService._successMessage('Despacho efetuado!')
|
this.toastService._successMessage('Despacho efetuado!')
|
||||||
|
|||||||
@@ -8,7 +8,8 @@ import { EmendMessageModalPage } from 'src/app/pages/agenda/emend-message-modal/
|
|||||||
import { EventActionsPopoverPage } from 'src/app/pages/agenda/event-actions-popover/event-actions-popover.page';
|
import { EventActionsPopoverPage } from 'src/app/pages/agenda/event-actions-popover/event-actions-popover.page';
|
||||||
import { ToastService } from 'src/app/services/toast.service';
|
import { ToastService } from 'src/app/services/toast.service';
|
||||||
import { ViewDocumentPage } from 'src/app/modals/view-document/view-document.page';
|
import { ViewDocumentPage } from 'src/app/modals/view-document/view-document.page';
|
||||||
import { ThemeService } from 'src/app/services/theme.service'
|
import { ThemeService } from 'src/app/services/theme.service';
|
||||||
|
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-approve-event',
|
selector: 'app-approve-event',
|
||||||
@@ -46,7 +47,8 @@ export class ApproveEventPage implements OnInit {
|
|||||||
private attachmentsService: AttachmentsService,
|
private attachmentsService: AttachmentsService,
|
||||||
private popoverController: PopoverController,
|
private popoverController: PopoverController,
|
||||||
private toastService: ToastService,
|
private toastService: ToastService,
|
||||||
public ThemeService: ThemeService
|
public ThemeService: ThemeService,
|
||||||
|
private httpErroHandle: HttpErrorHandle,
|
||||||
) {
|
) {
|
||||||
// Event to approve list
|
// Event to approve list
|
||||||
|
|
||||||
@@ -87,14 +89,9 @@ export class ApproveEventPage implements OnInit {
|
|||||||
try {
|
try {
|
||||||
await this.processes.PostTaskAction(body).toPromise()
|
await this.processes.PostTaskAction(body).toPromise()
|
||||||
this.modalController.dismiss(serialNumber);
|
this.modalController.dismiss(serialNumber);
|
||||||
this.toastService._successMessage('Evento aprovar')
|
this.httpErroHandle.httpsSucessMessagge('Aprovar')
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if(error.status == 0) {
|
this.httpErroHandle.httpStatusHandle(error)
|
||||||
this.toastService._badRequest('Sem acesso à internet. Por favor verifique sua conexão')
|
|
||||||
} else {
|
|
||||||
|
|
||||||
this.toastService._badRequest('Evento não aprovar')
|
|
||||||
}
|
|
||||||
} finally {
|
} finally {
|
||||||
this.close()
|
this.close()
|
||||||
loader.remove()
|
loader.remove()
|
||||||
@@ -111,14 +108,9 @@ export class ApproveEventPage implements OnInit {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
await this.processes.PostTaskAction(body).toPromise()
|
await this.processes.PostTaskAction(body).toPromise()
|
||||||
this.toastService._successMessage('Evento rejeitado')
|
this.httpErroHandle.httpsSucessMessagge('Rejeitar');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if(error.status == 0) {
|
this.httpErroHandle.httpStatusHandle(error)
|
||||||
this.toastService._badRequest('Sem acesso à internet. Por favor verifique sua conexão')
|
|
||||||
} else {
|
|
||||||
|
|
||||||
this.toastService._badRequest('Evento não rejeitado')
|
|
||||||
}
|
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
loader.remove()
|
loader.remove()
|
||||||
@@ -203,15 +195,10 @@ export class ApproveEventPage implements OnInit {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
await this.processes.PostTaskAction(body).toPromise();
|
await this.processes.PostTaskAction(body).toPromise();
|
||||||
this.toastService._successMessage('Evento enviado para revisão');
|
this.httpErroHandle.httpsSucessMessagge('Rever')
|
||||||
this.close();
|
this.close();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if(error.status == 0) {
|
this.httpErroHandle.httpStatusHandle(error)
|
||||||
this.toastService._badRequest('Sem acesso à internet. Por favor verifique sua conexão')
|
|
||||||
} else {
|
|
||||||
|
|
||||||
this.toastService._badRequest('Evento não enviado para revisão');
|
|
||||||
}
|
|
||||||
} finally {
|
} finally {
|
||||||
loader.remove()
|
loader.remove()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
<button (click)="openAddNoteModal('Solicitar assinatura')" class="btn-cancel" shape="round" >Solicitar assinatura do Presidente</button>
|
<button (click)="openAddNoteModal('Solicitar assinatura')" class="btn-cancel" shape="round" >Solicitar assinatura do Presidente</button>
|
||||||
<button (click)="openAddNoteModal('Solicitar alteração')" class="btn-cancel" shape="round" >Solicitar alteração</button>
|
<button (click)="openAddNoteModal('Solicitar alteração')" class="btn-cancel" shape="round" >Solicitar alteração</button>
|
||||||
<button (click)="openExpedientActionsModal('0',fulltask)" class="btn-cancel" shape="round" >Efetuar despacho</button>
|
<button (click)="openExpedientActionsModal('0',fulltask)" class="btn-cancel" shape="round" >Efetuar despacho</button>
|
||||||
<button (click)="openAddNoteModal('Arquivo')" class="btn-cancel" shape="round" >Arquivar</button>
|
|
||||||
<button (click)="openBookMeetingModal(task)" class="btn-cancel" shape="round" >Marcar Reunião</button>
|
<button (click)="openBookMeetingModal(task)" class="btn-cancel" shape="round" >Marcar Reunião</button>
|
||||||
|
|
||||||
|
|
||||||
@@ -25,10 +24,10 @@
|
|||||||
<div class="buttons width-100" *ngIf="task.activityInstanceName == 'Assinar Diploma'">
|
<div class="buttons width-100" *ngIf="task.activityInstanceName == 'Assinar Diploma'">
|
||||||
<button (click)="openAddNoteModal('Assinar Diploma')" class="btn-cancel" shape="round" >Assinado</button>
|
<button (click)="openAddNoteModal('Assinar Diploma')" class="btn-cancel" shape="round" >Assinado</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="buttons width-100" *ngIf="task.activityInstanceName == 'Assinar Diploma'">
|
<div class="buttons width-100">
|
||||||
<button (click)="openAddNoteModal('Arquivo')" class="btn-cancel" shape="round" >Arquivo</button>
|
<button (click)="openAddNoteModal('Arquivo')" class="btn-cancel" shape="round" >Arquivar</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="buttons width-100" *ngIf="task.activityInstanceName == 'Assinar Diploma'">
|
<div class="buttons width-100" *ngIf="task.activityInstanceName != 'Revisar Diploma'">
|
||||||
<button (click)="openExpedientActionsModal('0',task)" class="btn-cancel" shape="round" >Efetuar despacho</button>
|
<button (click)="openExpedientActionsModal('0',task)" class="btn-cancel" shape="round" >Efetuar despacho</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ import { oaprProd } from './suport/oapr'
|
|||||||
import { doneITProd } from './suport/doneIt'
|
import { doneITProd } from './suport/doneIt'
|
||||||
|
|
||||||
|
|
||||||
export const environment: Environment = doneITProd;
|
export const environment: Environment = oaprProd;
|
||||||
@@ -3,4 +3,4 @@ import { oaprDev } from './suport/oapr'
|
|||||||
import { doneITDev } from './suport/doneIt'
|
import { doneITDev } from './suport/doneIt'
|
||||||
|
|
||||||
|
|
||||||
export const environment: Environment = doneITDev;
|
export const environment: Environment = oaprDev
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
export let versionData = {
|
export let versionData = {
|
||||||
"shortSHA": "ced8320dd",
|
"shortSHA": "49d36e252",
|
||||||
"SHA": "ced8320dd2f685af479beddc331a6bce503efc5a",
|
"SHA": "49d36e25283cf893fc21c4f7e4b7f4bc28ff8494",
|
||||||
"branch": "no_bug_movemente",
|
"branch": "no_bug_movemente",
|
||||||
"lastCommitAuthor": "'Peter Maquiran'",
|
"lastCommitAuthor": "'Peter Maquiran'",
|
||||||
"lastCommitTime": "'Tue Mar 14 09:56:48 2023 +0100'",
|
"lastCommitTime": "'Thu Mar 16 10:45:05 2023 +0100'",
|
||||||
"lastCommitMessage": "fix take picture",
|
"lastCommitMessage": "upload chat file",
|
||||||
"lastCommitNumber": "4870",
|
"lastCommitNumber": "4871",
|
||||||
"change": "",
|
"change": "",
|
||||||
"changeStatus": "On branch no_bug_movemente\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/Rules/aprove-event.service.ts\n\tmodified: src/app/pages/chat/group-messages/group-messages.page.html\n\tmodified: src/app/pages/chat/messages/messages.page.html\n\tmodified: src/app/pages/gabinete-digital/event-list/event-list.page.ts\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.ts\n\tmodified: src/app/services/events.service.ts\n\tmodified: src/app/shared/agenda/event-list/event-list.page.ts\n\tmodified: src/app/shared/chat/group-messages/group-messages.page.html\n\tmodified: src/app/shared/chat/messages/messages.page.html\n\tmodified: src/app/shared/gabinete-digital/events-to-approve/events-to-approve.page.ts\n\tmodified: src/app/store/eventoaprovacao-store.service.ts",
|
"changeStatus": "On branch no_bug_movemente\nAll conflicts fixed but you are still merging.\n (use \"git commit\" to conclude merge)\n\nChanges to be committed:\n\tmodified: src/app/modals/create-process/create-process.page.html\n\tmodified: src/app/modals/document-set-up-meeting/document-set-up-meeting.page.html\n\tmodified: src/app/pages/gabinete-digital/diplomas/diploma/diploma.page.html\n\tmodified: src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page.html\n\tmodified: src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.html\n\tmodified: src/app/services/http-error-handle.service.ts\n\tmodified: src/app/shared/agenda/approve-event/approve-event.page.ts\n\tmodified: src/app/shared/popover/deploma-options/deploma-options.page.html\n\tmodified: src/environments/environment.prod.ts\n\tmodified: src/environments/environment.ts\n\tmodified: version/git-version.ts",
|
||||||
"changeAuthor": "peter.maquiran"
|
"changeAuthor": "peter.maquiran"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user