mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
save
This commit is contained in:
@@ -34,9 +34,9 @@
|
||||
</ion-refresher>
|
||||
<div class="main-content d-flex height-100" >
|
||||
|
||||
<div class="content d-flex flex-column">
|
||||
<div class="content height-100 d-flex flex-column">
|
||||
<div [ngSwitch]="segment">
|
||||
<ion-list *ngSwitchCase="'MDGPR'">
|
||||
<ion-list class="width-100 height-100" *ngSwitchCase="'MDGPR'">
|
||||
<div *ngIf="eventaprovacaostore.listmd" class="overflow-y-auto height-100">
|
||||
<ion-item-sliding>
|
||||
<ion-item class="Rectangle cursor-pointer" lines="none"
|
||||
@@ -57,6 +57,7 @@
|
||||
</ion-item-sliding>
|
||||
</div>
|
||||
</ion-list>
|
||||
<ion-label></ion-label>
|
||||
|
||||
<ion-list *ngSwitchCase="'PR'">
|
||||
<div *ngIf="eventaprovacaostore.listpr" class="overflow-y-auto height-100">
|
||||
@@ -79,6 +80,27 @@
|
||||
</div>
|
||||
</ion-list>
|
||||
</div>
|
||||
|
||||
<div class="height-100" [ngSwitch]="segment">
|
||||
<div *ngSwitchCase="'MDGPR'" class="d-flex height-100 align-center justify-content-center" >
|
||||
<div
|
||||
*ngIf="!skeletonLoader && eventaprovacaostore.listmd.length == 0"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||
>
|
||||
<span>Lista vazia</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ngSwitchCase="'PR'" class="d-flex height-100 align-center justify-content-center">
|
||||
<div
|
||||
*ngIf="!skeletonLoader && eventaprovacaostore.listpr.length == 0"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||
>
|
||||
<span>Lista vazia</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
|
||||
@@ -119,3 +119,7 @@ ion-item-sliding{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.test{
|
||||
color: #000 !important;
|
||||
border: 1px solid red !important;
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ export class PedidoPage implements OnInit {
|
||||
toDateString(e) {
|
||||
return new Date(e).toDateString()
|
||||
}
|
||||
|
||||
|
||||
async LoadTaskDetail(serial: string) {
|
||||
this.processes.GetTask(this.serialnumber).subscribe(res => {
|
||||
|
||||
@@ -489,7 +489,7 @@ export class PedidoPage implements OnInit {
|
||||
|
||||
goBack() {
|
||||
if(this.task.Status == "Pending" && this.caller == 'gabinete-digital'){
|
||||
if (window.innerWidth <= 800) {
|
||||
if (window.innerWidth <= 700) {
|
||||
this.router.navigate(['/home/gabinete-digital/pendentes']);
|
||||
}
|
||||
else {
|
||||
@@ -506,7 +506,7 @@ export class PedidoPage implements OnInit {
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (window.innerWidth <= 800) {
|
||||
if (window.innerWidth <= 700) {
|
||||
this.router.navigate(['/home/gabinete-digital/pedidos']);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user