mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
fix for ios
This commit is contained in:
@@ -1,19 +1,25 @@
|
||||
<ion-header class="ion-no-border">
|
||||
<!-- <ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar> -->
|
||||
<div class="title">
|
||||
<div class="thetitle"><ion-label >Todas as tarefas</ion-label></div>
|
||||
<div class="thetitle"><ion-label>Todas as tarefas</ion-label></div>
|
||||
|
||||
<div class="theicon d-flex align-center">
|
||||
<div>
|
||||
<div title="Pesquisa" *ngIf="!hideSearchBtn" class="mr-20 d-flex align-center cursor-pointer">
|
||||
<div (click)="openSearch();showSearch=true" *ngIf="!showSearch" class="d-flex">
|
||||
<ion-icon title="Perfil" *ngIf="ThemeService.currentTheme == 'doneIt' " class="font-35-rem" src="assets/images/theme/doneIt/icons-search.svg"></ion-icon>
|
||||
<ion-icon title="Perfil" *ngIf="ThemeService.currentTheme == 'default' " class="font-35-rem" src='assets/images/icons-search.svg'></ion-icon>
|
||||
<ion-icon title="Perfil" *ngIf="ThemeService.currentTheme == 'gov' " class="font-35-rem" src='assets/images/theme/gov/icons-search.svg'></ion-icon>
|
||||
<ion-icon title="Perfil" *ngIf="ThemeService.currentTheme == 'doneIt' " class="font-35-rem"
|
||||
src="assets/images/theme/doneIt/icons-search.svg"></ion-icon>
|
||||
<ion-icon title="Perfil" *ngIf="ThemeService.currentTheme == 'default' " class="font-35-rem"
|
||||
src='assets/images/icons-search.svg'></ion-icon>
|
||||
<ion-icon title="Perfil" *ngIf="ThemeService.currentTheme == 'gov' " class="font-35-rem"
|
||||
src='assets/images/theme/gov/icons-search.svg'></ion-icon>
|
||||
</div>
|
||||
<button title="Fechar" class="btn-no-color d-flex" (click)="closeSearch();showSearch=false;searchSubject=''" *ngIf="showSearch">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' || ThemeService.currentTheme == 'doneIt' " class="font-35-rem" name="restaurant-outline" src="assets/images/icons-search-close.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-35-rem" name="restaurant-outline" src="assets/images/theme/gov/icons-search-close.svg"></ion-icon>
|
||||
<button title="Fechar" class="btn-no-color d-flex" (click)="closeSearch();showSearch=false;searchSubject=''"
|
||||
*ngIf="showSearch">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' || ThemeService.currentTheme == 'doneIt' "
|
||||
class="font-35-rem" name="restaurant-outline" src="assets/images/icons-search-close.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-35-rem" name="restaurant-outline"
|
||||
src="assets/images/theme/gov/icons-search-close.svg"></ion-icon>
|
||||
</button>
|
||||
|
||||
<div *ngIf="showSearch">
|
||||
@@ -25,16 +31,16 @@
|
||||
<ion-input (keyup.enter)="basicSearch()" [(ngModel)]='searchSubject' (ngModelChange)="dynamicSearch()"
|
||||
class="search-input text-black" type="search" placeholder="Pesquisar"></ion-input>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <div class="icon" (click)="clearSearchInput()">
|
||||
<ion-icon title="Limpar" *ngIf="ThemeService.currentTheme == 'default' "name="restaurant-outline" src="assets/images/icons-search-close.svg"></ion-icon>
|
||||
<ion-icon title="Limpar" *ngIf="ThemeService.currentTheme == 'doneIt' "name="restaurant-outline" src="assets/images/theme/doneIt/icons-search.svg"></ion-icon>
|
||||
<ion-icon title="Limpar" *ngIf="ThemeService.currentTheme == 'gov' " name="restaurant-outline" src="assets/images/theme/gov/icons-search-close.svg"></ion-icon>
|
||||
</div> -->
|
||||
<div (click)="basicSearch()" class="d-flex align-center icon">
|
||||
<div (click)="basicSearch()" class="d-flex align-center icon">
|
||||
|
||||
<ion-icon class="icon-z" slot="end" src="assets/images/theme/gov/search.svg"></ion-icon>
|
||||
|
||||
<ion-icon class="icon-z" slot="end" src="assets/images/theme/gov/search.svg"></ion-icon>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -44,42 +50,43 @@
|
||||
<div>
|
||||
<div class="d-flex" (click)="reorderList('old')" *ngIf="ordinance == 'recent' ">
|
||||
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/crescente.svg" ></ion-icon>
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/crescente.svg"></ion-icon>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="d-flex" (click)="reorderList('recent')" *ngIf="ordinance != 'recent' ">
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/decrescente.svg" ></ion-icon>
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/decrescente.svg"></ion-icon>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<mat-form-field class="task-filter-input" appearance="none" color="ion-color-secondary" placeholder="Selecione agenda">
|
||||
<mat-form-field class="task-filter-input" appearance="none" color="ion-color-secondary"
|
||||
placeholder="Selecione agenda">
|
||||
<mat-select [(value)]="filterName">
|
||||
|
||||
<mat-option value="Para hoje" >
|
||||
|
||||
<mat-option value="Para hoje">
|
||||
Para hoje
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Novos" >
|
||||
|
||||
<mat-option value="Novos">
|
||||
Novas
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Lidos" >
|
||||
|
||||
<mat-option value="Lidos">
|
||||
Lidas
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Não lidos" >
|
||||
|
||||
<mat-option value="Não lidos">
|
||||
Não lidas
|
||||
</mat-option>
|
||||
|
||||
|
||||
<mat-option value="OverdueTasks">
|
||||
Em atraso
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Todos" >
|
||||
<mat-option value="Todos">
|
||||
Todas
|
||||
</mat-option>
|
||||
|
||||
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
@@ -90,7 +97,7 @@
|
||||
</div>
|
||||
</ion-header>
|
||||
<ion-content>
|
||||
<!--
|
||||
<!--
|
||||
<ion-refresher name="refresher" slot="fixed" >
|
||||
<ion-refresher-content
|
||||
pullingIcon="chevron-down-circle-outline"
|
||||
@@ -103,35 +110,39 @@
|
||||
|
||||
<div class="overflow-y-auto height-100 width-100">
|
||||
|
||||
<div *ngIf="AllProcess.length >= 0">
|
||||
<div *ngIf="AllProcess.length >= 0">
|
||||
<ion-item-sliding class="overflow-y-auto height-100">
|
||||
<div class="listview">
|
||||
<ion-list *ngIf="AllProcess">
|
||||
<div
|
||||
class="item-hover ion-no-padding cursor-pointer"
|
||||
*ngFor = "let task of AllProcess"
|
||||
<div class="item-hover ion-no-padding cursor-pointer" *ngFor="let task of AllProcess"
|
||||
(click)="goToProcess(task.SerialNumber || task.serialNumber, task.WorkflowName || task.workflowName|| task.workflowDisplayName , task.activityInstanceName)">
|
||||
<div class="item-wrapper" *ngIf="TaskService.filter(task, filterName)">
|
||||
<div class="item width-100 " >
|
||||
<div class="item width-100 ">
|
||||
<div class="item-top-detail">
|
||||
<div class="item-subject d-flex">
|
||||
|
||||
|
||||
<!-- {{ task.SerialNumber || task.serialNumber}} {{ task.WorkflowName || task.workflowName || task.workflowDisplayName }} {{ task.activityInstanceName }} -->
|
||||
|
||||
<ion-label [class.gb-seen]="TaskService.seen(task)">{{ task.Folio || task.Subject || task.workflowInstanceDataFields.Subject}}</ion-label>
|
||||
<span class="dead-line ml-10" *ngIf="TaskService.deadlineIsToday(task.Deadline || task.deadline)">Para hoje</span>
|
||||
<span class="new-task ml-10" *ngIf="TaskService.lessThen24Hours(task.TaskReceiveDate || task.taskReceiveDate)">Nova</span>
|
||||
|
||||
<ion-label [class.gb-seen]="TaskService.seen(task)">{{ task.Folio || task.Subject ||
|
||||
task.workflowInstanceDataFields.Subject}}</ion-label>
|
||||
<span class="dead-line ml-10"
|
||||
*ngIf="TaskService.deadlineIsToday(task.Deadline || task.deadline)">Para hoje</span>
|
||||
<span class="new-task ml-10"
|
||||
*ngIf="TaskService.lessThen24Hours(task.TaskReceiveDate || task.taskReceiveDate)">Nova</span>
|
||||
</div>
|
||||
<div *ngIf="task.DocumentsQty != 0" class="item-icon">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
||||
src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' "
|
||||
src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<label>{{task.DocumentsQty || task.totalDocuments}}</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-middle-detail">
|
||||
<div class="item-remetente">
|
||||
<ion-label class="sender" *ngIf="task.Senders">{{task.Senders }}</ion-label>
|
||||
<ion-label class="sender" *ngIf="task.workflowInstanceDataFields">{{ task.workflowInstanceDataFields.Sender }}</ion-label>
|
||||
<ion-label class="sender" *ngIf="task.workflowInstanceDataFields">{{
|
||||
task.workflowInstanceDataFields.Sender }}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
<div *ngIf="task.Agenda" class="item-middle-detail">
|
||||
@@ -141,11 +152,13 @@
|
||||
</div>
|
||||
<div *ngIf="task.Agenda" class="item-middle-detail-extra">
|
||||
<div class="item-middle-detail-extra-text">
|
||||
<ion-label *ngIf=" task.WorkflowName == 'Agenda Oficial PR' || task.WorkflowName == 'Agenda Pessoal PR'">
|
||||
<ion-label
|
||||
*ngIf=" task.WorkflowName == 'Agenda Oficial PR' || task.WorkflowName == 'Agenda Pessoal PR'">
|
||||
<!-- Agenda {{task.Agenda}} do Presidente da República -->
|
||||
Agenda {{task.Agenda}} do Titular
|
||||
</ion-label>
|
||||
<ion-label *ngIf=" task.WorkflowName == 'Agenda Oficial MDGPR' || task.WorkflowName == 'Agenda Pessoal MDGPR'">
|
||||
<ion-label
|
||||
*ngIf=" task.WorkflowName == 'Agenda Oficial MDGPR' || task.WorkflowName == 'Agenda Pessoal MDGPR'">
|
||||
A sua agenda {{task.Agenda}}
|
||||
</ion-label>
|
||||
</div>
|
||||
@@ -155,7 +168,7 @@
|
||||
<span class="label">{{task.activityInstanceName}}</span>
|
||||
</div>
|
||||
<div class="item-date">
|
||||
<ion-label>{{ task.CreateDate || task.taskStartDate || task.TaskStartDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
<ion-label>{{ task.taskStartDate || task.TaskStartDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -167,10 +180,8 @@
|
||||
</ion-item-sliding>
|
||||
</div>
|
||||
|
||||
<div
|
||||
*ngIf="!TaskService.showLoader && AllProcess.length == 0"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||
>
|
||||
<div *ngIf="!TaskService.showLoader && AllProcess.length == 0"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center">
|
||||
<span>Lista vazia</span>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,36 +1,37 @@
|
||||
<ion-header class="ion-no-border">
|
||||
<ion-progress-bar type="indeterminate" *ngIf="skeletonLoader"></ion-progress-bar>
|
||||
<div class="title">
|
||||
<div class="thetitle"><ion-label >Diplomas por gerar</ion-label></div>
|
||||
<div class="thetitle"><ion-label>Diplomas por gerar</ion-label></div>
|
||||
<div class="theicon d-flex align-center">
|
||||
|
||||
<div>
|
||||
<div class="d-flex" (click)="reorderList('old')" *ngIf="ordinance == 'recent' ">
|
||||
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/crescente.svg" ></ion-icon>
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/crescente.svg"></ion-icon>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="d-flex" (click)="reorderList('recent')" *ngIf="ordinance != 'recent' ">
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/decrescente.svg" ></ion-icon>
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/decrescente.svg"></ion-icon>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<mat-form-field class="task-filter-input" appearance="none" color="ion-color-secondary" placeholder="Selecione agenda">
|
||||
<mat-form-field class="task-filter-input" appearance="none" color="ion-color-secondary"
|
||||
placeholder="Selecione agenda">
|
||||
<mat-select [(value)]="filterName">
|
||||
|
||||
<mat-option value="Para hoje" >
|
||||
<mat-option value="Para hoje">
|
||||
Para hoje
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Novos" >
|
||||
<mat-option value="Novos">
|
||||
Novas
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Lidos" >
|
||||
<mat-option value="Lidos">
|
||||
Lidas
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Não lidos" >
|
||||
<mat-option value="Não lidos">
|
||||
Não lidas
|
||||
</mat-option>
|
||||
|
||||
@@ -40,7 +41,7 @@
|
||||
</mat-option>
|
||||
|
||||
|
||||
<mat-option value="Todos" >
|
||||
<mat-option value="Todos">
|
||||
Todas
|
||||
</mat-option>
|
||||
|
||||
@@ -54,26 +55,20 @@
|
||||
</ion-header>
|
||||
<ion-content>
|
||||
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
||||
<ion-refresher-content
|
||||
pullingIcon="chevron-down-circle-outline"
|
||||
pullingText="deslize para actualizar"
|
||||
refreshingSpinner="circles"
|
||||
refreshingText="A actualizar...">
|
||||
</ion-refresher-content>
|
||||
<ion-refresher-content pullingIcon="chevron-down-circle-outline" pullingText="deslize para actualizar"
|
||||
refreshingSpinner="circles" refreshingText="A actualizar...">
|
||||
</ion-refresher-content>
|
||||
</ion-refresher>
|
||||
|
||||
|
||||
<div class="main-container width-100 overflow-y-auto height-100">
|
||||
|
||||
<div *ngIf="diplomasList.length >= 1">
|
||||
<div *ngIf="diplomasList.length >= 1">
|
||||
|
||||
|
||||
<ion-list >
|
||||
<div
|
||||
class=" item-hover ion-no-padding ion-no-margin cursor-pointer"
|
||||
*ngFor = "let task of list"
|
||||
(click)="goToDiploma(task.SerialNumber)"
|
||||
>
|
||||
<ion-list>
|
||||
<div class=" item-hover ion-no-padding ion-no-margin cursor-pointer" *ngFor="let task of list"
|
||||
(click)="goToDiploma(task.SerialNumber)">
|
||||
<div class="item width-100 expediente" *ngIf="TaskService.filter(task, filterName)">
|
||||
<div class="exp-top-detail">
|
||||
<div class="subject d-flex">
|
||||
@@ -82,8 +77,10 @@
|
||||
<span class="new-task ml-10" *ngIf="TaskService.lessThen24Hours(task.TaskReceiveDate)">Nova</span>
|
||||
</div>
|
||||
<div class="exp-icon">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
||||
src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' "
|
||||
src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<label *ngIf="task.DocumentsQty != 0">{{task.DocumentsQty}}</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -97,7 +94,7 @@
|
||||
<span class="label">{{task.activityInstanceName}}</span>
|
||||
</div>
|
||||
<div class="exp-date">
|
||||
<ion-label>{{ task.CreateDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
<ion-label>{{ task.taskStartDate || task.TaskStartDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -106,10 +103,8 @@
|
||||
</ion-list>
|
||||
</div>
|
||||
|
||||
<div
|
||||
*ngIf="!skeletonLoader && diplomasList.length == 0"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||
>
|
||||
<div *ngIf="!skeletonLoader && diplomasList.length == 0"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center">
|
||||
<span>Lista vazia</span>
|
||||
</div>
|
||||
|
||||
@@ -141,5 +136,4 @@
|
||||
</div>
|
||||
|
||||
|
||||
</ion-content>
|
||||
|
||||
</ion-content>
|
||||
@@ -1,7 +1,7 @@
|
||||
<ion-header class="ion-no-border">
|
||||
<ion-progress-bar type="indeterminate" *ngIf="skeletonLoader"></ion-progress-bar>
|
||||
<div class="title">
|
||||
<div class="thetitle"><ion-label >Diplomas</ion-label></div>
|
||||
<div class="thetitle"><ion-label>Diplomas</ion-label></div>
|
||||
<div class="theicon d-flex align-center">
|
||||
<!-- <div>
|
||||
<div title="Pesquisa" *ngIf="!hideSearchBtn" class="mr-20 d-flex align-center cursor-pointer">
|
||||
@@ -35,44 +35,45 @@
|
||||
<div>
|
||||
<div class="d-flex" (click)="reorderList('old')" *ngIf="ordinance == 'recent' ">
|
||||
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/crescente.svg" ></ion-icon>
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/crescente.svg"></ion-icon>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="d-flex" (click)="reorderList('recent')" *ngIf="ordinance != 'recent' ">
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/decrescente.svg" ></ion-icon>
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/decrescente.svg"></ion-icon>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<mat-form-field class="task-filter-input" appearance="none" color="ion-color-secondary" placeholder="Selecione agenda">
|
||||
<mat-form-field class="task-filter-input" appearance="none" color="ion-color-secondary"
|
||||
placeholder="Selecione agenda">
|
||||
<mat-select [(value)]="filterName">
|
||||
|
||||
<mat-option value="Para hoje" >
|
||||
|
||||
<mat-option value="Para hoje">
|
||||
Para hoje
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Novos" >
|
||||
|
||||
<mat-option value="Novos">
|
||||
Novas
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Lidos" >
|
||||
|
||||
<mat-option value="Lidos">
|
||||
Lidas
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Não lidos" >
|
||||
|
||||
<mat-option value="Não lidos">
|
||||
Não lidas
|
||||
</mat-option>
|
||||
|
||||
|
||||
|
||||
|
||||
<mat-option value="OverdueTasks">
|
||||
Em atraso
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Todos" >
|
||||
|
||||
<mat-option value="Todos">
|
||||
Todas
|
||||
</mat-option>
|
||||
|
||||
|
||||
|
||||
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
@@ -103,11 +104,8 @@
|
||||
|
||||
<div *ngIf="listDiplomasPorValidar.length >= 1 && p.userPermission([p.permissionList.Gabinete.md_tasks])">
|
||||
<ion-list *ngSwitchCase="'validar'">
|
||||
<div
|
||||
class=" item-hover ion-no-padding ion-no-margin cursor-pointer"
|
||||
*ngFor = "let task of listDiplomasPorValidar"
|
||||
(click)="goToDiploma(task.SerialNumber)"
|
||||
>
|
||||
<div class=" item-hover ion-no-padding ion-no-margin cursor-pointer" *ngFor="let task of listDiplomasPorValidar"
|
||||
(click)="goToDiploma(task.SerialNumber)">
|
||||
<div class="item width-100 expediente" *ngIf="TaskService.filter(task, filterName)">
|
||||
<div class="exp-top-detail">
|
||||
<div class="subject d-flex">
|
||||
@@ -116,8 +114,10 @@
|
||||
<span class="new-task ml-10" *ngIf="TaskService.lessThen24Hours(task.TaskReceiveDate)">Nova</span>
|
||||
</div>
|
||||
<div class="exp-icon">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
||||
src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' "
|
||||
src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<label *ngIf="task.DocumentsQty != 0">{{task.DocumentsQty}}</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -131,7 +131,7 @@
|
||||
<span class="label">{{task.activityInstanceName}}</span>
|
||||
</div>
|
||||
<div class="exp-date">
|
||||
<ion-label>{{ task.CreateDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
<ion-label>{{ task.taskStartDate || task.TaskStartDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -141,12 +141,8 @@
|
||||
</div>
|
||||
<div *ngIf="listDiplomasAssinadosPR.length >= 1">
|
||||
<ion-list *ngSwitchCase="'assinados'">
|
||||
<div
|
||||
class=" ion-no-padding ion-no-margin cursor-pointer"
|
||||
*ngFor = "let task of listDiplomasAssinadosPR"
|
||||
|
||||
(click)="goToDiploma(task.SerialNumber)"
|
||||
>
|
||||
<div class=" ion-no-padding ion-no-margin cursor-pointer" *ngFor="let task of listDiplomasAssinadosPR"
|
||||
(click)="goToDiploma(task.SerialNumber)">
|
||||
<div class="item width-100 expediente" *ngIf="TaskService.filter(task, filterName)">
|
||||
<div class="exp-top-detail">
|
||||
<div class="subject d-flex">
|
||||
@@ -155,8 +151,10 @@
|
||||
<span class="new-task ml-10" *ngIf="TaskService.lessThen24Hours(task.TaskReceiveDate)">Nova</span>
|
||||
</div>
|
||||
<div class="exp-icon">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
||||
src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' "
|
||||
src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<label *ngIf="task.DocumentsQty != 0">{{task.DocumentsQty}}</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -170,7 +168,7 @@
|
||||
<span class="label">{{task.activityInstanceName}}</span>
|
||||
</div>
|
||||
<div class="exp-date">
|
||||
<ion-label>{{ task.CreateDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
<ion-label>{{ task.taskStartDate || task.TaskStartDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -179,26 +177,22 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div *ngSwitchCase="'validar'" class="centered-div" >
|
||||
<div
|
||||
*ngIf=" listDiplomasPorValidar.length == 0 && !skeletonLoader"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||
>
|
||||
<div *ngSwitchCase="'validar'" class="centered-div">
|
||||
<div *ngIf=" listDiplomasPorValidar.length == 0 && !skeletonLoader"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center">
|
||||
<span>Lista vazia</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ngSwitchCase="'assinados'" class="centered-div">
|
||||
<div
|
||||
*ngIf="listDiplomasAssinadosPR.length == 0 && !skeletonLoader"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||
>
|
||||
<div *ngIf="listDiplomasAssinadosPR.length == 0 && !skeletonLoader"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center">
|
||||
<span>Lista vazia</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div *ngSwitchCase="'validar'" >
|
||||
<div *ngSwitchCase="'validar'">
|
||||
|
||||
<ion-list *ngIf="skeletonLoader && listDiplomasPorValidar.length == 0">
|
||||
<ion-list>
|
||||
@@ -226,7 +220,7 @@
|
||||
</ion-list>
|
||||
</div>
|
||||
|
||||
<div *ngSwitchCase="'assinados'" >
|
||||
<div *ngSwitchCase="'assinados'">
|
||||
|
||||
<ion-list *ngIf="skeletonLoader && listDiplomasAssinadosPR.length == 0">
|
||||
<ion-list>
|
||||
@@ -255,5 +249,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</ion-content>
|
||||
|
||||
</ion-content>
|
||||
@@ -3,11 +3,8 @@
|
||||
|
||||
<div *ngIf="taskList.length >= 1" class="width-100">
|
||||
<ion-list part="divo" class="width-100">
|
||||
<div
|
||||
class=" item-hover ion-no-padding ion-no-margin cursor-pointer"
|
||||
*ngFor = "let task of taskList; let i = index"
|
||||
(click)="viewTaskDetail.emit(task)"
|
||||
>
|
||||
<div class=" item-hover ion-no-padding ion-no-margin cursor-pointer"
|
||||
*ngFor="let task of taskList; let i = index" (click)="viewTaskDetail.emit(task)">
|
||||
<!-- [routerLink]="['/home/gabinete-digital/expediente',task.SerialNumber]" -->
|
||||
|
||||
<div class="item width-100 expediente" *ngIf="TaskService.filter(task, filterName)">
|
||||
@@ -18,8 +15,10 @@
|
||||
<span class="new-task ml-10" *ngIf="TaskService.lessThen24Hours(task.TaskReceiveDate)">Nova</span>
|
||||
</div>
|
||||
<div class="exp-icon">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
||||
src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' "
|
||||
src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<label *ngIf="task.DocumentsQty != 0">{{task.DocumentsQty}}</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -33,7 +32,7 @@
|
||||
<span class="label">{{task.activityInstanceName}}</span>
|
||||
</div>
|
||||
<div class="exp-date">
|
||||
<ion-label>{{ task.CreateDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
<ion-label>{{ task.taskStartDate || task.TaskStartDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -41,10 +40,8 @@
|
||||
</ion-list>
|
||||
</div>
|
||||
|
||||
<div
|
||||
*ngIf="!skeletonLoader && taskList.length == 0"
|
||||
class="empty-list d-flex height-100 width-100 align-center justify-content-center"
|
||||
>
|
||||
<div *ngIf="!skeletonLoader && taskList.length == 0"
|
||||
class="empty-list d-flex height-100 width-100 align-center justify-content-center">
|
||||
<span>Lista vazia</span>
|
||||
</div>
|
||||
|
||||
@@ -75,4 +72,4 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-content>
|
||||
@@ -1,10 +1,10 @@
|
||||
<ion-header class="ion-no-border">
|
||||
<ion-progress-bar type="indeterminate" *ngIf="skeletonLoader"></ion-progress-bar>
|
||||
<div class="title">
|
||||
<div class="thetitle"><ion-label >Pedidos</ion-label></div>
|
||||
<div class="thetitle"><ion-label>Pedidos</ion-label></div>
|
||||
<div class="theicon btn-refresh d-flex align-center">
|
||||
|
||||
|
||||
|
||||
<!-- <div>
|
||||
<div title="Pesquisa" *ngIf="!hideSearchBtn" class="mr-20 d-flex align-center cursor-pointer">
|
||||
<div (click)="openSearch();showSearch=true" *ngIf="!showSearch" class="d-flex">
|
||||
@@ -35,48 +35,49 @@
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
|
||||
<div>
|
||||
<div class="d-flex" (click)="reorderList('old')" *ngIf="ordinance == 'recent' ">
|
||||
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/crescente.svg" ></ion-icon>
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/crescente.svg"></ion-icon>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="d-flex" (click)="reorderList('recent')" *ngIf="ordinance != 'recent' ">
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/decrescente.svg" ></ion-icon>
|
||||
<ion-icon class="mr-10 font-25" src="assets/images/theme/gov/decrescente.svg"></ion-icon>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<mat-form-field class="task-filter-input" appearance="none" color="ion-color-secondary" placeholder="Selecione agenda">
|
||||
<mat-form-field class="task-filter-input" appearance="none" color="ion-color-secondary"
|
||||
placeholder="Selecione agenda">
|
||||
<mat-select [(value)]="filterName">
|
||||
|
||||
<mat-option value="Para hoje" >
|
||||
|
||||
<mat-option value="Para hoje">
|
||||
Para hoje
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Novos" >
|
||||
|
||||
<mat-option value="Novos">
|
||||
Novas
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Lidos" >
|
||||
|
||||
<mat-option value="Lidos">
|
||||
Lidas
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Não lidos" >
|
||||
|
||||
<mat-option value="Não lidos">
|
||||
Não lidas
|
||||
</mat-option>
|
||||
|
||||
|
||||
|
||||
|
||||
<mat-option value="OverdueTasks">
|
||||
Em atraso
|
||||
</mat-option>
|
||||
|
||||
<mat-option value="Todos" >
|
||||
|
||||
<mat-option value="Todos">
|
||||
Todas
|
||||
</mat-option>
|
||||
|
||||
|
||||
|
||||
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
@@ -98,13 +99,10 @@
|
||||
</ion-header>
|
||||
<ion-content>
|
||||
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
||||
<ion-refresher-content
|
||||
pullingIcon="chevron-down-circle-outline"
|
||||
pullingText="deslize para actualizar"
|
||||
refreshingSpinner="circles"
|
||||
refreshingText="A actualizar...">
|
||||
</ion-refresher-content>
|
||||
</ion-refresher>
|
||||
<ion-refresher-content pullingIcon="chevron-down-circle-outline" pullingText="deslize para actualizar"
|
||||
refreshingSpinner="circles" refreshingText="A actualizar...">
|
||||
</ion-refresher-content>
|
||||
</ion-refresher>
|
||||
|
||||
<div class="main-container width-100 overflow-y-auto height-100 px-20" [ngSwitch]="segment">
|
||||
|
||||
@@ -112,11 +110,8 @@
|
||||
<ion-list *ngSwitchCase="'parecer'">
|
||||
<!-- *ngFor = "let task of listPedidosParecer; let i = index"
|
||||
(click)="viewExpedientDetail(task.SerialNumber)" -->
|
||||
<div
|
||||
class=" item-hover ion-no-padding ion-no-margin cursor-pointer"
|
||||
*ngFor = "let task of listPedidosParecer"
|
||||
(click)="goToPedido(task.SerialNumber)"
|
||||
>
|
||||
<div class=" item-hover ion-no-padding ion-no-margin cursor-pointer" *ngFor="let task of listPedidosParecer"
|
||||
(click)="goToPedido(task.SerialNumber)">
|
||||
<!-- (click)="viewExpedientDetail(task.SerialNumber)" -->
|
||||
<!-- [routerLink]="['/home/gabinete-digital/expediente',task.SerialNumber]" -->
|
||||
<div class="item width-100 expediente" *ngIf="TaskService.filter(task, filterName)">
|
||||
@@ -127,8 +122,10 @@
|
||||
<span class="new-task ml-10" *ngIf="TaskService.lessThen24Hours(task.TaskReceiveDate)">Nova</span>
|
||||
</div>
|
||||
<div class="exp-icon">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
||||
src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' "
|
||||
src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<label *ngIf="task.DocumentsQty != 0">{{task.DocumentsQty}}</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -142,7 +139,7 @@
|
||||
<span class="label mr-10">{{task.activityInstanceName}}</span>
|
||||
</div>
|
||||
<div class="exp-date">
|
||||
<ion-label>{{ task.CreateDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
<ion-label>{{ task.taskStartDate || task.TaskStartDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -152,11 +149,8 @@
|
||||
</div>
|
||||
<div *ngIf="listPedidosDeferimento.length >= 1">
|
||||
<ion-list *ngSwitchCase="'deferimento'">
|
||||
<div
|
||||
class=" item-hover ion-no-padding ion-no-margin cursor-pointer"
|
||||
*ngFor = "let task of listPedidosDeferimento"
|
||||
(click)="goToPedido(task.SerialNumber)"
|
||||
>
|
||||
<div class=" item-hover ion-no-padding ion-no-margin cursor-pointer" *ngFor="let task of listPedidosDeferimento"
|
||||
(click)="goToPedido(task.SerialNumber)">
|
||||
<!-- (click)="viewExpedientDetail(task.SerialNumber)" -->
|
||||
<!-- [routerLink]="['/home/gabinete-digital/expediente',task.SerialNumber]" -->
|
||||
<div class="item width-100 expediente" *ngIf="TaskService.filter(task, filterName)">
|
||||
@@ -167,8 +161,10 @@
|
||||
<span class="new-task ml-10" *ngIf="TaskService.lessThen24Hours(task.TaskReceiveDate)">Nova</span>
|
||||
</div>
|
||||
<div class="exp-icon">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' "
|
||||
src="assets/images/icons-expediente-attachment.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' "
|
||||
src="assets/images/theme/gov/icons-expediente-attachment.svg"></ion-icon>
|
||||
<label *ngIf="task.DocumentsQty != 0">{{task.DocumentsQty}}</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -182,7 +178,7 @@
|
||||
<span class="label mr-10">{{task.activityInstanceName}}</span>
|
||||
</div>
|
||||
<div class="exp-date">
|
||||
<ion-label>{{ task.CreateDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
<ion-label>{{ task.taskStartDate || task.TaskStartDate | date: 'dd-MM-yyyy HH:mm' }}</ion-label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -190,25 +186,21 @@
|
||||
</ion-list>
|
||||
</div>
|
||||
|
||||
<div *ngSwitchCase="'parecer'" class="centered-div" >
|
||||
<div
|
||||
*ngIf=" listPedidosParecer.length == 0 && !skeletonLoader"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||
>
|
||||
<div *ngSwitchCase="'parecer'" class="centered-div">
|
||||
<div *ngIf=" listPedidosParecer.length == 0 && !skeletonLoader"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center">
|
||||
<span>Lista vazia</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ngSwitchCase="'deferimento'" class="centered-div">
|
||||
<div
|
||||
*ngIf="listPedidosDeferimento.length == 0 && !skeletonLoader"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||
>
|
||||
<div *ngIf="listPedidosDeferimento.length == 0 && !skeletonLoader"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center">
|
||||
<span>Lista vazia</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ngSwitchCase="'deferimento'" >
|
||||
<div *ngSwitchCase="'deferimento'">
|
||||
|
||||
<ion-list *ngIf="skeletonLoader && listPedidosDeferimento.length == 0">
|
||||
<ion-item>
|
||||
@@ -234,7 +226,7 @@
|
||||
</ion-list>
|
||||
</div>
|
||||
|
||||
<div *ngSwitchCase="'parecer'" >
|
||||
<div *ngSwitchCase="'parecer'">
|
||||
|
||||
<ion-list *ngIf="skeletonLoader && listPedidosParecer.length == 0">
|
||||
<ion-item>
|
||||
@@ -262,5 +254,4 @@
|
||||
|
||||
</div>
|
||||
|
||||
</ion-content>
|
||||
|
||||
</ion-content>
|
||||
Reference in New Issue
Block a user