|
|
@ -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: '' } |
|
|
|
] |
|
|
|
}] |
|
|
|
}) |
|
|
|