|
@@ -42,11 +42,11 @@ export class BasicInComponent implements OnInit {
|
|
|
@Output() state: EventEmitter<any> = new EventEmitter<any>();
|
|
|
@Output() save: EventEmitter<any> = new EventEmitter<any>();
|
|
|
/***教材获批截图 */
|
|
|
- approvedImgObj:any={
|
|
|
+ approvedImgList:Array<any>=[{
|
|
|
name:'获批截图',
|
|
|
status:'done',
|
|
|
url:''
|
|
|
- }
|
|
|
+ }]
|
|
|
/**
|
|
|
* 书号自动补全函数
|
|
|
* @param isbn 书号
|
|
@@ -186,8 +186,8 @@ export class BasicInComponent implements OnInit {
|
|
|
if(this.eduTextbook?.get('editionUnit')){
|
|
|
this.isShowChooseEU=false
|
|
|
}
|
|
|
- this.approvedImgObj.url = this.eduTextbook.get('approvedImgUrl')
|
|
|
- console.log(this.approvedImgObj)
|
|
|
+ this.approvedImgList[0].url = this.eduTextbook.get('approvedImgUrl')
|
|
|
+ console.log(this.approvedImgList)
|
|
|
console.log(this.eduTextbook);
|
|
|
this.validateForm = this.fb.group({
|
|
|
title: [this.eduTextbook?.get('title') || '', [Validators.required]],
|