mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
save
This commit is contained in:
+2
-2
@@ -35,11 +35,11 @@
|
|||||||
"@capacitor/app": "^1.0.5",
|
"@capacitor/app": "^1.0.5",
|
||||||
"@capacitor/camera": "^1.2.0",
|
"@capacitor/camera": "^1.2.0",
|
||||||
"@capacitor/core": "^3.3.0",
|
"@capacitor/core": "^3.3.0",
|
||||||
|
"@capacitor/filesystem": "^1.0.6",
|
||||||
"@capacitor/haptics": "^1.1.2",
|
"@capacitor/haptics": "^1.1.2",
|
||||||
|
"@capacitor/ios": "3.3.0",
|
||||||
"@capacitor/keyboard": "^1.1.2",
|
"@capacitor/keyboard": "^1.1.2",
|
||||||
"@capacitor/network": "^1.0.6",
|
"@capacitor/network": "^1.0.6",
|
||||||
"@capacitor/filesystem": "^1.0.6",
|
|
||||||
"@capacitor/ios": "3.3.0",
|
|
||||||
"@capacitor/push-notifications": "^1.0.7",
|
"@capacitor/push-notifications": "^1.0.7",
|
||||||
"@fortawesome/angular-fontawesome": "^0.9.0",
|
"@fortawesome/angular-fontawesome": "^0.9.0",
|
||||||
"@fortawesome/fontawesome-free": "^5.15.3",
|
"@fortawesome/fontawesome-free": "^5.15.3",
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
<div class="bottom-content width-100">
|
<div class="bottom-content width-100">
|
||||||
<ion-list>
|
<ion-list>
|
||||||
<h5>Documentos Anexados</h5>
|
<h5>Documentos Anexados</h5>
|
||||||
<ion-item *ngFor="let attachment of attachments"
|
<ion-item *ngFor="let attachment of attachments"
|
||||||
class="ion-no-margin ion-no-padding cursor-pointer"
|
class="ion-no-margin ion-no-padding cursor-pointer"
|
||||||
>
|
>
|
||||||
<ion-label
|
<ion-label
|
||||||
@@ -130,6 +130,9 @@
|
|||||||
<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>
|
||||||
<button (click)="sendExpedienteToPending()" *ngIf="task.Status != 'Pending'" class="btn-cancel" shape="round" >Enviar para Pendentes</button>
|
<button (click)="sendExpedienteToPending()" *ngIf="task.Status != 'Pending'" class="btn-cancel" shape="round" >Enviar para Pendentes</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="buttons">
|
||||||
|
<button (click)="openNewGroupPage()" class="btn-cancel" shape="round" >Iniciar Conversa</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ import { BackgroundService } from 'src/app/services/background.service';
|
|||||||
import { PermissionService } from 'src/app/services/worker/permission.service';
|
import { PermissionService } from 'src/app/services/worker/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 { DataService } from 'src/app/services/data.service';
|
||||||
|
import { NewGroupPage } from 'src/app/pages/chat/new-group/new-group.page';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -66,7 +68,8 @@ export class PedidoPage implements OnInit {
|
|||||||
private sqliteservice: SqliteService,
|
private sqliteservice: SqliteService,
|
||||||
private backgroundservices: BackgroundService,
|
private backgroundservices: BackgroundService,
|
||||||
private platform: Platform,
|
private platform: Platform,
|
||||||
public ThemeService: ThemeService
|
public ThemeService: ThemeService,
|
||||||
|
private dataService: DataService,
|
||||||
) {
|
) {
|
||||||
this.loggeduser = authService.ValidatedUser;
|
this.loggeduser = authService.ValidatedUser;
|
||||||
|
|
||||||
@@ -477,6 +480,32 @@ export class PedidoPage implements OnInit {
|
|||||||
modal.onDidDismiss();
|
modal.onDidDismiss();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
openNewGroupPage(){
|
||||||
|
this.router.navigate(['/home/chat']);
|
||||||
|
this.dataService.set("newGroup", true);
|
||||||
|
|
||||||
|
if( window.innerWidth < 801){
|
||||||
|
this.newGroup();
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
this.dataService.set("newGroup", true);
|
||||||
|
/* this.closeAllDesktopComponents();
|
||||||
|
this.showNewGroup=true; */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
async newGroup(){
|
||||||
|
const modal = await this.modalController.create({
|
||||||
|
component: NewGroupPage,
|
||||||
|
cssClass: 'modal modal-desktop',
|
||||||
|
componentProps: {
|
||||||
|
name: this.task.Folio,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
await modal.present();
|
||||||
|
modal.onDidDismiss();
|
||||||
|
}
|
||||||
|
|
||||||
// async viewEventDetail(eventId: any) {
|
// async viewEventDetail(eventId: any) {
|
||||||
|
|
||||||
// const modal = await this.modalController.create({
|
// const modal = await this.modalController.create({
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="icon" src='assets/images/icons-profile.svg'></ion-icon>
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="icon" src='assets/images/icons-profile.svg'></ion-icon>
|
||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="icon" src='assets/images/theme/gov/icons-profile.svg'></ion-icon>
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="icon" src='assets/images/theme/gov/icons-profile.svg'></ion-icon>
|
||||||
<ion-icon *ngIf="ThemeService.currentTheme == 'tribunal' " class="icon" src='assets/images/theme/tribunal/icons-profile.svg'></ion-icon>
|
<ion-icon *ngIf="ThemeService.currentTheme == 'tribunal' " class="icon" src='assets/images/theme/tribunal/icons-profile.svg'></ion-icon>
|
||||||
<ion-label class="profile-text">{{loggeduser.Profile}}</ion-label>
|
<!-- <ion-label class="profile-text">{{loggeduser.Profile}}</ion-label> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ export class HeaderPage implements OnInit {
|
|||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.hideSearch();
|
this.hideSearch();
|
||||||
this.update()
|
this.update()
|
||||||
/* this.notificationLengthData();
|
/* this.notificationLengthData();
|
||||||
this.eventrigger.getObservable().subscribe(async (data) => {
|
this.eventrigger.getObservable().subscribe(async (data) => {
|
||||||
if (data.notification === "delete" || "recive") {
|
if (data.notification === "delete" || "recive") {
|
||||||
await this.notificationLengthData();
|
await this.notificationLengthData();
|
||||||
|
|||||||
@@ -54,5 +54,8 @@
|
|||||||
<button (click)="sendExpedienteToPending()" *ngIf="task.Status != 'Pending'" class="btn-cancel" shape="round" >Enviar para Pendentes</button>
|
<button (click)="sendExpedienteToPending()" *ngIf="task.Status != 'Pending'" class="btn-cancel" shape="round" >Enviar para Pendentes</button>
|
||||||
<button (click)="cancel()" class="btn-cancel" shape="round" >Cancelar</button>
|
<button (click)="cancel()" class="btn-cancel" shape="round" >Cancelar</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="buttons">
|
||||||
|
<button (click)="openNewGroupPage()" class="btn-cancel" shape="round" >Iniciar Conversa</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ import { ProcessesService } from 'src/app/services/processes.service';
|
|||||||
import { ToastService } from 'src/app/services/toast.service';
|
import { ToastService } from 'src/app/services/toast.service';
|
||||||
import { PedidoService } from 'src/app/Rules/pedido.service';
|
import { PedidoService } from 'src/app/Rules/pedido.service';
|
||||||
import { PermissionService } from 'src/app/services/worker/permission.service';
|
import { PermissionService } from 'src/app/services/worker/permission.service';
|
||||||
|
import { DataService } from 'src/app/services/data.service';
|
||||||
|
import { NewGroupPage } from 'src/app/pages/chat/new-group/new-group.page';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -34,7 +36,8 @@ export class RequestOptionsPage implements OnInit {
|
|||||||
private toastService: ToastService,
|
private toastService: ToastService,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
public p: PermissionService,
|
public p: PermissionService,
|
||||||
private pedidoService: PedidoService
|
private pedidoService: PedidoService,
|
||||||
|
private dataService: DataService,
|
||||||
) {
|
) {
|
||||||
this.task = this.navParams.get('task');
|
this.task = this.navParams.get('task');
|
||||||
this.fulltask = this.navParams.get('fulltask');
|
this.fulltask = this.navParams.get('fulltask');
|
||||||
@@ -109,6 +112,32 @@ export class RequestOptionsPage implements OnInit {
|
|||||||
modal.onDidDismiss();
|
modal.onDidDismiss();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
openNewGroupPage(){
|
||||||
|
this.router.navigate(['/home/chat']);
|
||||||
|
this.dataService.set("newGroup", true);
|
||||||
|
|
||||||
|
if( window.innerWidth < 801){
|
||||||
|
this.newGroup();
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
this.dataService.set("newGroup", true);
|
||||||
|
/* this.closeAllDesktopComponents();
|
||||||
|
this.showNewGroup=true; */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
async newGroup(){
|
||||||
|
const modal = await this.modalController.create({
|
||||||
|
component: NewGroupPage,
|
||||||
|
cssClass: 'modal modal-desktop',
|
||||||
|
componentProps: {
|
||||||
|
name: this.task.Folio,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
await modal.present();
|
||||||
|
modal.onDidDismiss();
|
||||||
|
}
|
||||||
|
|
||||||
async openExpedientActionsModal(taskAction: any, task: any) {
|
async openExpedientActionsModal(taskAction: any, task: any) {
|
||||||
|
|
||||||
//this.modalController.dismiss();
|
//this.modalController.dismiss();
|
||||||
|
|||||||
Reference in New Issue
Block a user