|
|
@ -112,6 +112,10 @@ export class UpdateCategoryComponent implements OnInit { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
edit(item) { |
|
|
|
edit(item) { |
|
|
|
|
|
|
|
if (item.auditStatus === 1) { |
|
|
|
|
|
|
|
this.message.create('warning', '审核中不允许编辑!'); |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
const modal = this.modal.create({ |
|
|
|
const modal = this.modal.create({ |
|
|
|
nzContent: EditUpdateCategoryComponent, |
|
|
|
nzContent: EditUpdateCategoryComponent, |
|
|
|
nzViewContainerRef: this.viewContainerRef, |
|
|
|
nzViewContainerRef: this.viewContainerRef, |
|
|
|