diff --git a/src/app/pages/license/histories/histories.component.ts b/src/app/pages/license/histories/histories.component.ts index 8600679..9cbd2dd 100644 --- a/src/app/pages/license/histories/histories.component.ts +++ b/src/app/pages/license/histories/histories.component.ts @@ -75,6 +75,8 @@ export class HistoriesComponent implements OnInit { //处置 details(item) { + console.log(item) + item.licenseSnapshot.licenseTypeName = item.licenseSnapshot.validityLicenseType.licenseName const modal = this.modal.create({ nzContent: DetailsUpdateCategoryComponent, nzViewContainerRef: this.viewContainerRef, diff --git a/src/app/pipes/type.pipe.ts b/src/app/pipes/type.pipe.ts index 40610c1..d676090 100644 --- a/src/app/pipes/type.pipe.ts +++ b/src/app/pipes/type.pipe.ts @@ -30,7 +30,7 @@ export class licenseViolationType implements PipeTransform { @Pipe({ name: 'handleState' }) export class handleState implements PipeTransform { transform(value: number): string { - let arr = ['未启动', '已启动', '已关闭', '已延期'] + let arr = ['未启动', '已启动', '已关闭', '已延期', '已忽略'] return arr[value] } } \ No newline at end of file