mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
dix bugs
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
<div class="overflow-y-auto height-100 width-60 visionDesktop-block" style="overflow: hidden; margin-right:20px;">
|
||||
<app-viewer-attachment *ngIf="mergedArray.length >= 1" [showAttachmentList]=false [selectedIndex]="selectedIndex" [taskViewerAttachment]="mergedArray" class="height-100" ></app-viewer-attachment>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class=" flex-1 d-flex flex-column height-100 d-flex overflow-y-auto-desktop" >
|
||||
<div class="upper-content" >
|
||||
@@ -51,7 +51,7 @@
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
flex-grow: 1;
|
||||
">
|
||||
" class="overflow-y-auto-desktop">
|
||||
<div class="middle-content" *ngIf="dropButton">
|
||||
<h5 class="font-17-rem" *ngIf="intervenientes">Intervenientes</h5>
|
||||
<ion-item class="ion-no-margin ion-no-padding">
|
||||
@@ -86,7 +86,7 @@
|
||||
<ion-label class="d-block" >
|
||||
<div class="d-flex" >
|
||||
|
||||
<div class="flex-1">
|
||||
<div class="flex-1 overflow-hidden">
|
||||
<p class="attach-title-item overflow-hidden">{{ Document.Assunto || "Sem assunto" }} <span class="document-type" *ngIf="Document.content">Rascunho</span></p>
|
||||
<p class="overflow-hidden"><span class="span-left">{{ Document.Sender}}</span><span class="span-right">{{ Document.DocDate | date: 'dd-MM-yyyy HH:mm' }}</span></p>
|
||||
</div>
|
||||
|
||||
@@ -183,9 +183,6 @@ ion-button{
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 801px) {
|
||||
.div-icon{
|
||||
display: none;
|
||||
}
|
||||
.content{
|
||||
width: 65%;
|
||||
border-right: 1px solid #d8d8d8;
|
||||
@@ -261,7 +258,8 @@ ion-button{
|
||||
}
|
||||
|
||||
.mobile-header {
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.content-details {
|
||||
|
||||
@@ -46,7 +46,7 @@ export class PendentesPage implements OnInit {
|
||||
private router: Router,
|
||||
private sortService: SortService,
|
||||
private storage: Storage,
|
||||
public TaskService: TaskService,
|
||||
public TaskService: TaskService,
|
||||
public ThemeService: ThemeService) {
|
||||
this.loggeduser = SessionStore.user;
|
||||
}
|
||||
@@ -82,7 +82,7 @@ export class PendentesPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
ngOnDestroy() {
|
||||
this.listSubscription.delete()
|
||||
this.routerSubscription?.unsubscribe();
|
||||
@@ -99,7 +99,7 @@ export class PendentesPage implements OnInit {
|
||||
async dynamicSearch() {
|
||||
|
||||
if(this.showSearch && this.searchSubject) {
|
||||
|
||||
|
||||
const list = this.pendentesstore.list.filter((task) => {
|
||||
let subject = task.Folio || task.Subject || task.workflowInstanceDataFields.Subject
|
||||
subject = subject.toLowerCase();
|
||||
@@ -146,11 +146,11 @@ export class PendentesPage implements OnInit {
|
||||
this.listToPresent = pendentesList
|
||||
this.pendentesstore.reset(pendentesList);
|
||||
this.storage.set('pendente-list',pendentesList).then(() => {
|
||||
|
||||
|
||||
})
|
||||
|
||||
this.dynamicSearch()
|
||||
|
||||
|
||||
}, (error) => {
|
||||
this.skeletonLoader = false;
|
||||
if(error.status == 0){
|
||||
@@ -165,7 +165,7 @@ export class PendentesPage implements OnInit {
|
||||
this.listToPresent =pendentes
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
doRefresh(event) {
|
||||
if (event) {
|
||||
setTimeout(() => {
|
||||
@@ -183,13 +183,13 @@ export class PendentesPage implements OnInit {
|
||||
|
||||
async viewTaskDetails({ SerialNumber, WorkflowName, activityInstanceName }:customTask) {
|
||||
|
||||
//
|
||||
//
|
||||
|
||||
if(WorkflowName == 'Despacho') {
|
||||
this.router.navigate(['/home/gabinete-digital/despachos',SerialNumber,'gabinete-digital']);
|
||||
}
|
||||
else if (WorkflowName == 'Despacho do Presidente da República') {
|
||||
this.router.navigate(['/home/gabinete-digital/despachos', SerialNumber, 'gabinete-digital']);
|
||||
this.router.navigate(['/home/gabinete-digital/despachos-pr', SerialNumber, 'gabinete-digital']);
|
||||
}
|
||||
else if(WorkflowName == 'Pedido de Parecer' || WorkflowName == 'Pedido de Deferimento' || WorkflowName == 'Pedido de Parecer do Presidente') {
|
||||
this.router.navigate(['/home/gabinete-digital/pedidos',SerialNumber,'gabinete-digital']);
|
||||
@@ -207,7 +207,7 @@ export class PendentesPage implements OnInit {
|
||||
this.router.navigate(['/home/gabinete-digital/despachos',SerialNumber,'gabinete-digital']);
|
||||
}
|
||||
else {
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user