From 189050c3edd061ef82d1a81bfcc1e0c28ae4a5ce Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Wed, 19 May 2021 13:54:05 +0800 Subject: [PATCH] no message --- pages/process/index/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/process/index/index.js b/pages/process/index/index.js index 3fa5970..65b9c08 100644 --- a/pages/process/index/index.js +++ b/pages/process/index/index.js @@ -92,7 +92,7 @@ Component({ }, methods: { onRestart: function () { - this.fetchStatisticsInfo(this.data.vdate) + this.fetchStatisticsInfo() }, onEvent: function (message) { if (message.what == 888) { @@ -125,7 +125,7 @@ Component({ wx.navigateTo({ url: `/pages/process/outside-list/index` }) } }, - fetchStatisticsInfo: function(vdate, loading){ + fetchStatisticsInfo: function(loading){ getStatisticsInfo(this.data.form).then(result => { if(Number(result.data.priceOrderNum) > 0){ this.data.tabList[0].badge = Number(result.data.priceOrderNum) @@ -197,7 +197,7 @@ Component({ this.data.form.endTime = util.formatDate(end, 'Y-M-D') + ' 00:00:00' this.setData({ show: false, vdateString }) this.trigEvent(9) - this.fetchStatisticsInfo([start.getTime(), end.getTime()]) + this.fetchStatisticsInfo() }, toAuths: function(){ wx.navigateTo({ url: '/pages/htmls/auths/index' }) @@ -217,7 +217,7 @@ Component({ event.emit('EventMessage', { what: 999, desc: 'changeFactory' }) this.setData({ visible: false, factoryId: item.id }) this.trigEvent(9) - this.fetchStatisticsInfo(this.data.vdate, true) + this.fetchStatisticsInfo(true) }, trigEvent: function(zIndex){ setTimeout(() => {