diff --git a/back/src/views/modules/abilityStatistics/index.vue b/back/src/views/modules/abilityStatistics/index.vue
index 5ba4e2af..98610a23 100644
--- a/back/src/views/modules/abilityStatistics/index.vue
+++ b/back/src/views/modules/abilityStatistics/index.vue
@@ -180,7 +180,7 @@
-
+
-
+
@@ -517,33 +517,7 @@ export default {
}else{
const result = res.data.data
- for (let i = 0; i < result.length; i++) {
- if (!result[i].hasOwnProperty('yyzy')) {
- result[i].yyzy = 0
- }
- if (!result[i].hasOwnProperty('kfzj')) {
- result[i].kfzj = 0
- }
- if (!result[i].hasOwnProperty('znsf')) {
- result[i].znsf = 0
- }
- if (!result[i].hasOwnProperty('tcfw')) {
- result[i].tcfw = 0
- }
- if (!result[i].hasOwnProperty('ywzj')) {
- result[i].ywzj = 0
- }
- if (!result[i].hasOwnProperty('hys')) {
- result[i].hys = 0
- }
- result[i].zj =
- parseInt(result[i].yyzy) +
- parseInt(result[i].kfzj) +
- parseInt(result[i].znsf) +
- parseInt(result[i].ywzj) +
- parseInt(result[i].tcfw) +
- parseInt(result[i].hys)
- }
+
this.tableData = res.data.data
this.tableDataClone = res.data.data
this.total = res.data.data.total
@@ -593,33 +567,7 @@ export default {
}else{
const result = res.data.data
- for (let i = 0; i < result.length; i++) {
- if (!result[i].hasOwnProperty('yyzy')) {
- result[i].yyzy = 0
- }
- if (!result[i].hasOwnProperty('kfzj')) {
- result[i].kfzj = 0
- }
- if (!result[i].hasOwnProperty('znsf')) {
- result[i].znsf = 0
- }
- if (!result[i].hasOwnProperty('tcfw')) {
- result[i].tcfw = 0
- }
- if (!result[i].hasOwnProperty('ywzj')) {
- result[i].ywzj = 0
- }
- if (!result[i].hasOwnProperty('hys')) {
- result[i].hys = 0
- }
- result[i].zj =
- parseInt(result[i].yyzy) +
- parseInt(result[i].kfzj) +
- parseInt(result[i].znsf) +
- parseInt(result[i].ywzj) +
- parseInt(result[i].tcfw) +
- parseInt(result[i].hys)
- }
+
this.tableData = res.data.data
this.tableDataClone = res.data.data
this.total = res.data.data.total