diff --git a/src/views/data/guildStatisticsData.vue b/src/views/data/guildStatisticsData.vue
index a1e99bc..7f71c86 100644
--- a/src/views/data/guildStatisticsData.vue
+++ b/src/views/data/guildStatisticsData.vue
@@ -188,7 +188,7 @@
v-if="detailsIsShow"
>
- {{ scope.row.guildGoldFlow / scope.row.lastGuildGoldFlow }}
+ {{ formatPercentage(scope.row.guildGoldFlow / scope.row.lastGuildGoldFlow) }}%
@@ -271,6 +271,9 @@ export default {
this.tableDataIn = JSON.parse(res);
this.detailsDialog = true;
},
+ formatPercentage(value) {
+ return parseFloat((value * 100).toFixed(2));
+ },
// 分页导航
handleSizeChange() {
this.getData();
diff --git a/src/views/data/newOverview.vue b/src/views/data/newOverview.vue
index ece4736..2cac684 100644
--- a/src/views/data/newOverview.vue
+++ b/src/views/data/newOverview.vue
@@ -93,7 +93,11 @@
>
-
+
+
+ {{ formatPercentage(scope.row.ratio) }}%
+
+
@@ -171,6 +175,9 @@ export default {
(this.tableDataIn = JSON.parse(res));
this.detailsDialog = true;
},
+ formatPercentage(value) {
+ return parseFloat((value * 100).toFixed(2));
+ },
// 分页导航
handleSizeChange() {
this.getData();
@@ -226,4 +233,4 @@ export default {
margin: -25px 0 20px 0px;
}
}
-
+
\ No newline at end of file
diff --git a/src/views/data/overviewActiveStatistics.vue b/src/views/data/overviewActiveStatistics.vue
index 41e4b0f..71c8ca5 100644
--- a/src/views/data/overviewActiveStatistics.vue
+++ b/src/views/data/overviewActiveStatistics.vue
@@ -17,7 +17,7 @@
type="text"
size="small"
>
- {{ scope.row.arCount }}
+ {{ scope.row.totalCount }}
@@ -104,7 +104,11 @@
>
-
+
+
+ {{ formatPercentage(scope.row.ratio) }}%
+
+
@@ -182,6 +186,9 @@ export default {
(this.tableDataIn = JSON.parse(res));
this.detailsDialog = true;
},
+ formatPercentage(value) {
+ return parseFloat((value * 100).toFixed(2));
+ },
// 分页导航
handleSizeChange() {
this.getData();