|
|
@ -249,8 +249,12 @@ export class AuditRecordComponent implements OnInit { |
|
|
|
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 } |
|
|
|
let auditLog = { rejectReason: item.rejectReason } |
|
|
|
if (item.auditType == 1 && item.rejectReason) { |
|
|
|
let organization = { displayName: item.organization? item.organization.displayName : "" } |
|
|
|
|
|
|
|
if (item.auditType == 1) { |
|
|
|
data.result.auditLog = auditLog |
|
|
|
data.result.auditLog = auditLog |
|
|
|
|
|
|
|
data.result.organization = organization |
|
|
|
|
|
|
|
data.result.handleRemindDaysDefault = data.result.licenseType.handleRemindDays |
|
|
|
|
|
|
|
data.result.closingRemindDaysDefault = data.result.licenseType.closingRemindDays |
|
|
|
} |
|
|
|
} |
|
|
|
resolve(data.result) |
|
|
|
resolve(data.result) |
|
|
|
}) |
|
|
|
}) |
|
|
|