|
@@ -233,6 +233,7 @@ export default {
|
|
|
that.API.requestData({
|
|
|
method: "GET",
|
|
|
subUrl: "leaderboard/totalPowerCapacityTopList",
|
|
|
+ showLoading: true,
|
|
|
data: {
|
|
|
wpIps: that.wpId.length ? that.wpId.toString() : that.wpIps,
|
|
|
isAsc: that.isAsc,
|
|
@@ -249,6 +250,7 @@ export default {
|
|
|
res.data.forEach((ele) => {
|
|
|
ele.beginDate = new Date(ele.beginDate).formatDate("yyyy-MM-dd");
|
|
|
ele.endDate = new Date(ele.beginDate).formatDate("yyyy-MM-dd");
|
|
|
+ ele.speed = ele.speed.toFixed(2);
|
|
|
});
|
|
|
res.data.sort((a, b) => {
|
|
|
return b.power - a.power;
|