Browse Source

[完善]修改bug

beijing
邵佳豪 3 years ago
parent
commit
84ab367a29
  1. 2
      src/app/pages/license/histories/histories.component.ts
  2. 2
      src/app/pipes/type.pipe.ts

2
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,

2
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]
}
}
Loading…
Cancel
Save