diff --git a/src/app/pages/audit/audit-inform-time/audit-inform-time.component.html b/src/app/pages/audit/audit-inform-time/audit-inform-time.component.html index aadc2ca..45c4f47 100644 --- a/src/app/pages/audit/audit-inform-time/audit-inform-time.component.html +++ b/src/app/pages/audit/audit-inform-time/audit-inform-time.component.html @@ -9,8 +9,8 @@ 办理提醒时间 临期提醒时间 - 提交审核时间 - 审核状态 + 操作 @@ -29,14 +29,12 @@ {{item.handleRemindDays}}天 {{item.closingRemindDaysDefault}}天 {{item.closingRemindDays}}天 - {{(item.auditLog && item.auditLog.committedTime) ? (item.auditLog.committedTime | date:"yyyy-MM-dd HH:mm:ss") : '/'}} - {{item.auditStatus | auditStatus}} + - 编辑 - 撤销审核 - 审核详情 + 编辑 + 撤销审核 + 详情 diff --git a/src/app/system-management/update-of-license/add-update-of-license/add-update-of-license.component.html b/src/app/system-management/update-of-license/add-update-of-license/add-update-of-license.component.html index 7983bdb..576c104 100644 --- a/src/app/system-management/update-of-license/add-update-of-license/add-update-of-license.component.html +++ b/src/app/system-management/update-of-license/add-update-of-license/add-update-of-license.component.html @@ -26,9 +26,23 @@ 是否年检 - + + + 是否需要上传附件 + + + + + + 办理类型 + + + + + + \ No newline at end of file diff --git a/src/app/system-management/update-of-license/add-update-of-license/add-update-of-license.component.ts b/src/app/system-management/update-of-license/add-update-of-license/add-update-of-license.component.ts index ca3640d..083c833 100644 --- a/src/app/system-management/update-of-license/add-update-of-license/add-update-of-license.component.ts +++ b/src/app/system-management/update-of-license/add-update-of-license/add-update-of-license.component.ts @@ -2,6 +2,7 @@ import { Component, OnInit, Input } from '@angular/core'; import { NzModalRef } from 'ng-zorro-antd/modal'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { HttpClient } from '@angular/common/http'; +import { handleType,handleTypeList } from 'src/app/pages/license/inform/inform.component'; @Component({ @@ -19,10 +20,15 @@ export class AddUpdateOfLicenseComponent implements OnInit { name: [null, [Validators.required]], handleRemindDays: [90, [Validators.required]], closingRemindDays: [30, [Validators.required]], - isYearlyCheck: [true, [Validators.required]] + isYearlyCheck: [true, [Validators.required]], + hasAttachment: [false, [Validators.required]], + handleTypes: [[], [Validators.required]] }); } destroyModal(): void { this.modal.destroy({ data: 'this the result data' }); } + + handleTypeList: handleTypeList[] = new handleType().list; //办理类型list + } diff --git a/src/app/system-management/update-of-license/edit-update-of-license/edit-update-of-license.component.html b/src/app/system-management/update-of-license/edit-update-of-license/edit-update-of-license.component.html index 7983bdb..576c104 100644 --- a/src/app/system-management/update-of-license/edit-update-of-license/edit-update-of-license.component.html +++ b/src/app/system-management/update-of-license/edit-update-of-license/edit-update-of-license.component.html @@ -26,9 +26,23 @@ 是否年检 - + + + 是否需要上传附件 + + + + + + 办理类型 + + + + + + \ No newline at end of file diff --git a/src/app/system-management/update-of-license/edit-update-of-license/edit-update-of-license.component.ts b/src/app/system-management/update-of-license/edit-update-of-license/edit-update-of-license.component.ts index 13fd904..e48067f 100644 --- a/src/app/system-management/update-of-license/edit-update-of-license/edit-update-of-license.component.ts +++ b/src/app/system-management/update-of-license/edit-update-of-license/edit-update-of-license.component.ts @@ -2,6 +2,7 @@ import { Component, OnInit, Input } from '@angular/core'; import { NzModalRef } from 'ng-zorro-antd/modal'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { HttpClient } from '@angular/common/http'; +import { handleType,handleTypeList } from 'src/app/pages/license/inform/inform.component'; @Component({ selector: 'app-edit-update-of-license', @@ -19,11 +20,15 @@ export class EditUpdateOfLicenseComponent implements OnInit { name: [this.data.licenseName, [Validators.required]], handleRemindDays: [this.data.handleRemindDays, [Validators.required]], closingRemindDays: [this.data.closingRemindDays, [Validators.required]], - isYearlyCheck: [this.data.isYearlyCheck, [Validators.required]] + isYearlyCheck: [this.data.isYearlyCheck, [Validators.required]], + hasAttachment: [this.data.hasAttachment, [Validators.required]], + handleTypes: [this.data.handleTypes, [Validators.required]] }); } destroyModal(): void { this.modal.destroy({ data: 'this the result data' }); } + handleTypeList: handleTypeList[] = new handleType().list; //办理类型list + } diff --git a/src/app/system-management/update-of-license/update-of-license.component.ts b/src/app/system-management/update-of-license/update-of-license.component.ts index 19df34e..6514fb5 100644 --- a/src/app/system-management/update-of-license/update-of-license.component.ts +++ b/src/app/system-management/update-of-license/update-of-license.component.ts @@ -48,12 +48,13 @@ export class UpdateOfLicenseComponent implements OnInit { nzOnOk: async () => { if (instance.validateForm.valid) { await new Promise(resolve => { - console.log('表单信息', instance.validateForm) let body = { licenseName: instance.validateForm.value.name, handleRemindDays: instance.validateForm.value.handleRemindDays, closingRemindDays: instance.validateForm.value.closingRemindDays, - isYearlyCheck: instance.validateForm.value.isYearlyCheck + isYearlyCheck: instance.validateForm.value.isYearlyCheck, + hasAttachment: instance.validateForm.value.hasAttachment, + handleTypes: instance.validateForm.value.handleTypes, } this.http.post('/api/services/app/ValidityLicenseType/Create', body).subscribe(data => { resolve(data) @@ -93,7 +94,9 @@ export class UpdateOfLicenseComponent implements OnInit { licenseName: instance.validateForm.value.name, handleRemindDays: instance.validateForm.value.handleRemindDays, closingRemindDays: instance.validateForm.value.closingRemindDays, - isYearlyCheck: instance.validateForm.value.isYearlyCheck + isYearlyCheck: instance.validateForm.value.isYearlyCheck, + hasAttachment: instance.validateForm.value.hasAttachment, + handleTypes: instance.validateForm.value.handleTypes, } this.http.put('/api/services/app/ValidityLicenseType/Update', body).subscribe(data => { resolve(data)