Browse Source

[修改]接口check修改为censor

dev
邵佳豪 3 years ago
parent
commit
8ba58d2f38
  1. 4
      src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.ts

4
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()

Loading…
Cancel
Save