mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
agenda search back to default
This commit is contained in:
@@ -299,14 +299,14 @@
|
|||||||
<div class="content ion-align-items-center">
|
<div class="content ion-align-items-center">
|
||||||
|
|
||||||
<div class="d-flex ion-justify-content-between ">
|
<div class="d-flex ion-justify-content-between ">
|
||||||
<span class="result-name">{{ searchDocument.subject}}</span>
|
<span class="result-name">{{ searchDocument.subject || searchDocument.Assunto}}</span>
|
||||||
<span class="app-name"
|
<span class="app-name"
|
||||||
*ngIf="itemIcons() == 'AccoesPresidenciais & ArquivoDespachoElect' || itemIcons() == 'Correspondencia' ">{{
|
*ngIf="itemIcons() == 'AccoesPresidenciais & ArquivoDespachoElect' || itemIcons() == 'Correspondencia' ">{{
|
||||||
searchDocument.appName}}</span>
|
searchDocument.appName}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex ion-justify-content-between ">
|
<div class="d-flex ion-justify-content-between ">
|
||||||
<span class="organic-entity">{{ searchDocument.EntidadeOrganicaNome }}</span>
|
<span class="organic-entity">{{ searchDocument.EntidadeOrganicaNome }}</span>
|
||||||
<span class="documente-date">{{ formateIsoDate(searchDocument.dateEntry) }}</span>
|
<span class="documente-date">{{ formateIsoDate(searchDocument.dateEntry || searchDocument.Data) }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div *ngIf="select" (click)="view(searchDocument)"> Ver</div>
|
<div *ngIf="select" (click)="view(searchDocument)"> Ver</div>
|
||||||
|
|||||||
@@ -389,7 +389,7 @@ export class SearchPage implements OnInit {
|
|||||||
console.log('enter text');
|
console.log('enter text');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.showLoader = true;
|
/* this.showLoader = true;
|
||||||
this.agendaDataRepository.getDocumentAttachments(361, SessionStore.user.UserId, this.searchSubject, this.pageNumber, this.pageSize).subscribe((values) => {
|
this.agendaDataRepository.getDocumentAttachments(361, SessionStore.user.UserId, this.searchSubject, this.pageNumber, this.pageSize).subscribe((values) => {
|
||||||
this.totalPage = values.data.total / this.pageSize;
|
this.totalPage = values.data.total / this.pageSize;
|
||||||
this.totalPage = Math.round(this.totalPage)
|
this.totalPage = Math.round(this.totalPage)
|
||||||
@@ -412,12 +412,11 @@ export class SearchPage implements OnInit {
|
|||||||
this.httpErrorhandle.httpStatusHandle(error)
|
this.httpErrorhandle.httpStatusHandle(error)
|
||||||
// console.log(error)
|
// console.log(error)
|
||||||
})
|
})
|
||||||
return
|
return */
|
||||||
|
this.showLoader = true;
|
||||||
this.search.basicSearch(this.searchSubject, searchDocumentDate, searchDocumentDateEnd, this.searchSenderId
|
this.search.basicSearch(this.searchSubject, searchDocumentDate, searchDocumentDateEnd, this.searchSenderId
|
||||||
, this.searchOrganicEntiryCode, this.searchDocTypeId, '0').subscribe(res => {
|
, this.searchOrganicEntiryCode, this.searchDocTypeId, '0').subscribe(res => {
|
||||||
console.log(this.searchDocTypeId)
|
console.log(res)
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
if (!res.Categories.length) {
|
if (!res.Categories.length) {
|
||||||
this.searchResult = "Não encontramos o que procura";
|
this.searchResult = "Não encontramos o que procura";
|
||||||
|
|||||||
Reference in New Issue
Block a user