Browse Source

更新时间类完善

beijing
陈鹏飞 3 years ago
parent
commit
b5f4faa46a
  1. 4
      src/app/pages/audit/audit-ing/audit-dispose/audit-dispose.component.html
  2. 6
      src/app/pages/audit/audit-ing/audit-ing.component.ts
  3. 6
      src/app/pages/audit/audit-record/audit-record.component.ts

4
src/app/pages/audit/audit-ing/audit-dispose/audit-dispose.component.html

@ -11,6 +11,10 @@
<div class="cutoffrule" *ngIf="data.auditType != 0 && data.auditType != 1"></div> <div class="cutoffrule" *ngIf="data.auditType != 0 && data.auditType != 1"></div>
<div *ngIf="data.auditType == 0"><app-gas-base-info [data]="data"></app-gas-base-info></div> <div *ngIf="data.auditType == 0"><app-gas-base-info [data]="data"></app-gas-base-info></div>
<div *ngIf="data.auditType == 1"> <div *ngIf="data.auditType == 1">
<p>公司名称: &nbsp;&nbsp;{{data.organization.displayName}}</p>
<div class="cutoffrule"></div>
<p>证件名称: &nbsp;&nbsp;{{data.getData.licenseType.licenseName}}</p>
<div class="cutoffrule"></div>
<p> <p>
办理提醒时间:修改时间 &nbsp;&nbsp;{{data.getData.handleRemindDays}}天 办理提醒时间:修改时间 &nbsp;&nbsp;{{data.getData.handleRemindDays}}天
<span style="float: right;">默认时间 {{data.getData.handleRemindDaysDefault}}天</span> <span style="float: right;">默认时间 {{data.getData.handleRemindDaysDefault}}天</span>

6
src/app/pages/audit/audit-ing/audit-ing.component.ts

@ -189,8 +189,12 @@ export class AuditIngComponent 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)
}) })

6
src/app/pages/audit/audit-record/audit-record.component.ts

@ -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)
}) })

Loading…
Cancel
Save