|
@@ -6,6 +6,7 @@ import apiFuture from '@/api/futureChart'
|
|
|
import apiLineEquationChart from '@/api/lineEquationChart'
|
|
|
import apiStatisticFeatureChart from '@/api/statisticFeatureChart'
|
|
|
import apiCrossVarietyChart from '@/api/crossVarietyChart'
|
|
|
+import apiIntervalAnalysis from '@/api/intervalAnalysis'
|
|
|
import { showToast } from 'vant'
|
|
|
import { useWindowSize } from '@vueuse/core'
|
|
|
|
|
@@ -54,6 +55,8 @@ async function getOpts(){
|
|
|
res=await apiLineEquationChart.chartClassifyList({})
|
|
|
}else if([7,8,9].includes(props.source)){
|
|
|
res=await apiStatisticFeatureChart.chartClassifyList({})
|
|
|
+ }else if(props.source==12){
|
|
|
+ res=await apiIntervalAnalysis.classifyListNoChart()
|
|
|
}else{
|
|
|
res=await apiETAChart.ETAChartClassifyList({})
|
|
|
}
|
|
@@ -115,6 +118,8 @@ async function handleConfirmSave(){
|
|
|
res=await apiStatisticFeatureChart.chartSaveOther(params)
|
|
|
}else if(props.source===10){
|
|
|
res=await apiCrossVarietyChart.saveOtherChart(params)
|
|
|
+ }else if(props.source===12){
|
|
|
+ res=await apiIntervalAnalysis.chartSaveOther(params)
|
|
|
}else{
|
|
|
res=await apiETAChart.ETAChartSaveOther(params)
|
|
|
}
|
|
@@ -138,7 +143,7 @@ async function handleConfirmSave(){
|
|
|
<div class="title">另存为</div>
|
|
|
</div>
|
|
|
<div class="content">
|
|
|
- <template v-if="[2,3,5,6,7,8,9].includes(source)">
|
|
|
+ <template v-if="[2,3,5,6,7,8,9,12].includes(source)">
|
|
|
<ul class="list-box">
|
|
|
<li
|
|
|
:class="['item',activeIds==item.ChartClassifyId?'active':'']"
|