diff --git a/src/app/pages/license/file-category/file-category.component.ts b/src/app/pages/license/file-category/file-category.component.ts index e8a7828..a744e39 100644 --- a/src/app/pages/license/file-category/file-category.component.ts +++ b/src/app/pages/license/file-category/file-category.component.ts @@ -154,6 +154,7 @@ export class FileCategoryComponent implements OnInit { //提交审核 submitReview(item) { if (!item.id) { + this.message.create('warning', '该证照请编辑保存后再提交审核!'); return } let params = { id: item.id } diff --git a/src/app/pages/license/update-category/update-category.component.ts b/src/app/pages/license/update-category/update-category.component.ts index 4e36b4f..26c624e 100644 --- a/src/app/pages/license/update-category/update-category.component.ts +++ b/src/app/pages/license/update-category/update-category.component.ts @@ -184,6 +184,7 @@ export class UpdateCategoryComponent implements OnInit { //提交审核 submitReview(item){ if (!item.id) { + this.message.create('warning', '该证照请编辑保存后再提交审核!'); return } let params = { id: item.id }