From b87b1dbbb0a961245928beabbc1a38818882c6c6 Mon Sep 17 00:00:00 2001 From: liyuetong Date: Tue, 7 Dec 2021 17:08:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=82=E5=86=A0=E6=95=B0=E6=8D=AE=EF=BC=8C?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=9F=A5=E5=BD=93=E6=9C=88=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=EF=BC=8C=E6=9C=AC=E6=9C=88=E6=8C=89=E9=92=AE=E4=B8=BA=E9=80=89?= =?UTF-8?q?=E4=B8=AD=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/laurelClub/LaurelData.vue | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/views/ebiz/laurelClub/LaurelData.vue b/src/views/ebiz/laurelClub/LaurelData.vue index 14a26f5e0..34929a81a 100644 --- a/src/views/ebiz/laurelClub/LaurelData.vue +++ b/src/views/ebiz/laurelClub/LaurelData.vue @@ -512,15 +512,16 @@ export default { } }, created() { - // let date = new Date() - // let month = date.getMonth() + 1 - // if (month <= 9) { - // month = '0' + month - // } + let date = new Date() + let month = date.getMonth() + 1 + if (month <= 9) { + month = '0' + month + } //默认展示当天数据 // this.postDate = date.getFullYear() + '-' + month + '-' + date.getDate() - this.postDate = beforeDate.getLastMonth() - this.filterDate = beforeDate.getLastMonth() + this.postDate = date.getFullYear() + '-' + month + // this.postDate = beforeDate.getLastMonth() + this.filterDate = '' this.initDataPersonal() this.getBranchByUserFunc() //团队数据是否有权限 window.addEventListener('scroll', this.handleScroll)