|
@@ -558,17 +558,17 @@
|
|
|
this.ProjectEndFile = FormData[3][0]['endFile']!=''?JSON.parse(FormData[3][0]['endFile']):'';
|
|
|
if(this.ProjectEndFile!=null && this.ProjectEndFile!='')this.ProjectEndLookFile = this.ProjectEndFile[0];
|
|
|
else this.ProjectEndLookFile = {url:"",type:""}
|
|
|
+ console.log(FormData[4][0]);
|
|
|
if(FormData[4][0]['title']!=null){
|
|
|
this.AllActivity = FormData[4]
|
|
|
this.AllActivity.forEach(item=>{
|
|
|
- // item['chapter'] = JSON.parse(item['chapter']);
|
|
|
if(item['reportFile']!=null&&item['reportFile']!=''){
|
|
|
item['reportFile'] = JSON.parse(item['reportFile']);
|
|
|
- this.ActivityLookFile.push({url:item['reportFile'][0].url,fileName:item['reportFile'][0].fileName})
|
|
|
+ if(item['reportFile'].length!=0)this.ActivityLookFile.push({url:item['reportFile'][0].url,fileName:item['reportFile'][0].fileName})
|
|
|
+ else this.ActivityLookFile.push({url:"",type:""})
|
|
|
}else this.ActivityLookFile.push({url:"",type:""})
|
|
|
})
|
|
|
};
|
|
|
- console.log(this.AllActivity)
|
|
|
// if(JSON.parse(FormData[5][0]['endProjectRemark'])!=null)this.endProjectRemark = JSON.parse(FormData[5][0]['endProjectRemark']);
|
|
|
this.loading = false;
|
|
|
}).catch(err=>{
|