|
@@ -10,6 +10,7 @@ import apiCrossVarietyChart from '@/api/crossVarietyChart'
|
|
|
import apiMyETAChart from '@/api/myETA'
|
|
|
import apiDataEDB from '@/api/dataEDB'
|
|
|
import apiSheet from '@/api/sheet'
|
|
|
+import apiIntervalAnalysis from '@/api/intervalAnalysis'
|
|
|
import { useRoute, useRouter } from 'vue-router'
|
|
|
import {useChartRender} from '@/hooks/chart/render'
|
|
|
import {yearSelectOpt,sameOptionType} from '@/hooks/chart/config'
|
|
@@ -141,7 +142,7 @@ async function getChartInfo(){
|
|
|
temEndTime.value=chartState.endTime.split('-')
|
|
|
}
|
|
|
//仅ETA图库图表需要初始化上下限
|
|
|
- if(res.Data.ChartInfo.Source===1&&![7,10,11].includes(res.Data.ChartInfo.ChartType)){
|
|
|
+ if(res.Data.ChartInfo.Source===1&&![7,10,11,12].includes(res.Data.ChartInfo.ChartType)){
|
|
|
isUseSelfLimit.value = true
|
|
|
setLimitData(res.Data)
|
|
|
}else{
|
|
@@ -562,6 +563,8 @@ async function handleChartRefresh(){
|
|
|
res=await apiCrossVarietyChart.refreshChart({ ChartInfoId })
|
|
|
}else if(Source===11){
|
|
|
res=await apiSheet.sheetRefresh({ChartInfoId})
|
|
|
+ }else if(Source===12){
|
|
|
+ res=await apiIntervalAnalysis.chartRefresh({ChartInfoId})
|
|
|
}
|
|
|
if(res.Ret!==200)return
|
|
|
showToast('刷新成功')
|
|
@@ -801,7 +804,7 @@ const isShowAddToMyETADialog=ref(false)
|
|
|
>{{chartState.startTime?chartState.startTime+'~'+(chartState.endTime?chartState.endTime:'至今'):'请选择时间段'}}</span>
|
|
|
</div>
|
|
|
<div class="right-action-box">
|
|
|
- <div class="item" @click="handleShowAxisLimitOpt" v-if="[1,2,5,10].includes(chartInfo.Source)&&checkAuthBtn(myETABtn.myChart_editLimit)">
|
|
|
+ <div class="item" @click="handleShowAxisLimitOpt" v-if="[1,2,5,10,12].includes(chartInfo.Source)&&checkAuthBtn(myETABtn.myChart_editLimit)">
|
|
|
<img src="@/assets/imgs/myETA/icon_limit2.png" alt="">
|
|
|
<span>上下限设置</span>
|
|
|
</div>
|