From ed6ba5d4442a37ad250a922c8118b80b22485111 Mon Sep 17 00:00:00 2001 From: xiongchengqiang Date: Fri, 18 Dec 2020 11:32:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/kpi/assessment/goals/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/kpi/assessment/goals/index.vue b/src/views/kpi/assessment/goals/index.vue index 4635209..e34adbb 100644 --- a/src/views/kpi/assessment/goals/index.vue +++ b/src/views/kpi/assessment/goals/index.vue @@ -393,7 +393,7 @@ export default { let weight = 0 let maxWeight = 0 const nullArray = arr.map(i => { - i.detailDtos.map(j => { + this.handleFilter(i.detailDtos).map(j => { if (i.weight === null) maxWeight += j.checkWeight weight += j.checkWeight }) @@ -407,7 +407,7 @@ export default { } else { for (let i in arr) { let num = 0 - arr[i].detailDtos.map(l => { + this.handleFilter(arr[i].detailDtos).map(l => { num += l.checkWeight }) if (num.toFixed(2) !== arr[i].weight.toFixed(2)) { @@ -470,7 +470,7 @@ export default { let weight = 0 let maxWeight = 0 const nullArray = arr.map(i => { - i.detailDtos.map(j => { + this.handleFilter(i.detailDtos).map(j => { if (i.weight === null) maxWeight += j.checkWeight weight += j.checkWeight }) @@ -484,7 +484,7 @@ export default { } else { for (let i in arr) { let num = 0 - arr[i].detailDtos.map(l => { + this.handleFilter(arr[i].detailDtos).map(l => { num += l.checkWeight }) if (num.toFixed(2) !== arr[i].weight.toFixed(2)) {