From 194f251f531025f5fab96d4f6dc8c77eac03a473 Mon Sep 17 00:00:00 2001
From: cpf <1105965053@qq.com>
Date: Tue, 24 May 2022 11:35:50 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BB=8F=E8=90=A5=E7=B1=BB=E8=AF=81=E7=85=A7?=
=?UTF-8?q?=E5=AE=8C=E5=96=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../audit-inform-time.component.html | 16 +++++++---------
.../add-update-of-license.component.html | 16 +++++++++++++++-
.../add-update-of-license.component.ts | 8 +++++++-
.../edit-update-of-license.component.html | 16 +++++++++++++++-
.../edit-update-of-license.component.ts | 7 ++++++-
.../update-of-license.component.ts | 9 ++++++---
6 files changed, 56 insertions(+), 16 deletions(-)
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)