|
@@ -802,7 +802,7 @@ export default {
|
|
|
},
|
|
|
//多因子-保存/更新/另存为图表
|
|
|
async saveMultipleChart({ChartName,ClassifyId,type}){
|
|
|
- const {/* IndTarget, */Correlation} = this.infoForm
|
|
|
+ const {IndTarget,Correlation} = this.infoForm
|
|
|
const {SourcesFrom,YDataList} = this.multipleChartData
|
|
|
const SeriesEdb = YDataList.map(i=>{
|
|
|
return {
|
|
@@ -810,8 +810,8 @@ export default {
|
|
|
EdbInfoId:i.Id
|
|
|
}
|
|
|
})
|
|
|
- //BaseEdbInfoId取当前图表中的Id 不取form里的
|
|
|
- const BaseEdbInfoId = this.multipleChartData.ChartInfo.EdbInfoId
|
|
|
+ //BaseEdbInfoId优先取当前图表内的EdbInfoId,若没有值取表单内的
|
|
|
+ const BaseEdbInfoId = this.multipleChartData.ChartInfo.EdbInfoId||IndTarget
|
|
|
const SeriesIds = this.$refs.multipleIndForm.factorList.map(i=>i.SeriesId)
|
|
|
const LegendConfig = YDataList.map(i=>{
|
|
|
return {
|