From 80684456b9a29c3470076251d7172cf7fa739854 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Wed, 16 Oct 2024 13:59:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9B=E7=8E=87=E5=85=A5=E5=8F=82=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../statistics/modules/HotlineRates/HotlineRates.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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)