From f05187791c3b0bd2cdeb30e94e56f9ea7dcad9c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B2=E6=A0=91=E9=80=9A?= <1976590620@qq.com> Date: Wed, 22 Jul 2020 11:00:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/points/points-overview.vue | 7 +++++-- src/views/modules/points/points-statistics.vue | 7 ++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/modules/points/points-overview.vue b/src/views/modules/points/points-overview.vue index 66132af..019628c 100644 --- a/src/views/modules/points/points-overview.vue +++ b/src/views/modules/points/points-overview.vue @@ -76,6 +76,9 @@ export default { ] }) }, + created () { + this.getPointsOverview() + }, methods: { getPointsOverview () { if (this.time === null) { @@ -92,8 +95,8 @@ export default { }, series: [{ data: [ - { value: (res.data.allPoints - res.data.residuePoints), name: '' }, - { value: res.data.residuePoints, name: '剩余积分' } + { value: (res.data.allPoints - res.data.residuePoints), name: '剩余积分' }, + { value: res.data.residuePoints, name: '' } ] }] }) diff --git a/src/views/modules/points/points-statistics.vue b/src/views/modules/points/points-statistics.vue index 7d1cd24..0b57c2b 100644 --- a/src/views/modules/points/points-statistics.vue +++ b/src/views/modules/points/points-statistics.vue @@ -6,7 +6,8 @@ :model="dataForm" @keyup.enter.native="getDataList()"> + placeholder="积分类别" + clearable> -