mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix merge
This commit is contained in:
@@ -50,7 +50,7 @@
|
|||||||
<ion-footer class="ion-no-border">
|
<ion-footer class="ion-no-border">
|
||||||
<div class="buttons width-100">
|
<div class="buttons width-100">
|
||||||
<button class="btn-cancel cursor-pointer" shape="round" (click)="close()">Cancelar</button>
|
<button class="btn-cancel cursor-pointer" shape="round" (click)="close()">Cancelar</button>
|
||||||
<button *ngIf="actionName == 'Executado'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Executado</button>
|
<!-- <button *ngIf="actionName == 'Executado'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Executado</button>
|
||||||
<button *ngIf="actionName == 'Gerar Diploma'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Gerar</button>
|
<button *ngIf="actionName == 'Gerar Diploma'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Gerar</button>
|
||||||
<button *ngIf="actionName == 'Arquivar'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Arquivar</button>
|
<button *ngIf="actionName == 'Arquivar'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Arquivar</button>
|
||||||
<button *ngIf="actionName == 'Arquivo'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Arquivar</button>
|
<button *ngIf="actionName == 'Arquivo'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Arquivar</button>
|
||||||
@@ -62,8 +62,8 @@
|
|||||||
<button *ngIf="actionName == 'Aprovar'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Aprovar</button>
|
<button *ngIf="actionName == 'Aprovar'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Aprovar</button>
|
||||||
<button *ngIf="actionName == 'Revisão'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Enviar</button>
|
<button *ngIf="actionName == 'Revisão'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Enviar</button>
|
||||||
<button *ngIf="actionName == 'Solicitar Reapreciação'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Solicitar</button>
|
<button *ngIf="actionName == 'Solicitar Reapreciação'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Solicitar</button>
|
||||||
<button *ngIf="actionName == 'Assinar Diploma'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Assinado</button>
|
<button *ngIf="actionName == 'Assinar Diploma'" class="btn-ok cursor-pointer" shape="round" (click)="save()">Assinado</button> -->
|
||||||
<button *ngIf="!actionName" class="btn-ok cursor-pointer" shape="round" (click)="save()">Enviar</button>
|
<button class="btn-ok cursor-pointer" shape="round" (click)="save()">Enviar</button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { models } from 'beast-orm'
|
import { models } from 'beast-orm'
|
||||||
// import { models } from 'src/plugin/src'
|
/* import { models } from 'src/plugin/src' */
|
||||||
import { environment } from 'src/environments/environment'
|
import { environment } from 'src/environments/environment'
|
||||||
const { ArrayField, JsonField} = models.indexedDB.fields
|
const { ArrayField, JsonField} = models.indexedDB.fields
|
||||||
|
|
||||||
|
|||||||
@@ -533,6 +533,9 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
|||||||
roomId: this.roomId,
|
roomId: this.roomId,
|
||||||
members: this.members,
|
members: this.members,
|
||||||
isAdmin: this.isAdmin,
|
isAdmin: this.isAdmin,
|
||||||
|
isCreated: this.isGroupCreated,
|
||||||
|
room: this.room,
|
||||||
|
name: this.room.name,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
await modal.present();
|
await modal.present();
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
<ion-header class="ion-no-border">
|
||||||
|
<!-- <app-header > </app-header> -->
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
<ion-header class="ion-no-border header-2">
|
<ion-header class="ion-no-border header-2">
|
||||||
<div class="main-header">
|
<div class="main-header">
|
||||||
<app-btn-modal-dismiss (click)="goBack()" ></app-btn-modal-dismiss>
|
<app-btn-modal-dismiss (click)="goBack()" ></app-btn-modal-dismiss>
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
<ion-header class="ion-no-border">
|
||||||
|
<!-- <app-header > </app-header> -->
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
<ion-header class="ion-no-border header-2">
|
<ion-header class="ion-no-border header-2">
|
||||||
|
|
||||||
<div class="title d-flex align-center">
|
<div class="title d-flex align-center">
|
||||||
|
|||||||
+4
@@ -1,3 +1,7 @@
|
|||||||
|
<ion-header class="ion-no-border">
|
||||||
|
<!-- <app-header > </app-header> -->
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
<ion-content class="container-wrapper">
|
<ion-content class="container-wrapper">
|
||||||
<div class="main-content d-flex height-100 overflow-hidden">
|
<div class="main-content d-flex height-100 overflow-hidden">
|
||||||
<div class="content d-flex flex-column" *ngIf="task">
|
<div class="content d-flex flex-column" *ngIf="task">
|
||||||
|
|||||||
+2
-3
@@ -179,9 +179,8 @@ export class DiplomaAssinarPage implements OnInit {
|
|||||||
try {
|
try {
|
||||||
await this.processes.CompleteTask(body).toPromise()
|
await this.processes.CompleteTask(body).toPromise()
|
||||||
|
|
||||||
this.httpErroHandle.httpsSucessMessagge('Assinado',() => {
|
this.httpErroHandle.httpsSucessMessagge('Assinado')
|
||||||
this.goBack();
|
this.goBack();
|
||||||
})
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.httpErroHandle.httpStatusHandle(error)
|
this.httpErroHandle.httpStatusHandle(error)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
<ion-header class="ion-no-border">
|
||||||
|
<!-- <app-header > </app-header> -->
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
|
|
||||||
<ion-header class="ion-no-border header-2">
|
<ion-header class="ion-no-border header-2">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<app-btn-modal-dismiss (click)="goBack()"></app-btn-modal-dismiss>
|
<app-btn-modal-dismiss (click)="goBack()"></app-btn-modal-dismiss>
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
<ion-header class="ion-no-border">
|
||||||
|
<!-- <app-header > </app-header> -->
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
|
|
||||||
<ion-header class="ion-no-border header-2">
|
<ion-header class="ion-no-border header-2">
|
||||||
|
|
||||||
<div class="title d-flex align-center">
|
<div class="title d-flex align-center">
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
<ion-header class="ion-no-border pb-20">
|
||||||
|
<!-- <app-header > </app-header> -->
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
<ion-content class="container-wrapper">
|
<ion-content class="container-wrapper">
|
||||||
<div class="main-content d-flex height-100 width-100 overflow-hidden">
|
<div class="main-content d-flex height-100 width-100 overflow-hidden">
|
||||||
|
|
||||||
|
|||||||
@@ -75,10 +75,10 @@
|
|||||||
|
|
||||||
<div *ngIf="task" class="aside-right flex-column height-100 overflow-y-auto">
|
<div *ngIf="task" class="aside-right flex-column height-100 overflow-y-auto">
|
||||||
<div class="buttons" *ngIf="task.activityInstanceName == 'Revisar Diploma'">
|
<div class="buttons" *ngIf="task.activityInstanceName == 'Revisar Diploma'">
|
||||||
<button (click)="openAddNoteModal('Arquivo')" class="btn-cancel" shape="round" >Arquivar</button>
|
|
||||||
<button (click)="openExpedientActionsModal('0',fulltask)" class="btn-cancel" shape="round" >Efectuar Despacho</button>
|
|
||||||
<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" >Efectuar 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>
|
||||||
<div class="solid"></div>
|
<div class="solid"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+10
-1
@@ -23,6 +23,7 @@ import { TaskService } from 'src/app/Rules/task.service';
|
|||||||
import { PermissionService } from 'src/app/services/permission.service';
|
import { PermissionService } from 'src/app/services/permission.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 { EventTrigger } from 'src/app/services/eventTrigger.service';
|
||||||
|
|
||||||
|
|
||||||
import { SqliteService } from 'src/app/services/sqlite.service';
|
import { SqliteService } from 'src/app/services/sqlite.service';
|
||||||
@@ -89,7 +90,8 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
private dataService: DataService,
|
private dataService: DataService,
|
||||||
private storage: Storage,
|
private storage: Storage,
|
||||||
private userAuth: AuthService,
|
private userAuth: AuthService,
|
||||||
private httpErroHandle: HttpErrorHandle
|
private httpErroHandle: HttpErrorHandle,
|
||||||
|
private eventTriger: EventTrigger
|
||||||
) {
|
) {
|
||||||
this.loggeduser = SessionStore.user
|
this.loggeduser = SessionStore.user
|
||||||
console.log('SessionStore', SessionStore)
|
console.log('SessionStore', SessionStore)
|
||||||
@@ -314,6 +316,8 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
|
|
||||||
if (actionName == 'Aprovar') {
|
if (actionName == 'Aprovar') {
|
||||||
this.approve(res.data.note, docs);
|
this.approve(res.data.note, docs);
|
||||||
|
this.subscribeEventTrigger('update')
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (actionName == 'Revisão') {
|
else if (actionName == 'Revisão') {
|
||||||
this.sendToReview(res.data.note, docs);
|
this.sendToReview(res.data.note, docs);
|
||||||
@@ -323,6 +327,11 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
subscribeEventTrigger(value) {
|
||||||
|
this.eventTriger.publishSomeData({
|
||||||
|
expedienteDetail: value
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
goBack() {
|
goBack() {
|
||||||
this.RouteService.goBack();
|
this.RouteService.goBack();
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import { BackgroundService } from '../../../services/background.service';
|
|||||||
import { ThemeService } from 'src/app/services/theme.service'
|
import { ThemeService } from 'src/app/services/theme.service'
|
||||||
import { SortService } from 'src/app/services/functions/sort.service';
|
import { SortService } from 'src/app/services/functions/sort.service';
|
||||||
import { Storage } from '@ionic/storage';
|
import { Storage } from '@ionic/storage';
|
||||||
|
import { EventTrigger } from 'src/app/services/eventTrigger.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-expediente',
|
selector: 'app-expediente',
|
||||||
@@ -41,8 +42,17 @@ export class ExpedientePage implements OnInit {
|
|||||||
private backgroundservice: BackgroundService,
|
private backgroundservice: BackgroundService,
|
||||||
public ThemeService: ThemeService,
|
public ThemeService: ThemeService,
|
||||||
private sortService: SortService,
|
private sortService: SortService,
|
||||||
private storage: Storage
|
private storage: Storage,
|
||||||
) { }
|
private eventTriger: EventTrigger
|
||||||
|
) {
|
||||||
|
|
||||||
|
this.eventTriger.getObservable().subscribe((event) => {
|
||||||
|
if(event.notification == "recive") {
|
||||||
|
this.refreshing();
|
||||||
|
}
|
||||||
|
console.log(event)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
<ion-header class="ion-no-border">
|
||||||
|
<!-- <app-header > </app-header> -->
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
<div class="ion-page d-none" id="main-content">
|
<div class="ion-page d-none" id="main-content">
|
||||||
<ion-menu-button></ion-menu-button>
|
<ion-menu-button></ion-menu-button>
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
<ion-header class="ion-no-border">
|
||||||
|
<!-- <app-header > </app-header> -->
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
<ion-header class="ion-no-border header-2">
|
<ion-header class="ion-no-border header-2">
|
||||||
|
|
||||||
<app-btn-modal-dismiss (click)="goBack()" ></app-btn-modal-dismiss>
|
<app-btn-modal-dismiss (click)="goBack()" ></app-btn-modal-dismiss>
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
<ion-header class="ion-no-border">
|
||||||
|
<!-- <app-header > </app-header> -->
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
<ion-header class="ion-no-border header-2">
|
<ion-header class="ion-no-border header-2">
|
||||||
<app-btn-modal-dismiss (click)="goBack()"></app-btn-modal-dismiss>
|
<app-btn-modal-dismiss (click)="goBack()"></app-btn-modal-dismiss>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
<ion-header class="ion-no-border">
|
||||||
|
<!-- <app-header > </app-header> -->
|
||||||
|
</ion-header>
|
||||||
|
|
||||||
|
|
||||||
<ion-header class="ion-no-border header-2">
|
<ion-header class="ion-no-border header-2">
|
||||||
<app-btn-modal-dismiss (click)="goBack()" ></app-btn-modal-dismiss>
|
<app-btn-modal-dismiss (click)="goBack()" ></app-btn-modal-dismiss>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import { ChatService } from 'src/app/services/chat.service';
|
|||||||
import { Platform } from '@ionic/angular';
|
import { Platform } from '@ionic/angular';
|
||||||
import { FirstEnterService } from '../../services/first-enter.service';
|
import { FirstEnterService } from '../../services/first-enter.service';
|
||||||
import { Storage } from '@ionic/storage';
|
import { Storage } from '@ionic/storage';
|
||||||
|
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-login',
|
selector: 'app-login',
|
||||||
templateUrl: './login.page.html',
|
templateUrl: './login.page.html',
|
||||||
@@ -54,6 +55,7 @@ export class LoginPage implements OnInit {
|
|||||||
private platform: Platform,
|
private platform: Platform,
|
||||||
private FirstEnterService: FirstEnterService,
|
private FirstEnterService: FirstEnterService,
|
||||||
private storage:Storage,
|
private storage:Storage,
|
||||||
|
private httpErrorHandle: HttpErrorHandle
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
ngOnInit() {}
|
ngOnInit() {}
|
||||||
@@ -176,10 +178,10 @@ export class LoginPage implements OnInit {
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}/*
|
||||||
else{
|
else{
|
||||||
this.toastService._badRequest('Ocorreu um problema por favor valide o username e password');
|
this.toastService._badRequest('Ocorreu um problema por favor valide o username e password');
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.toastService._badRequest('Por favor, insira a sua palavra-passe');
|
this.toastService._badRequest('Por favor, insira a sua palavra-passe');
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ export class NewPublicationPage implements OnInit {
|
|||||||
async takePicture() {
|
async takePicture() {
|
||||||
|
|
||||||
const capturedImage = await Camera.getPhoto({
|
const capturedImage = await Camera.getPhoto({
|
||||||
quality: 90,
|
quality: 50,
|
||||||
// allowEditing: true,
|
// allowEditing: true,
|
||||||
resultType: CameraResultType.Uri,
|
resultType: CameraResultType.Uri,
|
||||||
source: CameraSource.Camera
|
source: CameraSource.Camera
|
||||||
@@ -133,7 +133,7 @@ export class NewPublicationPage implements OnInit {
|
|||||||
var ctx = canvas.getContext('2d');
|
var ctx = canvas.getContext('2d');
|
||||||
canvas.width = 100
|
canvas.width = 100
|
||||||
canvas.height = 34
|
canvas.height = 34
|
||||||
ctx.drawImage(image, 0, 0, 100, 34);
|
ctx.drawImage(image, 0, 0);
|
||||||
document.body.appendChild(canvas);
|
document.body.appendChild(canvas);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import { Storage } from '@ionic/storage';
|
|||||||
import { InitialsService } from './functions/initials.service';
|
import { InitialsService } from './functions/initials.service';
|
||||||
import { PermissionService } from './permission.service';
|
import { PermissionService } from './permission.service';
|
||||||
import { ChatSystemService } from 'src/app/services/chat/chat-system.service';
|
import { ChatSystemService } from 'src/app/services/chat/chat-system.service';
|
||||||
|
import { HttpErrorHandle } from 'src/app/services/http-error-handle.service';
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
})
|
})
|
||||||
@@ -42,7 +43,8 @@ export class AuthService {
|
|||||||
private storage: Storage,
|
private storage: Storage,
|
||||||
private initialsService: InitialsService,
|
private initialsService: InitialsService,
|
||||||
public p: PermissionService,
|
public p: PermissionService,
|
||||||
public ChatSystemService: ChatSystemService) {
|
public ChatSystemService: ChatSystemService,
|
||||||
|
private httpErroHandle: HttpErrorHandle) {
|
||||||
|
|
||||||
if (SessionStore.exist) {
|
if (SessionStore.exist) {
|
||||||
if(this.p.userPermission(this.p.permissionList.Chat.access) == true ) {
|
if(this.p.userPermission(this.p.permissionList.Chat.access) == true ) {
|
||||||
@@ -72,7 +74,7 @@ export class AuthService {
|
|||||||
this.SetSession(response, user)
|
this.SetSession(response, user)
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
this.httpErroHandle.httpStatusHandle(error)
|
||||||
} finally {
|
} finally {
|
||||||
return response
|
return response
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -371,6 +371,6 @@
|
|||||||
<ion-footer class="background-whit">
|
<ion-footer class="background-whit">
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button class="btn-cancel cursor-pointer" shape="round" (click)="close()">Cancelar</button>
|
<button class="btn-cancel cursor-pointer" shape="round" (click)="close()">Cancelar</button>
|
||||||
<button class="btn-ok cursor-pointer" shape="round" (click)="gravasAction()">Enviar</button>
|
<button class="btn-ok cursor-pointer" shape="round" (click)="gravasAction()">Gravar</button>
|
||||||
</div>
|
</div>
|
||||||
</ion-footer>
|
</ion-footer>
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import { ExpedienteTaskPipe } from 'src/app/pipes/expediente-task.pipe';
|
|||||||
import { ThemeService } from 'src/app/services/theme.service'
|
import { ThemeService } from 'src/app/services/theme.service'
|
||||||
import { SortService } from 'src/app/services/functions/sort.service';
|
import { SortService } from 'src/app/services/functions/sort.service';
|
||||||
import { Storage } from '@ionic/storage';
|
import { Storage } from '@ionic/storage';
|
||||||
|
import { EventTrigger } from 'src/app/services/eventTrigger.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-expedients',
|
selector: 'app-expedients',
|
||||||
@@ -29,9 +30,16 @@ export class ExpedientsPage implements OnInit {
|
|||||||
private router: Router,
|
private router: Router,
|
||||||
public ThemeService: ThemeService,
|
public ThemeService: ThemeService,
|
||||||
private sortService: SortService,
|
private sortService: SortService,
|
||||||
private storage: Storage
|
private storage: Storage,
|
||||||
|
private eventTriger: EventTrigger
|
||||||
) {
|
) {
|
||||||
this.profile = 'mdgpr';
|
this.profile = 'mdgpr';
|
||||||
|
this.eventTriger.getObservable().subscribe((event) => {
|
||||||
|
if(event.expedienteDetail == "update") {
|
||||||
|
this.LoadList();
|
||||||
|
}
|
||||||
|
console.log(event)
|
||||||
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ import { ToastService } from 'src/app/services/toast.service';
|
|||||||
import { ThemeService } from 'src/app/services/theme.service'
|
import { ThemeService } from 'src/app/services/theme.service'
|
||||||
import { SetRoomOwnerPage } from 'src/app/modals/set-room-owner/set-room-owner.page';
|
import { SetRoomOwnerPage } from 'src/app/modals/set-room-owner/set-room-owner.page';
|
||||||
import { ChatSystemService } from 'src/app/services/chat/chat-system.service';
|
import { ChatSystemService } from 'src/app/services/chat/chat-system.service';
|
||||||
|
import { HttpErrorResponse } from '@angular/common/http';
|
||||||
|
import { SessionStore } from 'src/app/store/session.service';
|
||||||
|
import { GroupContactsPage } from '../../chat/group-messages/group-contacts/group-contacts.page';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -17,6 +20,7 @@ export class ChatPopoverPage implements OnInit {
|
|||||||
room: any;
|
room: any;
|
||||||
members:any;
|
members:any;
|
||||||
isAdmin = false;
|
isAdmin = false;
|
||||||
|
isGroupCreated: boolean;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private popoverController: PopoverController,
|
private popoverController: PopoverController,
|
||||||
|
|||||||
@@ -12,9 +12,11 @@
|
|||||||
<div class="buttons width-100" *ngIf="task.activityInstanceName == 'Revisar Diploma'">
|
<div class="buttons width-100" *ngIf="task.activityInstanceName == 'Revisar Diploma'">
|
||||||
<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)="openBookMeetingModal(task)" class="btn-cancel" shape="round" >Marcar Reunião</button>
|
|
||||||
<button (click)="openAddNoteModal('Arquivo')" class="btn-cancel" shape="round" >Arquivar</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>
|
||||||
|
|
||||||
|
|
||||||
<div class="solid"></div>
|
<div class="solid"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="buttons width-100" *ngIf="task.activityInstanceName == 'Diploma Assinado'">
|
<div class="buttons width-100" *ngIf="task.activityInstanceName == 'Diploma Assinado'">
|
||||||
|
|||||||
@@ -294,14 +294,9 @@ export class OptsExpedientePage implements OnInit {
|
|||||||
try {
|
try {
|
||||||
await this.processes.CompleteTask(body).toPromise();
|
await this.processes.CompleteTask(body).toPromise();
|
||||||
this.close();
|
this.close();
|
||||||
this.toastService._successMessage('Processo aprovado')
|
this.httpErrorHanlde.httpsSucessMessagge('Avaliação Superiror')
|
||||||
} catch(error) {
|
} catch(error) {
|
||||||
if(error.status == 0) {
|
this.httpErrorHanlde.httpStatusHandle(error)
|
||||||
this.toastService._badRequest('Sem acesso à internet. Por favor verifique sua conexão')
|
|
||||||
} else {
|
|
||||||
|
|
||||||
this.toastService._badRequest('Processo não aprovado')
|
|
||||||
}
|
|
||||||
} finally {
|
} finally {
|
||||||
loader.remove()
|
loader.remove()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ export class ViewPublicationsPage implements OnInit {
|
|||||||
const found = this.publicationList[folderId].find( e => e.DocumentId == publicationId )
|
const found = this.publicationList[folderId].find( e => e.DocumentId == publicationId )
|
||||||
|
|
||||||
if(!found) {
|
if(!found) {
|
||||||
// PublicationModel.create(publicationDetails)
|
/* PublicationModel.create(publicationDetails) */
|
||||||
this.publicationList[folderId].push(publicationDetails)
|
this.publicationList[folderId].push(publicationDetails)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ import { oaprProd } from './suport/oapr'
|
|||||||
import { doneITProd } from './suport/doneIt'
|
import { doneITProd } from './suport/doneIt'
|
||||||
|
|
||||||
|
|
||||||
export const environment: Environment = oaprProd;
|
export const environment: Environment = doneITProd;
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
export let versionData = {
|
export let versionData = {
|
||||||
"shortSHA": "9c7281ce4",
|
"shortSHA": "a25b8ba40",
|
||||||
"SHA": "9c7281ce48b7bd3b792db5b350d99dd7cf06f60e",
|
"SHA": "a25b8ba40f25c50166eebfe285a91d8f00543a5d",
|
||||||
"branch": "no_bug_movemente",
|
"branch": "no_bug_movemente",
|
||||||
"lastCommitAuthor": "'Peter Maquiran'",
|
"lastCommitAuthor": "'Peter Maquiran'",
|
||||||
"lastCommitTime": "'Thu Mar 9 17:14:42 2023 +0100'",
|
"lastCommitTime": "'Fri Mar 10 11:41:44 2023 +0100'",
|
||||||
"lastCommitMessage": "fix",
|
"lastCommitMessage": "fix chat",
|
||||||
"lastCommitNumber": "4858",
|
"lastCommitNumber": "4859",
|
||||||
"change": "",
|
"change": "",
|
||||||
"changeStatus": "On branch no_bug_movemente\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/chat/chat.page.ts\n\tmodified: src/app/pages/chat/group-messages/group-messages.page.ts\n\tmodified: src/app/shared/chat/group-messages/group-messages.page.ts\n\tmodified: src/app/shared/popover/chat-popover/chat-popover.page.ts\n\tmodified: src/theme/variables.scss\n\tmodified: version/git-version.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/add-note/add-note.page.html\n\tmodified: src/app/models/beast-orm.ts\n\tmodified: src/app/pages/chat/group-messages/group-messages.page.ts\n\tmodified: src/app/pages/gabinete-digital/despachos-pr/despachos-pr.page.html\n\tmodified: src/app/pages/gabinete-digital/despachos/despachos.page.html\n\tmodified: src/app/pages/gabinete-digital/diplomas-assinar/diploma-assinar/diploma-assinar.page.html\n\tmodified: src/app/pages/gabinete-digital/diplomas-assinar/diploma-assinar/diploma-assinar.page.ts\n\tmodified: src/app/pages/gabinete-digital/diplomas-assinar/diplomas-assinar.page.html\n\tmodified: src/app/pages/gabinete-digital/diplomas-gerar/diplomas-gerar.page.html\n\tmodified: src/app/pages/gabinete-digital/diplomas-gerar/diplomas-gerar/diplomas-gerar.page.html\n\tmodified: src/app/pages/gabinete-digital/diplomas/diploma/diploma.page.html\n\tmodified: src/app/pages/gabinete-digital/expediente/expediente-detail/expediente-detail.page.ts\n\tmodified: src/app/pages/gabinete-digital/expediente/expediente.page.ts\n\tmodified: src/app/pages/gabinete-digital/expedientes-pr/expediente-pr/expediente-pr.page.html\n\tmodified: src/app/pages/gabinete-digital/expedientes-pr/expedientes-pr.page.html\n\tmodified: src/app/pages/gabinete-digital/pedidos/pedidos.page.html\n\tmodified: src/app/pages/gabinete-digital/pendentes/pendentes.page.html\n\tmodified: src/app/pages/login/login.page.ts\n\tmodified: src/app/pages/publications/new-publication/new-publication.page.ts\n\tmodified: src/app/services/auth.service.ts\n\tmodified: src/app/shared/agenda/edit-event-to-approve/edit-event-to-approve.page.html\n\tmodified: src/app/shared/gabinete-digital/expedients/expedients.page.ts\n\tmodified: src/app/shared/popover/chat-popover/chat-popover.page.ts\n\tmodified: src/app/shared/popover/deploma-options/deploma-options.page.html\n\tmodified: src/app/shared/popover/opts-expediente/opts-expediente.page.ts\n\tmodified: src/app/shared/publication/view-publications/view-publications.page.ts\n\tmodified: src/environments/environment.prod.ts\n\tmodified: version/git-version.ts",
|
||||||
"changeAuthor": "peter.maquiran"
|
"changeAuthor": "peter.maquiran"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user