diff --git a/pages/statistics/modules/HotlineRates/HotlineRates.js b/pages/statistics/modules/HotlineRates/HotlineRates.js index 0857c68..7bc0a0e 100644 --- a/pages/statistics/modules/HotlineRates/HotlineRates.js +++ b/pages/statistics/modules/HotlineRates/HotlineRates.js @@ -83,15 +83,16 @@ Component({ } }, getEventList(deptFlag) { - - - event12345Rates({ + let parm = { startDate: this.data.day.toString() + ' ' + '00:00:00', endDate: this.data.day2.toString() + ' ' + '23:59:59', usableFlag: true, - // deptFlag: deptFlag, - recountFlag:1 - }).then(res => { + } + + if(this.data.curVal == '1'){ + parm.recountFlag=1 + } + event12345Rates(parm).then(res => { console.log('++++++++++++',res.data) // res.data.list.forEach(item => { // item.reportTime = this.formatTime(item.reportTime)