hbchen 1 anno fa
parent
commit
67e9edfa2c
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. 2 3
      src/views/hzyb/chart/Detail.vue

+ 2 - 3
src/views/hzyb/chart/Detail.vue

@@ -376,10 +376,8 @@ const getChartInfo=async (type)=>{
                 endDate.value=res.data.ChartInfo.SeasonEndDate||''
                 calendarType.value=res.data.ChartInfo.Calendar||'公历'
                 setExtremumDate(resData.value.EdbInfoList||[])
-                
-                setSeasonOpt(res.data.EdbInfoList[0])
             }
-            
+            setSeasonOpt(res.data.EdbInfoList[0])    
         }
         
         //奇怪柱形图依赖数据
@@ -2139,6 +2137,7 @@ const setChartParams = () => {
             params={
                 ChartInfoId: resData.value.ChartInfo.ChartInfoId || 0,
                 ChartEdbInfoList: arr,
+                DateType: dateType.value,
                 Calendar: calendarType.value,
                 StartDate:startDate.value,
                 EndDate: endDate.value,