|
|
@ -81,7 +81,7 @@ |
|
|
|
<ng-container *ngIf="i.value.endDate; else elseTemplate"> |
|
|
|
<ng-container *ngIf="i.value.endDate; else elseTemplate"> |
|
|
|
<span (click)="lookDetails(i.value)" style="cursor: pointer;" |
|
|
|
<span (click)="lookDetails(i.value)" style="cursor: pointer;" |
|
|
|
[ngClass]="{'green': i.value.licenseViolationType == 1,'yellow': i.value.licenseViolationType == 2,'red': i.value.licenseViolationType == 3}"> |
|
|
|
[ngClass]="{'green': i.value.licenseViolationType == 1,'yellow': i.value.licenseViolationType == 2,'red': i.value.licenseViolationType == 3}"> |
|
|
|
{{i.value.endDate | date:"yyyy-MM-dd"}} |
|
|
|
{{i.value.endDate == '9999-12-31T23:59:59.9999999' ? '长期' : i.value.endDate | date:"yyyy-MM-dd"}} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</ng-container> |
|
|
|
</ng-container> |
|
|
|
<ng-template #elseTemplate> |
|
|
|
<ng-template #elseTemplate> |
|
|
|