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> -