Browse Source

myeta编辑图表兼容

cxmo 9 months ago
parent
commit
1f9fdf54b9
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/views/mychart_manage/components/chartDetailDia.vue

+ 7 - 1
src/views/mychart_manage/components/chartDetailDia.vue

@@ -1317,6 +1317,7 @@ export default {
     editChartHandle() {
       
       let path = '';
+      let type = '';
       if(this.chartInfo.Source === 1){
         path='/editchart'
       }else if([2,5].includes(this.chartInfo.Source)){
@@ -1324,6 +1325,11 @@ export default {
       }else if([3,4].includes(this.chartInfo.Source)){
         //path='/relevancechartEditor'
         path='/relevancechartEditorV2'
+        if(this.chartInfo.Source===3){
+            type = this.relevanceChartData.CorrelationChartInfo&&this.relevanceChartData.CorrelationChartInfo.AnalysisMode||0
+        }else{//滚动相关性也是单因子
+            type = 0
+        }
       }else if(this.chartInfo.Source===6){
         path='/fittingEquationChartEditor'
       }else if([7,8,9].includes(this.chartInfo.Source)) {
@@ -1338,7 +1344,7 @@ export default {
         query: {
           code: this.chartInfo.UniqueCode,
           from: 'mychart',
-          type:this.relevanceChartData.CorrelationChartInfo.AnalysisMode
+          type,
         }
       })
       window.open(href,'_blank');