From 380933769a105b5dc98cdf5ab6c24bf53b0c0d21 Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Wed, 18 May 2022 16:10:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A9=B3=E5=9B=9E=E8=AF=B4=E6=98=8E,=20?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/pages/audit/audit-ing/audit-ing.component.ts | 4 ++++ src/app/pages/audit/audit-record/audit-record.component.ts | 4 ++++ .../details-file-category.component.html | 5 +++-- .../pages/license/file-category/file-category.component.html | 2 +- .../details-update-category.component.html | 5 +++-- .../license/update-category/update-category.component.html | 2 +- 6 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/app/pages/audit/audit-ing/audit-ing.component.ts b/src/app/pages/audit/audit-ing/audit-ing.component.ts index 1a29b58..3d57d8d 100644 --- a/src/app/pages/audit/audit-ing/audit-ing.component.ts +++ b/src/app/pages/audit/audit-ing/audit-ing.component.ts @@ -188,6 +188,10 @@ export class AuditIngComponent implements OnInit { return new Promise((resolve, reject) => { let params = { id: item.itemId } this.http.get(url, { params }).subscribe((data: any) => { + let auditLog = { rejectReason: item.rejectReason } + if (item.auditType == 1 && item.rejectReason) { + data.result.auditLog = auditLog + } resolve(data.result) }) }) diff --git a/src/app/pages/audit/audit-record/audit-record.component.ts b/src/app/pages/audit/audit-record/audit-record.component.ts index 74a9f46..9826955 100644 --- a/src/app/pages/audit/audit-record/audit-record.component.ts +++ b/src/app/pages/audit/audit-record/audit-record.component.ts @@ -241,6 +241,10 @@ export class AuditRecordComponent implements OnInit { return new Promise((resolve, reject) => { let params = { id: item.itemId } this.http.get(url, { params }).subscribe((data: any) => { + let auditLog = { rejectReason: item.rejectReason } + if (item.auditType == 1 && item.rejectReason) { + data.result.auditLog = auditLog + } resolve(data.result) }) }) diff --git a/src/app/pages/license/file-category/details-file-category/details-file-category.component.html b/src/app/pages/license/file-category/details-file-category/details-file-category.component.html index c44bbdd..08f809e 100644 --- a/src/app/pages/license/file-category/details-file-category/details-file-category.component.html +++ b/src/app/pages/license/file-category/details-file-category/details-file-category.component.html @@ -32,8 +32,9 @@