diff --git a/src/app/http-interceptors/base-interceptor.ts b/src/app/http-interceptors/base-interceptor.ts index ba06d87..de1f108 100644 --- a/src/app/http-interceptors/base-interceptor.ts +++ b/src/app/http-interceptors/base-interceptor.ts @@ -84,7 +84,7 @@ export class BaseInterceptor implements HttpInterceptor { this.message.create('error', `请核对您的输入信息或格式是否正确!`); } if (error.status === 500) { - this.message.create('error', `状态500,服务器错误!`); + this.message.create('error', `状态500,服务器错误!${error.error.message}`); } if (error.error instanceof ErrorEvent) { // 发生客户端或网络错误。相应处理。 diff --git a/src/app/pages/audit/audit-inform-time/audit-details-inform-time/audit-details-inform-time.component.html b/src/app/pages/audit/audit-inform-time/audit-details-inform-time/audit-details-inform-time.component.html index 8a8cfbe..b90112b 100644 --- a/src/app/pages/audit/audit-inform-time/audit-details-inform-time/audit-details-inform-time.component.html +++ b/src/app/pages/audit/audit-inform-time/audit-details-inform-time/audit-details-inform-time.component.html @@ -9,6 +9,10 @@

{{organizationName}}

+

证照名称: {{data.licenseType ? data.licenseType.licenseName : null}}

+
+

公司名称: {{data.organization ? data.organization.displayName : null}}

+

办理提醒时间:修改时间 {{data.handleRemindDays}}天 默认时间 {{data.handleRemindDaysDefault}}天 @@ -23,7 +27,7 @@

审核状态:{{data.auditStatus | auditStatus}}

-

驳回说明:{{data.auditLog? data.auditLog.rejectReason : ''}}

+

审核说明:{{data.auditLog? data.auditLog.rejectReason : ''}}

diff --git a/src/app/pages/audit/audit-ing/audit-dispose/audit-dispose.component.html b/src/app/pages/audit/audit-ing/audit-dispose/audit-dispose.component.html index 82c9c24..0ed445b 100644 --- a/src/app/pages/audit/audit-ing/audit-dispose/audit-dispose.component.html +++ b/src/app/pages/audit/audit-ing/audit-dispose/audit-dispose.component.html @@ -11,6 +11,10 @@
+

公司名称:   {{data.organization.displayName}}

+
+

证件名称:   {{data.getData.licenseType.licenseName}}

+

办理提醒时间:修改时间   {{data.getData.handleRemindDays}}天 默认时间 {{data.getData.handleRemindDaysDefault}}天 @@ -39,7 +43,7 @@

证件名称:   {{data.getData.licenseTypeName}}

-

有效期类型:   不适用

+

有无证照:   不适用

证件图片:    diff --git a/src/app/pages/audit/audit-ing/audit-ing.component.html b/src/app/pages/audit/audit-ing/audit-ing.component.html index 558691e..c03a84a 100644 --- a/src/app/pages/audit/audit-ing/audit-ing.component.html +++ b/src/app/pages/audit/audit-ing/audit-ing.component.html @@ -29,8 +29,17 @@ - - {{item.committedTime | date:"yyyy/MM/dd"}} + + + + + + + + + + + {{item.committedTime | date:"yyyy/MM/dd HH:mm:ss" }} {{item.auditStatusDesc}} 处置 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..b482f0f 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,14 @@ 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 } + let organization = { displayName: item.organization? item.organization.displayName : "" } + if (item.auditType == 1) { + 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) }) }) diff --git a/src/app/pages/audit/audit-record/audit-record.component.html b/src/app/pages/audit/audit-record/audit-record.component.html index c0ae045..70597bf 100644 --- a/src/app/pages/audit/audit-record/audit-record.component.html +++ b/src/app/pages/audit/audit-record/audit-record.component.html @@ -112,8 +112,15 @@ - - {{item.committedTime | date:"yyyy/MM/dd"}} + + + + + + + + + {{item.committedTime | date:"yyyy/MM/dd HH:mm:ss"}} {{item.auditStatusDesc}} 详情 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..d74fe81 100644 --- a/src/app/pages/audit/audit-record/audit-record.component.ts +++ b/src/app/pages/audit/audit-record/audit-record.component.ts @@ -161,13 +161,16 @@ export class AuditRecordComponent implements OnInit { MaxResultCount: string = '100' getRecordList() { this.tableSpin = true + let endTime = this.validateForm.value.datePicker[1] + ' 23:59:59' + console.log('结束时间', endTime) + let params = { IsContainsChildren: 'true', OrganizationUnitId: this.validateForm.value.organization, AuditTitle: this.validateForm.value.type, AuditType: this.validateForm.value.info, StartTime: this.validateForm.value.datePicker[0], - EndTime: this.validateForm.value.datePicker[1], + EndTime: endTime, AuditStatuses: this.validateForm.value.state, AuditLevel: this.validateForm.value.level, Sorting: null, @@ -188,6 +191,7 @@ export class AuditRecordComponent implements OnInit { } details(item) { + let or = item let component if (item.auditType == 0) { component = GasBaseInfoComponent @@ -200,6 +204,9 @@ export class AuditRecordComponent implements OnInit { } this.getData(item).then(res => { item.getData = res + if (item.auditType == 1) { + item.getData.organization = item.organization + } const modal = this.modal.create({ nzContent: component, nzViewContainerRef: this.viewContainerRef, @@ -241,6 +248,14 @@ 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 } + let organization = { displayName: item.organization? item.organization.displayName : "" } + if (item.auditType == 1) { + 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) }) }) diff --git a/src/app/pages/criminal-records-admin/criminal-records-admin.component.html b/src/app/pages/criminal-records-admin/criminal-records-admin.component.html index d81ea7b..ed01b39 100644 --- a/src/app/pages/criminal-records-admin/criminal-records-admin.component.html +++ b/src/app/pages/criminal-records-admin/criminal-records-admin.component.html @@ -16,15 +16,57 @@

-