Search Screen port
This commit is contained in:
parent
8e815d2e10
commit
da201b543a
@ -56,6 +56,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cell">
|
||||
<redaction-initials-avatar [user]="item.assignee" [withName]="true"></redaction-initials-avatar>
|
||||
</div>
|
||||
|
||||
<div class="cell">
|
||||
<iqser-status-bar
|
||||
[configs]="[
|
||||
|
||||
@ -35,6 +35,7 @@ export class SearchScreenComponent extends ListingComponent<ISearchListItem> imp
|
||||
readonly tableHeaderLabel = _('search-screen.table-header');
|
||||
readonly tableColumnConfigs: TableColumnConfig<ISearchListItem>[] = [
|
||||
{ label: _('search-screen.cols.document'), width: '2fr' },
|
||||
{ label: _('search-screen.cols.assignee') },
|
||||
{ label: _('search-screen.cols.status') },
|
||||
{ label: _('search-screen.cols.dossier') },
|
||||
{ label: _('search-screen.cols.pages'), width: 'auto' },
|
||||
@ -134,6 +135,7 @@ export class SearchScreenComponent extends ListingComponent<ISearchListItem> imp
|
||||
unmatched: unmatchedTerms || null,
|
||||
highlights,
|
||||
status: file.workflowStatus,
|
||||
assignee: file.assignee,
|
||||
numberOfPages: file.numberOfPages,
|
||||
dossierName: this._dossiersService.find(dossierId).dossierName,
|
||||
filename: file.filename,
|
||||
|
||||
@ -1492,6 +1492,7 @@
|
||||
"cols": {
|
||||
"document": "Document",
|
||||
"dossier": "Dossier",
|
||||
"assignee": "Assignee",
|
||||
"pages": "Pages",
|
||||
"status": "Status"
|
||||
},
|
||||
|
||||
@ -3,6 +3,7 @@ import { IListable, List } from '@iqser/common-ui';
|
||||
export interface ISearchListItem extends IListable {
|
||||
readonly dossierId: string;
|
||||
readonly filename: string;
|
||||
readonly assignee: string;
|
||||
readonly unmatched: List | null;
|
||||
readonly highlights: Record<string, List>;
|
||||
readonly routerLink: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user