diff --git a/src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.ts b/src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.ts index 86d8359..ade529f 100644 --- a/src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.ts +++ b/src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.ts @@ -36,7 +36,7 @@ export class GetOutOfLineDetailsComponent implements OnInit { } if (loginUserInfo.roles.find((item) => { - return item.name == 'ViolationPositiveChecker' + return item.name == 'ViolationPositiveCensorer' }) && this.data.violation.eventSystemName != '证照预警') { this.isMisinformation = true } else { @@ -74,7 +74,7 @@ export class GetOutOfLineDetailsComponent implements OnInit { id: this.data.id, positive: false } - this.http.post('/api/services/app/ViolateRecord/CheckViolateRecord', body).subscribe(data => { + this.http.post('/api/services/app/ViolateRecord/CensorViolateRecord', body).subscribe(data => { this.message.create('success', '处置成功!'); // this.data.handleTime = new Date() this.initialModal.triggerOk()