|
@@ -265,7 +265,7 @@ export default {
|
|
|
relationVariety: [],
|
|
|
title: "",
|
|
|
abstract: "",
|
|
|
- author: ["投研团队"],
|
|
|
+ author: [],
|
|
|
frequency: "日度",
|
|
|
time: this.$moment().format("YYYY-MM-DD") || "",
|
|
|
cooperationType: 1,//协作方式
|
|
@@ -322,7 +322,7 @@ export default {
|
|
|
relationVariety: [],
|
|
|
title: "",
|
|
|
abstract: "",
|
|
|
- author: ["投研团队"],
|
|
|
+ author: [],
|
|
|
frequency: "日度",
|
|
|
time: this.$moment().format("YYYY-MM-DD") || "",
|
|
|
cooperationType: 1,//协作方式
|
|
@@ -419,9 +419,8 @@ export default {
|
|
|
if (this.formData.classify.length === 2) {
|
|
|
this.formData.title = this.getSelectClassifyName()[1];
|
|
|
}
|
|
|
- return;
|
|
|
}
|
|
|
- if(!this.formData.classify.length&&this.formData.type===2) return
|
|
|
+ if(!this.formData.classify.length) return
|
|
|
|
|
|
|
|
|
//获取上次报告
|
|
@@ -442,7 +441,13 @@ export default {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
- this.chooseInheritReport(res.Data.List[0])
|
|
|
+ if(this.formData.type===1) { //默认只带出作者
|
|
|
+ this.formData.author = res.Data.List
|
|
|
+ ? res.Data.List[0].Author.split(",")
|
|
|
+ : [''];
|
|
|
+ }else {
|
|
|
+ this.chooseInheritReport(res.Data.List[0])
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
|