From 730626ba7556a2e51551fe0f8c9db7eaeb343748 Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Mon, 18 Apr 2022 14:40:23 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9]=E6=8E=A5=E5=8F=A3censor?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BAverify?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../criminal-records-admin.component.ts | 6 +++--- .../get-out-of-line-details.component.ts | 4 ++-- src/app/pages/login/login.component.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) 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', `登录成功`);