diff --git a/src/app/pages/home/home.component.ts b/src/app/pages/home/home.component.ts index f9e7917..b47ae15 100644 --- a/src/app/pages/home/home.component.ts +++ b/src/app/pages/home/home.component.ts @@ -504,7 +504,12 @@ export class HomeComponent implements OnInit { } } // this.router.navigate([this.menuList2[0].url]) - window.open(this.menuList2[0].url) + if (this.menuList2[0].url) { + window.open(this.menuList2[0].url) + } else { + this.message.create('warning', '未分配系统管理菜单'); + } + } goback() { this.router.navigate(['/plan']) diff --git a/src/app/pages/records/criminal-records-admin/criminal-records-admin.component.ts b/src/app/pages/records/criminal-records-admin/criminal-records-admin.component.ts index c28d4ab..cb2e57d 100644 --- a/src/app/pages/records/criminal-records-admin/criminal-records-admin.component.ts +++ b/src/app/pages/records/criminal-records-admin/criminal-records-admin.component.ts @@ -533,8 +533,7 @@ export class CriminalRecordsAdminComponent implements OnInit { SkipCount: this.SkipCount, MaxResultCount: this.MaxResultCount, AppealStatus: this.validateForm.value.appealState, - Positive: this.validateForm.value.misinformation, - IsLicense: true + Positive: this.validateForm.value.misinformation } this.tableSpin = true this.http.get('/api/services/app/ViolateRecord/GetAll', {