Procházet zdrojové kódy

区间分析-我的图库中另存为兼容

jwyu před 8 měsíci
rodič
revize
e89a3863d2

+ 2 - 2
src/views/dataEntry_manage/components/SaveChartOther.vue

@@ -79,7 +79,7 @@ export default {
   },
   computed:{
     isRelevanceChart(){
-      return ['/chartrelevance'].includes(this.$route.path)||[3,4,'interval_analysis'].includes(this.source)
+      return ['/chartrelevance'].includes(this.$route.path)||[3,4,12,'interval_analysis'].includes(this.source)
     }
   },
   data() {
@@ -187,7 +187,7 @@ export default {
         res=await statisticFeatureInterface.saveOtherChart(params)
       }else if([10,'cross_variety'].includes(this.source)) { //跨品种分析
         res = await crossVarietyInterface.saveOtherChart(params);
-      }else if(['interval_analysis'].includes(this.source)){//区间分析
+      }else if([12,'interval_analysis'].includes(this.source)){//区间分析
         res=await apiIntervalAnalysis.chartSaveOther(params)
       }else{
         res=await dataBaseInterface.saveChartOther(params)