1
|
<p-fieldset legend="List of Exceptions"
|
2
|
[toggleable]="_searchResultsPage?.data !== null"
|
3
|
[collapsed]="_searchResultsPage?.data === null">
|
4
|
<p-table [value]="_searchResultsPage?.data"
|
5
|
[lazy]="true"
|
6
|
(onLazyLoad)="onLazyLoad($event)"
|
7
|
[paginator]="true"
|
8
|
[rows]="rows"
|
9
|
[totalRecords]="totalRecords"
|
10
|
styleClass="p-datatable-gridlines"
|
11
|
[rowHover]="true"
|
12
|
[loading]="loading"
|
13
|
[autoLayout]="true"
|
14
|
[lazyLoadOnInit]="false">
|
15
|
<ng-template pTemplate="header">
|
16
|
<tr>
|
17
|
<th>Date-Time</th>
|
18
|
<th>Process Id</th>
|
19
|
<th>Job Name</th>
|
20
|
<th>File Code</th>
|
21
|
<th>iPower Client Code</th>
|
22
|
<th>Message</th>
|
23
|
<th>Cause</th>
|
24
|
<th class="one-button">Trace</th>
|
25
|
</tr>
|
26
|
</ng-template>
|
27
|
<ng-template pTemplate="body" let-systemException>
|
28
|
<tr>
|
29
|
<td>{{systemException.creationDatetime|date: "dd/MM/yyyy HH:mm"}}</td>
|
30
|
<td>{{systemException.processId}}</td>
|
31
|
<td>{{systemException.jobName}}</td>
|
32
|
<td>{{systemException.dmsFileCode}}</td>
|
33
|
<td>{{systemException.clientId}}</td>
|
34
|
<td>{{systemException.message}}</td>
|
35
|
<td>{{systemException.cause}}</td>
|
36
|
<!-- Edit & Delete icons -->
|
37
|
<td>
|
38
|
<button pButton
|
39
|
(click)="edit(systemException.id)"
|
40
|
icon="pi pi-align-justify"
|
41
|
pTooltip="{{'TRACE' | translate}}"
|
42
|
class="p-button-secondary p-button-rounded p-button-outlined">
|
43
|
</button>
|
44
|
</td>
|
45
|
</tr>
|
46
|
</ng-template>
|
47
|
</p-table>
|
48
|
</p-fieldset>
|
49
|
|
50
|
<app-application-level-dialog [displayDialog]="displayTraceDialog"
|
51
|
[header]="header"
|
52
|
(cancelled)="cancelEditLevelException()"
|
53
|
[trace]="trace">
|
54
|
</app-application-level-dialog>
|