|
@ -219,8 +219,10 @@ export default { |
|
|
let _date; |
|
|
let _date; |
|
|
if(timeTabIdx == 0)_date = curTime.date || '' |
|
|
if(timeTabIdx == 0)_date = curTime.date || '' |
|
|
// if(timeTabIdx == 1)_date = util.formatDate({}).substr(0,10); |
|
|
// if(timeTabIdx == 1)_date = util.formatDate({}).substr(0,10); |
|
|
if(timeTabIdx == 2)_date = `${curTime.month}-01` || '' // 统一格式 |
|
|
|
|
|
if(timeTabIdx == 3)_date = `${curTime.year}-01-01` || ''// 统一格式 |
|
|
|
|
|
|
|
|
// if(timeTabIdx == 2)_date = `${curTime.month}-01` || '' // 统一格式 |
|
|
|
|
|
if(timeTabIdx == 2)_date = curTime.month || '' // 统一格式 |
|
|
|
|
|
// if(timeTabIdx == 3)_date = `${curTime.year}-01-01` || ''// 统一格式 |
|
|
|
|
|
if(timeTabIdx == 3)_date = curTime.year || ''// 统一格式 |
|
|
|
|
|
|
|
|
let _type = this.getCountType({ tab_id: tabID, time_tab_idx: timeTabIdx }); |
|
|
let _type = this.getCountType({ tab_id: tabID, time_tab_idx: timeTabIdx }); |
|
|
|
|
|
|
|
@ -337,8 +339,8 @@ export default { |
|
|
'filter[stadium_id:eq]': stadium_id, |
|
|
'filter[stadium_id:eq]': stadium_id, |
|
|
'filter[count_type:eq]': count_type, |
|
|
'filter[count_type:eq]': count_type, |
|
|
'filter[time_str:eq]': time_str, |
|
|
'filter[time_str:eq]': time_str, |
|
|
'filter[time_str:egt]': time_str_max, |
|
|
|
|
|
'filter[time_str:elt]': time_str_min, |
|
|
|
|
|
|
|
|
'filter[time_str:egt]': time_str_min, |
|
|
|
|
|
'filter[time_str:elt]': time_str_max, |
|
|
}, |
|
|
}, |
|
|
failMsg: '加载失败!' |
|
|
failMsg: '加载失败!' |
|
|
}) |
|
|
}) |
|
|