|
|
@ -48,12 +48,13 @@ export class UpdateOfLicenseComponent implements OnInit { |
|
|
|
nzOnOk: async () => { |
|
|
|
nzOnOk: async () => { |
|
|
|
if (instance.validateForm.valid) { |
|
|
|
if (instance.validateForm.valid) { |
|
|
|
await new Promise(resolve => { |
|
|
|
await new Promise(resolve => { |
|
|
|
console.log('表单信息', instance.validateForm) |
|
|
|
|
|
|
|
let body = { |
|
|
|
let body = { |
|
|
|
licenseName: instance.validateForm.value.name, |
|
|
|
licenseName: instance.validateForm.value.name, |
|
|
|
handleRemindDays: instance.validateForm.value.handleRemindDays, |
|
|
|
handleRemindDays: instance.validateForm.value.handleRemindDays, |
|
|
|
closingRemindDays: instance.validateForm.value.closingRemindDays, |
|
|
|
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 => { |
|
|
|
this.http.post('/api/services/app/ValidityLicenseType/Create', body).subscribe(data => { |
|
|
|
resolve(data) |
|
|
|
resolve(data) |
|
|
@ -93,7 +94,9 @@ export class UpdateOfLicenseComponent implements OnInit { |
|
|
|
licenseName: instance.validateForm.value.name, |
|
|
|
licenseName: instance.validateForm.value.name, |
|
|
|
handleRemindDays: instance.validateForm.value.handleRemindDays, |
|
|
|
handleRemindDays: instance.validateForm.value.handleRemindDays, |
|
|
|
closingRemindDays: instance.validateForm.value.closingRemindDays, |
|
|
|
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 => { |
|
|
|
this.http.put('/api/services/app/ValidityLicenseType/Update', body).subscribe(data => { |
|
|
|
resolve(data) |
|
|
|
resolve(data) |
|
|
|