|
|
@ -241,6 +241,10 @@ export class AuditRecordComponent implements OnInit { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
let params = { id: item.itemId } |
|
|
|
let params = { id: item.itemId } |
|
|
|
this.http.get(url, { params }).subscribe((data: any) => { |
|
|
|
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) |
|
|
|
resolve(data.result) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|