|
@@ -205,7 +205,7 @@ export class AttachmentComponent implements OnInit {
|
|
|
}
|
|
|
}
|
|
|
if (!check) {
|
|
|
-
|
|
|
+ this.msg.create('warning', '请返回选择适用课程性质')
|
|
|
return true
|
|
|
}
|
|
|
|
|
@@ -234,12 +234,12 @@ export class AttachmentComponent implements OnInit {
|
|
|
let authorListAuth
|
|
|
console.log(this.authorList);
|
|
|
authorListAuth = this.authorList.some((obj:any)=>{
|
|
|
- return Object.keys(obj).some((item: string) => !obj[item])
|
|
|
+ return Object.keys(obj).some((item: string) => item!= 'signature' && !obj[item])
|
|
|
})
|
|
|
-
|
|
|
+ console.log(authorListAuth);
|
|
|
|
|
|
if (isVrifly || authorListAuth) {
|
|
|
-
|
|
|
+ this.msg.warning('已保存,存在未填项')
|
|
|
return true
|
|
|
} else {
|
|
|
return false
|
|
@@ -262,6 +262,7 @@ export class AttachmentComponent implements OnInit {
|
|
|
|
|
|
let isPageNull = this.examineNull()
|
|
|
let isIgnoreFiled = this.isIgnoreFiledNull()
|
|
|
+
|
|
|
await this.saveEduTextbook(params, (!isPageNull && !isIgnoreFiled));
|
|
|
|
|
|
if (event == 'pre') {
|
|
@@ -395,7 +396,7 @@ export class AttachmentComponent implements OnInit {
|
|
|
mobile: '',
|
|
|
email: '',
|
|
|
work: '',
|
|
|
- signature: '',
|
|
|
+
|
|
|
examine: '',
|
|
|
});
|
|
|
break;
|
|
@@ -428,7 +429,7 @@ export class AttachmentComponent implements OnInit {
|
|
|
mobile: '',
|
|
|
email: '',
|
|
|
work: '',
|
|
|
- signature: '',
|
|
|
+
|
|
|
examine: '',
|
|
|
},
|
|
|
];
|