diff --git a/src/app/pages/criminal-records-admin/criminal-records-admin.component.ts b/src/app/pages/criminal-records-admin/criminal-records-admin.component.ts index 4078961..bd9c0ff 100644 --- a/src/app/pages/criminal-records-admin/criminal-records-admin.component.ts +++ b/src/app/pages/criminal-records-admin/criminal-records-admin.component.ts @@ -111,14 +111,14 @@ export class CriminalRecordsAdminComponent implements OnInit { ViolateArea: this.validateForm.value.site, OrganizationUnitId: JSON.parse(sessionStorage.getItem('userdata')).organization.id, IsContainsChildren: 'true', - CanCensor: 'true', + CanVerify: 'true', // IsHandled: disposalState, ViolateTime: this.validateForm.value.datePicker ? [moment(this.validateForm.value.datePicker[0]).format('yyyy-MM-DD'), moment(this.validateForm.value.datePicker[1]).format('yyyy-MM-DD')] : null, SkipCount: this.SkipCount, MaxResultCount: this.MaxResultCount //每页50条 } this.tableSpin = true - this.http.get('/api/services/app/ViolateRecordCensorship/GetAll', { + this.http.get('/api/services/app/ViolateRecordVerification/GetAll', { params: params }).subscribe((data: any) => { this.list = this.list.concat(data.result.items); @@ -151,7 +151,7 @@ export class CriminalRecordsAdminComponent implements OnInit { let params = { id: userNotification.notification.entityId } - this.http.get('/api/services/app/ViolateRecordCensorship/Get', { + this.http.get('/api/services/app/ViolateRecordVerification/Get', { params: params }).subscribe((data: any) => { data.result.isNewMessage = true diff --git a/src/app/pages/get-out-of-line-details/get-out-of-line-details.component.ts b/src/app/pages/get-out-of-line-details/get-out-of-line-details.component.ts index 0d6d541..3508618 100644 --- a/src/app/pages/get-out-of-line-details/get-out-of-line-details.component.ts +++ b/src/app/pages/get-out-of-line-details/get-out-of-line-details.component.ts @@ -40,7 +40,7 @@ export class GetOutOfLineDetailsComponent implements OnInit { id: this.data.id, positive: true } - this.http.post('/api/services/app/ViolateRecordCensorship/CensorViolateRecord', body).subscribe(data => { + this.http.post('/api/services/app/ViolateRecordVerification/VerifyViolateRecord', body).subscribe(data => { this.message.create('success', '处置成功!'); this.isPushLoading = false this.initialModal.triggerOk() @@ -61,7 +61,7 @@ export class GetOutOfLineDetailsComponent implements OnInit { id: this.data.id, positive: false } - this.http.post('/api/services/app/ViolateRecordCensorship/CensorViolateRecord', body).subscribe(data => { + this.http.post('/api/services/app/ViolateRecordVerification/VerifyViolateRecord', body).subscribe(data => { this.message.create('success', '处置成功!'); this.isMisinformationLoading = false this.initialModal.triggerOk() diff --git a/src/app/pages/login/login.component.ts b/src/app/pages/login/login.component.ts index a82e1d9..680411c 100644 --- a/src/app/pages/login/login.component.ts +++ b/src/app/pages/login/login.component.ts @@ -110,7 +110,7 @@ export class LoginComponent implements OnInit { //自动登录 this.autoLogin() if (data.result.user.roles.find((item) => { - return item.name == 'ViolationPositiveCensorer' + return item.name == 'ViolationPositiveVerifier' })) { this.router.navigate(['/records']) this.message.create('success', `登录成功`);