|
@@ -73,7 +73,7 @@ export class AttachmentComponent implements OnInit {
|
|
|
unitMaterial: FormControl<object | any>; //申报单位承诺意见材料
|
|
|
accept: FormControl<string>; //填写诚信承诺
|
|
|
}> = this.fb.group({
|
|
|
- textbookTypes: ['', [Validators.required]],
|
|
|
+ textbookTypes: [''],
|
|
|
textbookFiles: [
|
|
|
[
|
|
|
{
|
|
@@ -166,7 +166,6 @@ export class AttachmentComponent implements OnInit {
|
|
|
this.validateForm = this.fb.group({
|
|
|
textbookTypes: [
|
|
|
this.eduTextbook.get('textbookTypes'),
|
|
|
- [Validators.required]
|
|
|
],
|
|
|
textbookFiles: [
|
|
|
this.eduTextbook.get('textbookFiles') ||
|
|
@@ -269,8 +268,8 @@ export class AttachmentComponent implements OnInit {
|
|
|
});
|
|
|
this.msg.warning('请填写完整信息');
|
|
|
}
|
|
|
- await this.saveEduTextbook(params, this.validateForm.valid && opinionsVrifly && authorSignVrifly);
|
|
|
if (event == 'save') {
|
|
|
+ await this.saveEduTextbook(params, this.validateForm.valid && opinionsVrifly && authorSignVrifly);
|
|
|
this.modal.success({
|
|
|
nzTitle: '您已填写完成',
|
|
|
nzContent: '<p>已保存并且至空间</p>',
|