|
@@ -93,6 +93,11 @@ export default{
|
|
|
if(property){
|
|
|
return this.reportData[field][property];
|
|
|
}else{
|
|
|
+ if(field == 'compareLiterature' || field == 'searchRecord'){
|
|
|
+ if(this.reportData[field].length==0){
|
|
|
+ this.reportData[field].push({})
|
|
|
+ }
|
|
|
+ }
|
|
|
return this.reportData[field]
|
|
|
}
|
|
|
|
|
@@ -155,6 +160,9 @@ export default{
|
|
|
}
|
|
|
this.hasCopy[key] = true
|
|
|
}
|
|
|
+ if(this.reportData.compareRecord.length == 0){
|
|
|
+ return this.reportData.compareRecord.push({})
|
|
|
+ }
|
|
|
return this.reportData.compareRecord
|
|
|
},
|
|
|
delCompareRecord(data,index){
|