|
@@ -170,7 +170,7 @@ const getChartInfo=async (type)=>{
|
|
|
// 设置highchart配置 ChartType: 1曲线图 2季节图:季节图中公历和农历数据结构不同
|
|
|
if(res.data.ChartInfo.ChartType===1){
|
|
|
if(type=='init'){
|
|
|
- dateType.value=res.data.ChartInfo.DateType||3
|
|
|
+ dateType.value=res.data.ChartInfo.DateType
|
|
|
startDate.value=res.data.ChartInfo.StartDate||''
|
|
|
endDate.value=res.data.ChartInfo.EndDate||''
|
|
|
calendarType.value=res.data.ChartInfo.Calendar||'公历'
|
|
@@ -178,7 +178,7 @@ const getChartInfo=async (type)=>{
|
|
|
setSplineOpt(res.data.EdbInfoList)
|
|
|
}else{
|
|
|
if(type=='init'){
|
|
|
- dateType.value=res.data.ChartInfo.DateType||3
|
|
|
+ dateType.value=res.data.ChartInfo.DateType
|
|
|
startDate.value=res.data.ChartInfo.SeasonStartDate||''
|
|
|
endDate.value=res.data.ChartInfo.SeasonEndDate||''
|
|
|
calendarType.value=res.data.ChartInfo.Calendar||'公历'
|